-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
104 lines (92 loc) · 2.38 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
/** @type {import('tailwindcss').Config} */
// eslint-disable-next-line @typescript-eslint/no-var-requires
const { fontFamily } = require("tailwindcss/defaultTheme");
module.exports = {
content: [
"./components/**/*.{js,vue,ts}",
"./layouts/**/*.vue",
"./pages/**/*.vue",
"./plugins/**/*.{js,ts}",
],
corePlugins: {
backgroundOpacity: false,
borderOpacity: false,
divideOpacity: false,
placeholderOpacity: false,
ringOpacity: false,
textOpacity: false,
},
plugins: [
require("tailwindcss-debug-screens"),
require("@tailwindcss/typography"),
],
theme: {
extend: {
animation: {
appear: "appear 300ms ease-out 150ms both",
flicker: "flicker 3s linear infinite",
shimmer: "shimmer 1.3s linear infinite",
zoomIn: "appear 300ms ease-out 150ms both",
},
colors: {
accent: "#995c99",
background: "#f5f6fa",
primary: {
50: "#eef0f6",
100: "#ccd1e5",
200: "#aab3d4",
300: "#8894c3",
400: "#6676b2",
500: "#4d5c99",
600: "#3c4877",
700: "#2b3355",
800: "#1a1f33",
900: "#090a11",
DEFAULT: "#3c4472",
},
secondary: "#ede9d9",
text: "#040407",
},
container: {
center: true,
screens: {
"2xl": "1124px",
lg: "1124px",
xl: "1124px",
},
},
fontFamily: {
primary: ["Inter", ...fontFamily.sans],
},
keyframes: {
appear: {
"0%": { opacity: 0 },
"100%": { opacity: 1 },
},
flicker: {
"0%, 19.999%, 22%, 62.999%, 64%, 64.999%, 70%, 100%": {
filter:
"drop-shadow(0 0 1px rgba(252, 211, 77)) drop-shadow(0 0 15px rgba(245, 158, 11)) drop-shadow(0 0 1px rgba(252, 211, 77))",
opacity: 0.99,
},
"20%, 21.999%, 63%, 63.999%, 65%, 69.999%": {
filter: "none",
opacity: 0.4,
},
},
shimmer: {
"0%": {
backgroundPosition: "-700px 0",
},
"100%": {
backgroundPosition: "700px 0",
},
},
zoomIn: {
"0%": { opacity: 0, transform: "scale(.5)" },
"100%": { opacity: 1, transform: "scale(1)" },
},
},
},
},
};