-
Notifications
You must be signed in to change notification settings - Fork 5
/
tailwind.config.js
82 lines (81 loc) · 2.02 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
71
72
73
74
75
76
77
78
79
80
81
82
import { nextui } from '@nextui-org/react';
/** @type {import('tailwindcss').Config} */
export default {
content: [
'./index.html',
'./src/**/*.{js,ts,jsx,tsx}',
'./node_modules/@nextui-org/theme/dist/**/*.{js,ts,jsx,tsx}'
],
theme: {
extend: {
keyframes: {
'caret-blink': {
'0%,70%,100%': { opacity: '1' },
'20%,50%': { opacity: '0' }
}
},
animation: {
'caret-blink': 'caret-blink 1.2s ease-out infinite'
}
},
fontFamily: {
sans: ['"DM Sans", system-ui, sans-serif', { fontOpticalSizing: 'auto' }],
display: ['Exo, system-ui, sans-serif', { fontOpticalSizing: 'auto' }]
}
},
darkMode: 'class',
plugins: [
nextui({
prefix: 'app',
themes: {
light: {
colors: {}
},
dark: {
colors: {
background: '#080a0f',
chart: {
1: '#a855f7',
2: '#d8b4fe',
3: '#8b5cf6',
4: '#c4b5fd',
5: '#f6a550',
6: '#faca51',
7: '#ec4899',
8: '#f9a8d4',
9: '#0ea5e9',
10: '#7dd3fc',
11: '#22c55e',
12: '#86efac'
},
content1: '#0f111a',
content2: '#191c2c', // Used in skeleton
content3: '#465e99',
content4: 'transparent', // Used in skeleton
default: {
DEFAULT: '#191c2c',
2: '#7a86a5',
700: '#cad7f9'
},
error: {
200: '#fecdd3',
800: '#9f1239'
},
focus: '#ffa726',
foreground: {
DEFAULT: '#ffffff',
invert: '#000',
1: '#cad7f9',
2: '#7a86a5'
},
outline: '#293041',
primary: '#cad7f9',
secondary: '#ffcc80',
success: '#7ccb69',
danger: '#d24646'
}
}
}
})
]
};