-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
60 lines (59 loc) · 1.73 KB
/
tailwind.config.ts
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
import type { Config } from "tailwindcss"
const config: Config = {
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
screens: {
"hover-none": { raw: "(hover: none)" },
},
colors: {
"surface": "var(--surface)",
"secondary-surface": "var(--secondary-surface)",
"text": "var(--text)",
"stroke": "var(--stroke)",
"buttery-yellow": "var(--buttery-yellow)",
"soft-teal": "var(--soft-teal)",
"warm-coral": "var(--warm-coral)",
"light-sky-blue": "var(--light-sky-blue)",
},
keyframes: {
"fade-in": {
from: { opacity: "0" },
to: { opacity: "1" },
},
"fade-out": {
to: { opacity: "0" },
},
"enter-dialog": {
from: { opacity: "0", transform: "translateY(45%) scale(0.95)" },
to: { opacity: "1", transform: "translateY(0) scale(1)" },
},
"hide-dialog": {
to: { opacity: "0" },
},
"enter-popover": {
from: { opacity: "0", transform: "translateY(-25%) scale(0.95)" },
to: { opacity: "1", transform: "translateY(0) scale(1)" },
},
},
animation: {
"fade-in": "fade-in 300ms cubic-bezier(0.16, 1, 0.3, 1)",
"fade-out": "fade-out 300ms cubic-bezier(0.16, 1, 0.3, 1)",
"enter-dialog": "enter-dialog 200ms cubic-bezier(0.16, 1, 0.3, 1)",
"hide-dialog": "hide-dialog 300ms cubic-bezier(0.16, 1, 0.3, 1)",
"enter-popover": "enter-popover 200ms cubic-bezier(0.16, 1, 0.3, 1)",
},
backgroundImage: {
"sparkles-pattern": "url(/assets/sparkles.png)",
"funny-gradient":
"linear-gradient(45deg, hsl(150.61, 24.14%, 60.2%) 50%, hsl(0, 90.6%, 70.78%) 0%);",
},
},
},
plugins: [],
}
export default config