Skip to content

Commit 72e972f

Browse files
committed
Add flowbite-svelte stuff to be removed later
1 parent a032636 commit 72e972f

1 file changed

Lines changed: 16 additions & 4 deletions

File tree

tailwind.config.js

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ import { fontFamily } from 'tailwindcss/defaultTheme';
22

33
/** @type {import('tailwindcss').Config} */
44
const config = {
5-
darkMode: ['class'],
6-
content: ['./src/**/*.{html,js,svelte,ts}'],
5+
mode: 'jit',
6+
darkMode: 'class',
7+
content: ['./src/**/*.{html,js,svelte,ts}', './node_modules/flowbite-svelte/**/*.{html,js,svelte,ts}'],
78
safelist: ['dark'],
89
theme: {
910
container: {
@@ -22,7 +23,17 @@ const config = {
2223
foreground: 'hsl(var(--foreground) / <alpha-value>)',
2324
primary: {
2425
DEFAULT: 'hsl(var(--primary) / <alpha-value>)',
25-
foreground: 'hsl(var(--primary-foreground) / <alpha-value>)'
26+
foreground: 'hsl(var(--primary-foreground) / <alpha-value>)',
27+
50: '#FFF5F2',
28+
100: '#FFF1EE',
29+
200: '#FFE4DE',
30+
300: '#FFD5CC',
31+
400: '#FFBCAD',
32+
500: '#FE795D',
33+
600: '#EF562F',
34+
700: '#EB4F27',
35+
800: '#CC4522',
36+
900: '#A5371B'
2637
},
2738
secondary: {
2839
DEFAULT: 'hsl(var(--secondary) / <alpha-value>)',
@@ -73,7 +84,8 @@ const config = {
7384
}
7485
}
7586
}
76-
}
87+
},
88+
plugins: [require('flowbite/plugin')]
7789
};
7890

7991
export default config;

0 commit comments

Comments
 (0)