-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
70 lines (70 loc) · 1.6 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
/** @type {import('tailwindcss').Config} */
// eslint-disable-next-line no-undef
const daisyui = require('daisyui');
export default {
content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}'],
theme: {
extend: {
fontFamily: {
supreme: ['Supreme', 'sans-serif'],
consolas: ['Consolas', 'sans-serif'],
},
keyframes: {
scroll: {
'0%': { transform: 'translateX(0)' },
'100%': {
transform: 'translateX(-100%)',
},
},
},
animation: {
scroll: 'scroll 35s linear infinite',
},
},
colors: {
'my-primary': '#009e66',
// lm => Light Mode
'lm-secondary': '#f5a623',
'lm-tertiary': '#428bca',
'lm-background': '#f8f8f8',
'lm-text': '#333333',
'lm-link': '#0066cc',
// dm => Dark Mode
'dm-secondary': '#d88216',
'dm-tertiary': '#245682',
'dm-background': '#1a1a1a',
'dm-text': '#d4d4d4',
'dm-text-primary': '#f0f0f0',
'dm-link': '#4d94ff',
'dm-dark': '#161616',
},
container: {
padding: {
DEFAULT: '17px',
sm: '2rem',
lg: '4rem',
xl: '5rem',
'2xl': '6rem',
},
},
},
plugins: [daisyui],
daisyui: {
themes: [
{
mytheme: {
primary: '#009e66',
secondary: '#f5a623',
accent: '#428bca',
neutral: '#333333',
'base-100': '#f8f8f8',
info: '#0066cc',
success: '#009e66',
warning: '#f5a623',
error: '#d9534f',
},
},
],
},
darkMode: 'class',
};