-
Notifications
You must be signed in to change notification settings - Fork 95
/
tailwind.config.js
104 lines (102 loc) · 3.1 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
/**
* @typedef {import('tailwindcss/types').Config} BaseConfig
*
* @type {BaseConfig}
*/
module.exports = {
content: ["./nuxt.config.ts", "./src/**/*.{vue,js,ts,jsx,tsx}"],
theme: {
extend: {
screens: {
pwa: { raw: "(display-mode: standalone)" },
},
keyframes: {
overlayShow: {
from: { opacity: 0 },
to: { opacity: 1 },
},
contentShow: {
from: { opacity: 0, transform: "translate(-50%, -48%) scale(0.96)" },
to: { opacity: 1, transform: "translate(-50%, -50%) scale(1)" },
},
slideDownAndFade: {
from: { opacity: 0, transform: "translateY(-2px)" },
to: { opacity: 1, transform: "translateY(0)" },
},
slideLeftAndFade: {
from: { opacity: 0, transform: "translateX(2px)" },
to: { opacity: 1, transform: "translateX(0)" },
},
slideUpAndFade: {
from: { opacity: 0, transform: "translateY(2px)" },
to: { opacity: 1, transform: "translateY(0)" },
},
slideRightAndFade: {
from: { opacity: 0, transform: "translateX(-2px)" },
to: { opacity: 1, transform: "translateX(0)" },
},
"shine-r": {
"0%": { right: "100%", opacity: 0 },
"50%": { opacity: 1 },
"90%": { right: "-10%" },
"100%": { opacity: 0 },
},
"shine-b": {
"0%": { bottom: "100%", opacity: 0 },
"50%": { opacity: 1 },
"90%": { bottom: "-10%" },
"100%": { opacity: 0 },
},
"shine-l": {
"0%": { left: "100%", opacity: 0 },
"50%": { opacity: 1 },
"90%": { left: "-10%" },
"100%": { opacity: 0 },
},
"shine-t": {
"0%": { top: "100%", opacity: 0 },
"50%": { opacity: 1 },
"90%": { top: "-10%" },
"100%": { opacity: 0 },
},
},
fontFamily: {
inter: ["Inter", "sans-serif"],
mono: ["JetBrains Mono", "monospace"],
},
animation: {
overlayShow: "overlayShow 150ms cubic-bezier(0.16, 1, 0.3, 1)",
contentShow: "contentShow 150ms cubic-bezier(0.16, 1, 0.3, 1)",
slideDownAndFade:
"slideDownAndFade 400ms cubic-bezier(0.16, 1, 0.3, 1)",
slideLeftAndFade:
"slideLeftAndFade 400ms cubic-bezier(0.16, 1, 0.3, 1)",
slideUpAndFade: "slideUpAndFade 400ms cubic-bezier(0.16, 1, 0.3, 1)",
slideRightAndFade:
"slideRightAndFade 400ms cubic-bezier(0.16, 1, 0.3, 1)",
},
colors: {
slate: {
500: "hsl(240, 3%, 55%)",
600: "#6a6a71",
700: "#1e1e25",
800: "#101014",
900: "#0b0b0d",
},
brand: {
50: "#ebfef7",
100: "#cefdea",
200: "#a1f9da",
300: "#64f1c8",
400: "#27e0b1",
500: "#02e1af",
600: "#00a27f",
700: "#008269",
800: "#006654",
900: "#005447",
},
},
},
},
plugins: [require("tailwindcss-easing"), require("@tailwindcss/typography")],
};