-
Notifications
You must be signed in to change notification settings - Fork 3
/
tailwind.config.js
82 lines (80 loc) · 2.19 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
const darkPrimary = '#2A303C';
const darkSecondary = '#A6ADBB';
const lightPrimary = '#F1F1F1';
const lightSecondary = '#1F2937';
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.{html,ts}'],
theme: {
extend: {},
},
plugins: [require('@tailwindcss/typography'), require("daisyui")],
daisyui: {
themes: [
{
dark: {
...require('daisyui/src/colors/themes')['[data-theme=dark]'],
neutral: '#191C24',
'.hover-color': {
'background-color': darkSecondary,
'color': darkPrimary,
},
'.theme': {
'background-color': darkPrimary,
'color': darkSecondary
},
'::placeholder': {
'color': darkPrimary
},
'.btn-active': {
'background-color': `${darkSecondary} !important`,
'color': `${darkPrimary} !important`,
'border': 'none !important'
},
'.radio': {
'background-color': '#252B36',
},
'.code-snippet': {
'background-color': '#191C24'
},
'.hover-text-color': {
'color': '#D0D0D0'
}
},
light: {
...require('daisyui/src/colors/themes')['[data-theme=light]'],
neutral: '#D8D8D8',
"base-100": lightPrimary,
'.hover-color': {
'background-color': lightSecondary,
'color': lightPrimary
},
'.theme': {
'background-color': lightPrimary,
'color': lightSecondary
},
'::placeholder': {
'color': lightPrimary
},
'.btn-active': {
'background-color': `${lightSecondary} !important`,
'color': `${lightPrimary} !important`,
'border': 'none !important'
},
'.radio': {
'background-color': '#FFFFFF'
},
'.code-snippet': {
'background-color': '#D8D8D8'
},
'.hover-text-color': {
'color': '#4B535E'
},
'button': {
'color': lightSecondary
}
}
}
]
}
};