forked from paritytech/governance-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.cjs
58 lines (58 loc) · 1.63 KB
/
tailwind.config.cjs
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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.{html,js,ts,jsx,tsx}"],
theme: {
extend: {
fontFamily: {
sans: ["Inter"],
unbounded: "Unbounded",
},
fontSize: {
body: "1rem",
"body-2": "0.875rem",
h1: ["4rem", { fontWeight: 700, lineHeight: 1.2 }],
h2: ["3rem", { fontWeight: 700, lineHeight: 1.05 }],
h3: ["2rem", { fontWeight: 700, lineHeight: 1.05 }],
h4: "1.625rem",
h5: ["1.25rem", { fontWeight: 500, lineHeight: 1 }],
},
colors: {
bg: { default: "#F5F4F4" },
fg: {
disabled: "#9D9CAF",
contrast: "#201F37",
"match-bg": "#F3F5FB",
dim: "#201f37",
},
fill: {
primary: "#e6007a",
"primary-hover": "#CE056F",
"primary-pressed": "#C30567",
secondary: "#321D47",
"secondary-hover": "#3E2852",
"secondary-pressed": "#1C0533",
disabled: "#F9F9FB",
},
"p-pink": { 100: "#FFE4F3", 600: "#CB006C" },
"p-purple": { 100: "#F3F5FB", 900: "#1C0533" },
primary: "#e6007a",
secondary: "#321D47",
},
keyframes: {
lift: {
"0%": { marginTop: 24, opacity: 0 },
"100%": { marginTop: 0, opacity: 1 },
},
fadeIn: {
"0%": { background: "rgba(0,0,0,0)" },
"100%": { background: "rgba(0,0,0,0.85)" },
},
slideInRight: {
"0%": { right: -500 },
"100%": { right: 0 },
},
},
},
},
plugins: [require("@tailwindcss/typography")],
};