2024-06-04 12:03:43 +00:00
|
|
|
import defaultTheme from 'tailwindcss/defaultTheme';
|
|
|
|
import typographyPlugin from '@tailwindcss/typography';
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
content: ['./src/**/*.{astro,html,js,jsx,json,md,mdx,svelte,ts,tsx,vue}'],
|
|
|
|
theme: {
|
|
|
|
extend: {
|
|
|
|
colors: {
|
|
|
|
primary: 'var(--aw-color-primary)',
|
|
|
|
secondary: 'var(--aw-color-secondary)',
|
|
|
|
accent: 'var(--aw-color-accent)',
|
|
|
|
default: 'var(--aw-color-text-default)',
|
|
|
|
muted: 'var(--aw-color-text-muted)',
|
|
|
|
},
|
|
|
|
fontFamily: {
|
|
|
|
sans: ['var(--aw-font-sans, ui-sans-serif)', ...defaultTheme.fontFamily.sans],
|
|
|
|
serif: ['var(--aw-font-serif, ui-serif)', ...defaultTheme.fontFamily.serif],
|
|
|
|
heading: ['var(--aw-font-heading, ui-sans-serif)', ...defaultTheme.fontFamily.sans],
|
|
|
|
},
|
2024-06-06 14:32:16 +00:00
|
|
|
letterSpacing: {
|
|
|
|
widest: '.25em',
|
|
|
|
custom: '.002em',
|
|
|
|
xs: '.0005em',
|
|
|
|
},
|
|
|
|
|
2024-06-04 12:03:43 +00:00
|
|
|
},
|
|
|
|
},
|
|
|
|
plugins: [typographyPlugin],
|
|
|
|
darkMode: 'class',
|
|
|
|
};
|
2024-06-06 14:32:16 +00:00
|
|
|
|