-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.cjs
63 lines (60 loc) · 1.28 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
56
57
58
59
60
61
62
63
const { fontFamily } = require('tailwindcss/defaultTheme')
const plugin = require('tailwindcss/plugin')
const themes = require('daisyui/src/theming/themes')
console.log(themes)
const drac = {
cyan: '#8be9fd',
green: '#50fa7b',
orange: '#ffb86c',
pink: '#ff79c6',
purple: '#bd93f9',
red: '#ff5555',
yellow: '#f1fa8c',
}
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./app/**/*.{ts,tsx}'],
theme: {
extend: {
fontFamily: {
display: ["'Poppins'", ...fontFamily.sans],
},
colors: { ...drac },
animation: {
spin: 'spin 0.5s linear infinite',
'spin-fast': 'spin 0.5s linear infinite',
},
gridTemplateColumns: {
'2/3': 'minmax(0,2fr) minmax(0,3fr)',
},
keyframes: {
pulse: {
'50%': {
opacity: '.3',
},
},
},
},
},
plugins: [
require('daisyui'),
require('tailwindcss-hocus'),
plugin(({ addVariant }) => {
addVariant('where', ':where(&)')
}),
],
daisyui: {
logs: false,
themes: [
{
dracula: {
...themes.dracula,
success: drac.green,
error: drac.red,
warning: drac.yellow,
info: drac.cyan,
},
},
],
},
}