-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtailwind.config.js
82 lines (76 loc) · 2.58 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 colors = require('tailwindcss/colors')
module.exports = {
purge: {
enabled: process.env.HUGO_ENVIRONMENT === "production",
content: ["./layouts/**/*.html", "./content/**/*.md", "./content/**/*.html"],
options: {
safelist: [
/data-theme$/,
]
},
},
darkMode: false, // or 'media' or 'class'
theme: {
fontFamily: {
'sans': "'IBM Plex Sans', sans-serif",
},
colors: {
primary: 'var(--color-primary)',
secondary: 'var(--color-secondary)',
neutral: colors.gray,
black: colors.black,
white: colors.white,
gray: colors.coolGray,
red: colors.red,
yellow: colors.amber,
blue: colors.blue
},
extend: {
spacing: {
ssection: '4.5rem',
},
typography: {
css: {
fontFamily: "'IBM Plex Sans', sans-serif",
}
}
},
},
variants: {
extend: {},
},
plugins: [
require('@tailwindcss/typography'),
require('tailwindcss-logical'),
require('daisyui'),
],
daisyui: {
logs: false,
themes: [
{
"mobi": {
'primary': '#4CA3E1', /* Primary color */
'primary-focus': '#3D65CB', /* Primary color - focused */
'primary-content': '#ffffff', /* Foreground content color to use on primary color */
'secondary': '#3D65CB', /* Secondary color */
'secondary-focus': '#111E90', /* Secondary color - focused */
'secondary-content': '#ffffff', /* Foreground content color to use on secondary color */
'accent': '#37cdbe', /* Accent color */
'accent-focus': '#2aa79b', /* Accent color - focused */
'accent-content': '#ffffff', /* Foreground content color to use on accent color */
'neutral': '#898989', /* Neutral color */
'neutral-focus': '#141414', /* Neutral color - focused */
'neutral-content': '#ffffff', /* Foreground content color to use on neutral color */
'base-100': '#ffffff', /* Base color of page, used for blank backgrounds */
'base-200': '#f9fafb', /* Base color, a little darker */
'base-300': '#d1d5db', /* Base color, even more darker */
'base-content': '#1f2937', /* Foreground content color to use on base color */
'info': '#2094f3', /* Info */
'success': '#009485', /* Success */
'warning': '#ff9900', /* Warning */
'error': '#ff5724', /* Error */
}
}
]
}
}