mirror of
https://github.com/Blah-IM/Weblah.git
synced 2025-05-01 00:31:08 +00:00
41 lines
983 B
TypeScript
41 lines
983 B
TypeScript
import type { Config } from 'tailwindcss';
|
|
import colors from 'tailwindcss/colors';
|
|
|
|
export default {
|
|
content: ['./src/**/*.{html,js,svelte,ts}'],
|
|
|
|
darkMode: [
|
|
'variant',
|
|
[
|
|
'@media (prefers-color-scheme: dark) { &:not([data-weblah-color-scheme="light"] *) }',
|
|
'&:is([data-weblah-color-scheme="dark"] *)'
|
|
]
|
|
],
|
|
|
|
theme: {
|
|
extend: {
|
|
colors: {
|
|
accent: colors.blue,
|
|
// Semantic Background
|
|
sb: {
|
|
primary: 'var(--weblah-color-sb-primary)',
|
|
secondary: 'var(--weblah-color-sb-secondary)',
|
|
tertiary: 'var(--weblah-color-sb-tertiary)'
|
|
},
|
|
// Semantic Foreground
|
|
sf: {
|
|
primary: 'var(--weblah-color-sf-primary)',
|
|
secondary: 'var(--weblah-color-sf-secondary)',
|
|
tertiary: 'var(--weblah-color-sf-tertiary)'
|
|
},
|
|
// Semantic Stroke
|
|
ss: {
|
|
primary: 'var(--weblah-color-ss-primary)',
|
|
secondary: 'var(--weblah-color-ss-secondary)'
|
|
}
|
|
}
|
|
}
|
|
},
|
|
|
|
plugins: [require('@tailwindcss/typography')]
|
|
} as Config;
|