-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.cjs
More file actions
80 lines (79 loc) · 1.85 KB
/
tailwind.config.cjs
File metadata and controls
80 lines (79 loc) · 1.85 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
// tailwind.config.cjs
const flowbitePlugin = require('flowbite/plugin');
module.exports = {
content: [
"./index.html",
"./src/**/*.{html,js,svelte,ts,jsx,tsx}",
"./pages/**/*.{html,js,svelte,ts,jsx,tsx}",
"./node_modules/flowbite-svelte/**/*.{html,js,svelte,ts}" // Add this line for Flowbite-Svelte
],
darkMode: 'selector', // Enable dark mode via class
theme: {
extend: {
spacing: {
'99': '22rem',
'98': '25rem',
'100': '28rem',
'110': '28.5rem',
'111': '28.9rem',
'120': '30rem',
'122': '31rem',
'128': '32rem',
'130': '34rem',
'134': '35.6rem',
'135': '39.4rem',
'160': '40rem',
'168': '44rem',
'165': '43rem',
'170': '43.5rem',
'192': '48rem',
'224': '56rem',
'256': '64rem',
'260': '75rem',
'300': '94rem',
'301': '97.5rem'
},
width: {
'128': '32rem',
'160': '40rem',
'192': '48rem',
'224': '56rem',
'256': '64rem',
},
height: {
'128': '32rem',
'160': '40rem',
'170': '45rem',
'192': '48rem',
'224': '56rem',
'256': '64rem',
},
fontSize: {
'10xl': '10rem',
'11xl': '11rem',
'12xl': '20rem',
'15xl': '40rem',
'20xl': '56rem',
'22xl': '64rem',
},
colors: {
// flowbite-svelte primary color palette
primary: {
50: '#FFF5F2',
100: '#FFF1EE',
200: '#FFE4DE',
300: '#FFD5CC',
400: '#FFBCAD',
500: '#FE795D',
600: '#EF562F',
700: '#EB4F27',
800: '#CC4522',
900: '#A5371B'
}
},
},
},
plugins: [
flowbitePlugin // Add Flowbite plugin to the plugins array
],
};