-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathtailwind.config.js
More file actions
58 lines (55 loc) · 1.22 KB
/
tailwind.config.js
File metadata and controls
58 lines (55 loc) · 1.22 KB
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
const defaultTheme = require('tailwindcss/defaultTheme')
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./pages/**/*.{js,ts,jsx,tsx,mdx}',
'./components/**/*.{js,ts,jsx,tsx,mdx}',
'./app/**/*.{js,ts,jsx,tsx,mdx}',
],
darkMode: "class",
theme: {
screens: {
'xs': '475px',
...defaultTheme.screens,
},
extend: {
colors: {
light: {
DEFAULT: '#f3f4f6',
primary: '#9ca3af',
secondary: '#6b7280'
},
dark: {
DEFAULT: '#18181b',
primary: '#27272a',
secondary: '#71717a'
},
'article': {
light: {
DEFAULT: '#e2e8f0',
primary: '#cbd5e1',
secondary: '#94a3b8'
},
dark: {
DEFAULT: '#1e293b',
primary: '#334155',
secondary: '#475569'
}
},
'loading': {
light: '#c7d2fe',
dark: '#6b7280'
},
'accent': {
DEFAULT: '#fb923c',
primary: '#f97316',
secondary: '#1e293b'
},
'sun': '#f59e0b',
'moon': '#1e3a8a',
'cancel': '#dc2626'
}
}
},
plugins: [],
}