-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
72 lines (71 loc) · 2.22 KB
/
tailwind.config.ts
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
import type { Config } from "tailwindcss";
const config: Config = {
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
fontSize: {
xxxs: ["0.5rem", { lineHeight: "1" }], // 8px
xxs: ["0.625rem", { lineHeight: "1rem" }], // 10px
xs: ["0.75rem", { lineHeight: "1rem" }], // 12px
sm: ["0.875rem", { lineHeight: "1.25rem" }], // 14px
base: ["1rem", { lineHeight: "1.5rem" }], // 16px
lg: ["1.125rem", { lineHeight: "1.75rem" }], // 18px
xl: ["1.25rem", { lineHeight: "1.75rem" }], // 20px
"2xl": ["1.5rem", { lineHeight: "2rem" }], // 24px
"3xl": ["1.875rem", { lineHeight: "2.25rem" }], // 30px
"3.5xl": ["2rem", { lineHeight: "2.5rem" }], // 32px
"4xl": ["2.25rem", { lineHeight: "2.5rem" }], // 36px
"4.25xl": ["2.5rem", { lineHeight: "2.5rem" }], // 40px
"5xl": ["3rem", { lineHeight: "1" }], // 48px
"6xl": ["3.75rem", { lineHeight: "1" }], // 60px
"7xl": ["4.5rem", { lineHeight: "1" }], // 72px
"8xl": ["6rem", { lineHeight: "1" }], // 96px
"9xl": ["8rem", { lineHeight: "1" }], // 128px
},
extend: {
colors: {
background: "var(--background)",
foreground: "var(--foreground)",
brand: {
red: {
DEFAULT: ""
},
green: {
DEFAULT: "#00a65a"
},
blue: {
50: "#72afd2",
100: "#3c8dbc",
DEFAULT: "#0071CE",
500: "#0f265c",
},
neutral: {
50: "#d8d8d8",
100: "#bcccdc", // borders,
150: "#eff0f3",
200: "#363944",
300: "#a2a9be", // body text on dark background
DEFAULT: "#c9d3ee",
500: "#717da3", // body text on light background
600: "#313742",
700: "#000c13",
800: "#030418", // dark text on light background
900: "#0b0c10", // dark background
},
}
},
},
},
safelist: [
'bg-blue-500',
'bg-green-500',
'bg-teal-500',
'bg-yellow-500',
'bg-red-500'
],
plugins: [],
};
export default config;