-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
37 lines (37 loc) · 1.19 KB
/
Copy pathtailwind.config.js
File metadata and controls
37 lines (37 loc) · 1.19 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
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: 'class',
content: ["./*.{html,js}"],
theme: {
extend: {
colors: {
primary: "rgb(var(--color-primary) / <alpha-value>)", // Electric Blue
"primary-hover": "rgb(var(--color-primary-hover) / <alpha-value>)",
"primary-light": "rgb(var(--color-primary-light) / <alpha-value>)",
background: "rgb(var(--color-background) / <alpha-value>)",
surface: "rgb(var(--color-surface) / <alpha-value>)",
text: "rgb(var(--color-text) / <alpha-value>)",
border: "rgb(var(--color-border) / <alpha-value>)",
},
fontFamily: {
sans: ['Inter', 'sans-serif'],
mono: ['JetBrains Mono', 'monospace'],
},
animation: {
'fade-in': 'fadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards',
'blink': 'blink 1s step-end infinite',
},
keyframes: {
fadeIn: {
'0%': { opacity: '0', transform: 'translateY(10px)' },
'100%': { opacity: '1', transform: 'translateY(0)' },
},
blink: {
'0%, 100%': { opacity: '1' },
'50%': { opacity: '0' },
}
}
},
},
plugins: [],
}