-
-
Notifications
You must be signed in to change notification settings - Fork 41
/
tailwind.config.cjs
55 lines (54 loc) · 1.34 KB
/
tailwind.config.cjs
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
const plugin = require('tailwindcss/plugin');
const defaultTheme = require('tailwindcss/defaultTheme');
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}'],
theme: {
extend: {
fontFamily: {
sans: ['Heavitas', ...defaultTheme.fontFamily.sans]
},
colors: {
drg: {
primary: {
50: '#fff5e6',
100: '#ffebcc',
200: '#ffd799',
300: '#ffc466',
400: '#ffb033',
500: '#ff9c00',
600: '#cc7d00',
700: '#995e00',
800: '#663e00',
900: '#331f00'
},
secondary: {
50: '#fffbe6',
100: '#fff6cc',
200: '#ffed99',
300: '#ffe466',
400: '#ffdb33',
500: '#ffd200',
600: '#cca800',
700: '#997e00',
800: '#665400',
900: '#332a00'
}
}
}
}
},
plugins: [
require('daisyui'),
plugin(function ({ addVariant, e }) {
addVariant('not-first', ({ modifySelectors, separator }) => {
modifySelectors(({ className }) => {
return `.${e(`not-first${separator}${className}`)}:not(:first-child)`;
});
});
})
],
daisyui: {
themes: ['dark']
}
};