-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.cjs
More file actions
44 lines (43 loc) · 848 Bytes
/
tailwind.config.cjs
File metadata and controls
44 lines (43 loc) · 848 Bytes
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
const { fontFamily, screens } = require('tailwindcss/defaultTheme');
module.exports = {
content: ['./src/**/*.{html,js,svelte,ts}'],
theme: {
extends: {},
fontFamily: {
// inter: ['inter', 'sans-serif'],
poppins: ['poppins', 'serif'],
'fira-mono': ['fira-mono']
}
},
darkMode: ['class', '[data-theme="dark"]'],
theme: {
// colors: {},
screens: {
xs: '475px',
...screens
},
extend: {
fontFamily: {
sans: ['poppins', ...fontFamily.sans]
}
}
},
plugins: [require('@tailwindcss/typography'), require('daisyui')],
// daisyUI config (optional)
daisyui: {
themes: [
{
mytheme: {
primary: '#661AE6',
secondary: '#D926AA',
accent: '#1FB2A5',
neutral: '#191D24',
info: '#3ABFF8',
success: '#36D399',
warning: '#FBBD23',
error: '#F87272'
}
}
]
}
};