-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
75 lines (72 loc) · 1.63 KB
/
tailwind.config.ts
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
import daisyui from 'daisyui';
import typography from '@tailwindcss/typography'
export const themes = [
{
light: {
'primary': '#3479b1',
'secondary': '#bc506c',
'accent': '#2e3343',
'neutral': '#2e3343',
'base-100': '#f5f7f4',
'info': '#acd9ec',
'success': '#176341',
'warning': '#f7c76e',
'error': '#e85463',
},
},
{
dark: {
'primary': '#3479b1',
'secondary': '#bc506c',
'accent': '#f5f7f4',
'neutral': '#f5f7f4',
'base-100': '#1c1f29',
'info': '#acd9ec',
'success': '#176341',
'warning': '#f7c76e',
'error': '#e85463',
},
},
{
black: {
'primary': '#3479b1',
'secondary': '#bc506c',
'accent': '#f5f7f4',
'neutral': '#f5f7ee',
'base-100': '#000000',
'info': '#acd9ec',
'success': '#176341',
'warning': '#f7c76e',
'error': '#e85463',
},
},
]
module.exports = {
content: [],
theme: {
extend: {
typography: {
DEFAULT: {
css: {
'a': {
// 'color': 'hsl(var(--p))',
'text-decoration': 'underline',
'text-underline-offset': '6px',
// 'text-decoration-color': 'hsl(var(--s))',
'text-decoration-color': themes[0].light?.secondary,
},
'.prose h1, .prose h2 a, .prose h3 a, .prose h4 a, .prose h5 a, .prose h6 a': {
'text-decoration': 'none',
// 'color': 'hsl(var(--s))',
},
}
}
}
},
},
plugins: [daisyui, typography],
daisyui: {
logs: false,
themes
}
}