-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
76 lines (75 loc) · 1.85 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
safelist: [
{
pattern: /(text)-(body|header|subheader)-(sm|md|lg|xl|2xl)/,
variants: ["sm", "md", "lg", "xl", "2xl"],
},
{
pattern: /(font)-(.*)/,
variants: ["sm", "md", "lg", "xl", "2xl"],
},
{
pattern: /(text)-(.*)/,
variants: ["sm", "md", "lg", "xl", "2xl"],
},
],
theme: {
extend: {
fontSize: {
"body-sm": "0.875rem",
"body-md": "1rem",
"body-lg": "1.125rem",
"body-xl": "1.25rem",
"body-2xl": "1.5rem",
},
colors: {
border: "#E0E0E0",
greyscale1: "#FFFFFF",
greyscale2: "#F5F4F5",
greyscale3: "#ECEAEC",
greyscale4: "#A89FA8",
greyscale5: "#000000",
purple1: "#651FFF",
purple2: "#4C17BF",
correct: "#43A047",
incorrect: "#E1233D",
pending: "#FCF6C6",
disabled: "#979797",
data: "#FECE00",
},
screens: {
xs: "281px",
"3xl": "1800px",
"4xl": "2100px",
},
transitionProperty: {
height: "height",
},
animation: {
"slide-down": "slide-down .4s ease-out forwards",
"slide-up": "slide-up .4s ease-out forwards",
},
keyframes: {
"slide-down": {
"0%": { height: "0px" },
"100%": { height: "45px" },
},
"slide-up": {
"0%": { height: "45px" },
"100%": { height: "0px" },
},
},
},
fontFamily: {
base: ["pixel", "-apple-system", "system-ui", "monospace"],
"base-b": ["pixel-bold", "-apple-system", "system-ui", "monospace"],
},
},
plugins: [],
};