-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
executable file
·60 lines (60 loc) · 1.67 KB
/
tailwind.config.js
File metadata and controls
executable file
·60 lines (60 loc) · 1.67 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
59
60
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: 'class',
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
colors: {
'body': 'var(--body)',
'body-text': 'var(--text)',
'widget': 'var(--widget)',
'header': 'var(--header)',
'border': 'var(--border)',
'input-border': 'var(--input-border)',
'input-bg': 'var(--input-bg)',
'highlight': 'var(--highlight)',
'highlight-inverse': 'var(--highlight-inverse)',
'accent': 'var(--accent)',
'red': 'var(--red)',
'green': 'var(--green)',
'green-darker': '#02A189',
'orange': 'var(--orange)',
'yellow': 'var(--yellow)',
'gray': 'var(--gray)',
'gray-red': 'var(--text-dark)',
},
fontFamily: {
'body': 'var(--body-font)',
'heading': 'var(--heading-font)',
},
screens: {
'2xs': '375px',
'xs': '414px',
'3xl': '1366px',
'4xl': '1920px',
'5xl': '2048px',
},
transitionDuration: {
'DEFAULT': '300ms',
},
borderColor: {
'DEFAULT': 'var(--border)',
},
boxShadow: {
'DEFAULT': 'var(--shadow)',
'banner': '0 2px 13px rgba(0, 54, 139, 0.44)',
'switch': 'inset 0 1px 3px rgba(170, 170, 183, 0.57)',
'switch-dark': 'inset 0 1px 3px rgba(2, 2, 6, 0.57)',
},
animation: {
'spin-slow': 'spin 3s linear infinite',
'pulse-fast': 'pulse 1s cubic-bezier(0.4, 0, 0.6, 1) infinite',
'ping-slow': 'ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite',
},
},
},
plugins: [],
}