-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.js
64 lines (61 loc) 路 1.87 KB
/
tailwind.config.js
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
const content = (process.env.TAILWIND_CONTENT_PATH || '').split(/:/);
console.info(`Using content=${content}.`)
module.exports = {
darkMode: ['class', '[data-theme="dark"]'],
content,
safelist: [
{
// hack to allow also classes used from Django forms definitions
pattern: /Forms__.+/,
},
{
// TODO: till the https://github.com/esnvutbrno/buena-fiesta/issues/188 is fixed
pattern: /(btn-.+)|(badge-.+)/,
variants: ["checked"],
},
],
theme: {
extend: {},
},
plugins: [
require('@tailwindcss/typography'),
require('@tailwindcss/forms')({
strategy: 'class',
}),
require('daisyui'),
],
daisyui: {
themes: [
{
light: {
"primary": "#f43f5e",
"secondary": "#7b3ff4",
"accent": "#FFBC0A",
"neutral": "#3D4451",
"base-100": "#FFFFFF",
"info": "#45c0f5",
"success": "#5df43f",
"warning": "#FBBD23",
"error": "#F87272",
"primary-content": "#FFFFFF",
"secondary-content": "#FFFFFF",
},
},
{
dark: {
"primary": "#f43f5e",
"secondary": "#7b3ff4",
"accent": "#FFBC0A",
"neutral": "#3D4451",
"base-100": "#1A1423",
"info": "#45c0f5",
"success": "#5df43f",
"warning": "#FBBD23",
"error": "#F87272",
"primary-content": "#FFFFFF",
"secondary-content": "#FFFFFF",
},
},
],
},
};