mirror of
https://github.com/hexahigh/080609.git
synced 2025-12-11 19:55:06 +01:00
28 lines
762 B
TypeScript
28 lines
762 B
TypeScript
import type { Config } from 'tailwindcss';
|
|
import flowbitePlugin from 'flowbite/plugin'
|
|
|
|
export default {
|
|
// darkMode: "selector",
|
|
darkMode: ['variant', ['&:where(.dark, .dark *)', '&:where(:global(.dark), :global(.dark) *)']], // Fix for dark mode after upgrade to svelte 5
|
|
content: ['./src/**/*.{html,js,svelte,ts}', './node_modules/flowbite-svelte/**/*.{html,js,svelte,ts}'],
|
|
theme: {
|
|
extend: {
|
|
colors: {
|
|
primary: {
|
|
'50': '#eff6ff',
|
|
'100': '#dbeafe',
|
|
'200': '#bfdbfe',
|
|
'300': '#93c5fd',
|
|
'400': '#60a5fa',
|
|
'500': '#3b82f6',
|
|
'600': '#2563eb',
|
|
'700': '#1d4ed8',
|
|
'800': '#1e40af',
|
|
'900': '#1e3a8a'
|
|
}
|
|
}
|
|
}
|
|
},
|
|
plugins: [require('@tailwindcss/typography'), flowbitePlugin]
|
|
} satisfies Config;
|