-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.cjs
76 lines (70 loc) · 1.86 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
64
65
66
67
68
69
70
71
72
73
74
75
76
const daisyui = require('daisyui');
const defaultTheme = require('tailwindcss/defaultTheme');
/** @type {import('tailwindcss').Config} */
const config = {
content: ['src/**/*.{html,js,svelte,ts}'],
darkMode: 'class',
theme: {
extend: {
fontFamily: {
sans: ['roboto', ...defaultTheme.fontFamily.sans]
},
keyframes: {
'gradient-keyframes-x': {
'0%': { 'background-position': 'left' },
'100%': { 'background-position': 'right' }
},
'gradient-keyframes-y': {
'0%': { 'background-position': 'top' },
'100%': { 'background-position': 'bottom' }
}
},
animation: {
'gradient-animation-x':
'gradient-keyframes-x 10s linear infinite alternate',
'gradient-animation-y':
'gradient-keyframes-y 10s linear infinite alternate'
},
backgroundSize: {
auto: 'auto',
cover: 'cover',
contain: 'contain',
'50%': '50%',
16: '4rem'
},
backgroundImage: {
'background-dark': 'url(/bg-dark.jpg)',
'background-light': 'url(/bg-light.jpg)'
},
backgroundSize: {
300: '300%'
}
}
},
daisyui: {
themes: [
{
light: {
...require('daisyui/src/colors/themes')['[data-theme=light]'],
primary: '#0096FF',
secondary: '#FF1E56',
neutral: '#A9FFF7',
accent: '#E3E7AF',
'base-100': '#fff',
"--btn-text-case": "none",
},
dark: {
...require('daisyui/src/colors/themes')['[data-theme=black]'],
primary: '#0096FF',
secondary: '#FF1E56',
neutral: '#A9FFF7',
accent: '#E3E7AF',
'base-100': '#11151C',
"--btn-text-case": "none",
}
}
]
},
plugins: [daisyui]
};
module.exports = config;