mirror of
https://github.com/ArthurDanjou/website.git
synced 2026-01-14 20:19:35 +01:00
19 lines
567 B
TypeScript
19 lines
567 B
TypeScript
import type { Config } from 'tailwindcss'
|
|
import typography from '@tailwindcss/typography'
|
|
import { ColorsTheme } from './types'
|
|
|
|
export default {
|
|
content: [
|
|
'content/**/*.md',
|
|
],
|
|
safelist: [
|
|
...Object.values(ColorsTheme).map(color => `prose-${color}`),
|
|
...Object.values(ColorsTheme).map(color => `border-${color}-500`),
|
|
...Object.values(ColorsTheme).map(color => `hover:border-${color}-500`),
|
|
...Object.values(ColorsTheme).map(color => `dark:hover:border-${color}-500`),
|
|
],
|
|
plugins: [
|
|
typography(),
|
|
],
|
|
} satisfies Partial<Config>
|