-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
148 lines (147 loc) · 4.55 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
],
darkMode: "class",
theme: {
screens: {
sm: "575px",
md: "768px",
lg: "1025px",
xl: "1202px",
},
fontFamily: {
display: ['"CalSans-SemiBold"', "sans-serif"],
body: ['"DM Sans"', "sans-serif"],
},
container: {
center: true,
padding: "1rem",
},
colors: {
transparent: "transparent",
current: "currentColor",
white: "#ffffff",
accent: "#8358FF",
"accent-dark": "#7444FF",
"accent-light": "#9E7CFF",
"accent-lighter": "#B9A0FF",
"light-base": "#F5F8FA",
green: "#10b981",
orange: "#FEB240",
"orange-bright": "#FA6D1E",
red: "#EF4444",
blue: "#428AF8",
jacarta: {
base: "#5A5D79",
50: "#F4F4F6",
100: "#E7E8EC",
200: "#C4C5CF",
300: "#A1A2B3",
400: "#7D7F96",
500: "#5A5D79",
600: "#363A5D",
700: "#131740",
800: "#101436",
900: "#0D102D",
},
},
boxShadow: {
none: "none",
sm: "0px 1px 2px 0px rgba(13, 16, 45, 0.1)",
base: "0px 1px 2px -1px rgba(13, 16, 45, 0.1), 0px 2px 4px 0px rgba(13, 16, 45, 0.1)",
md: "0px 2px 4px -2px rgba(13, 16, 45, 0.1), 0px 4px 6px -1px rgba(13, 16, 45, 0.1)",
lg: "0px 4px 6px -4px rgba(13, 16, 45, 0.1), 0px 10px 15px -3px rgba(13, 16, 45, 0.1)",
xl: "0px 8px 10px -6px rgba(13, 16, 45, 0.1), 0px 20px 25px -5px rgba(13, 16, 45, 0.1)",
"2xl":
"0px 25px 50px -12px rgba(13, 16, 45, 0.1), 0px 12px 24px 0px rgba(13, 16, 45, 0.1)",
"accent-volume":
"5px 5px 10px rgba(108, 106, 213, 0.25), inset 2px 2px 6px #A78DF0, inset -5px -5px 10px #6336E4",
"white-volume":
"5px 5px 10px rgba(108, 106, 212, 0.25), inset 2px 2px 6px #EEF1F9, inset -5px -5px 10px #DFE3EF",
},
fontSize: {
xxs: ["0.625rem", { lineHeight: "normal" }],
xs: ["0.75rem", { lineHeight: "normal" }],
"2xs": ["0.8125rem", { lineHeight: "normal" }],
sm: ["0.875rem", { lineHeight: "normal" }],
base: ["1rem", { lineHeight: "normal" }],
md: ["1.125rem", { lineHeight: "normal" }],
lg: ["1.25rem", { lineHeight: "1.5" }],
xl: ["1.5rem", { lineHeight: "normal" }],
"2xl": ["1.75rem", { lineHeight: "normal" }],
"3xl": ["2rem", { lineHeight: "normal" }],
"4xl": ["2.25rem", { lineHeight: "normal" }],
"5xl": ["2.5rem", { lineHeight: "normal" }],
"6xl": ["3.5rem", { lineHeight: "normal" }],
"7xl": ["4.25rem", { lineHeight: "normal" }],
},
extend: {
width: {
'fill': '-webkit-fill-available', // Adds the width class 'w-fill'
},
borderRadius: {
"2lg": "0.625rem",
"2.5xl": "1.25rem",
},
transitionProperty: {
height: "height",
width: "width",
},
animation: {
fly: "fly 6s cubic-bezier(0.75, 0.02, 0.31, 0.87) infinite",
marquee: "marquee 60s linear infinite",
marqueeRight: "marqueeRight 60s linear infinite",
heartBeat: "heartBeat 1s cubic-bezier(0.75, 0.02, 0.31, 0.87) infinite",
progress: "progress 5s linear",
"spin-slow": "spin 10s linear infinite",
gradient: "gradient 6s linear infinite",
gradientDiagonal: "gradientDiagonal 6s linear infinite",
},
keyframes: {
fly: {
"0%, 100%": { transform: "translateY(5%)" },
"50%": { transform: "translateY(0)" },
},
marquee: {
"0%": { transform: "translateX(0)" },
to: { transform: "translateX(-2322px)" },
},
marqueeRight: {
"0%": { transform: "translateX(-2322px)" },
to: { transform: "translateX(0)" },
},
heartBeat: {
"0%, 40%, 80%, 100%": { transform: "scale(1.1)" },
"20%, 60%": { transform: "scale(.8)" },
},
progress: {
"0%": { width: "0%" },
"100%": { width: "100%" },
},
gradient: {
"100%": { backgroundPosition: "200% center" },
},
gradientDiagonal: {
"100%": { backgroundPosition: "200% center" },
},
},
},
customGroups: {
names: ["dropdown"],
},
},
variants: {
display: ["children", "children-not"],
},
corePlugins: {
visibility: false,
},
plugins: [
require("@tailwindcss/forms"),
require("tailwindcss-custom-groups"),
],
};