-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
85 lines (84 loc) · 2.51 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
73
74
75
76
77
78
79
80
81
82
83
84
85
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: {
extend: {
colors: {
sunken: "rgb(var(--sunken) / <alpha-value>)",
raised: "rgb(var(--raised) / <alpha-value>)",
overlay: "rgb(var(--overlay) / <alpha-value>)",
"raised-hover": "rgb(var(--raised-hover) / <alpha-value>)",
"text-primary": "rgb(var(--text-primary) / <alpha-value>)",
"text-secondary": "rgb(var(--text-secondary) / <alpha-value>)",
"text-brand-primary": "rgb(var(--text-brand-primary) / <alpha-value>)",
"brand-primary": "rgb(var(--brand-primary) / <alpha-value>)",
"brand-primary-hover":
"rgb(var(--brand-primary-hover) / <alpha-value>)",
"brand-primary-pressed":
"rgb(var(--brand-primary-pressed) / <alpha-value>)",
"border-tertiary": "rgb(var(--border-tertiary) / <alpha-value>)",
},
backgroundColor: {
"surface": "rgb(var(--surface) / <alpha-value>)"
},
borderRadius: {
'custom-radius': 'var(--Spacing-8, 32px)',
},
gap: {
'custom-gap': 'var(--Radius-lg, 8px)',
},
fontSize: {
xs: [
"0.75rem",
{ lineHeight: "100%", letterSpacing: "0rem" },
] /* 12px */,
s: [
"0.875rem",
{ lineHeight: "100%", letterSpacing: "0rem" },
] /* 14px */,
base: [
"1rem",
{ lineHeight: "150%", letterSpacing: "0rem" },
] /* 16px */,
lg: [
"1.25rem",
{ lineHeight: "100%", letterSpacing: "0rem" },
] /* 20px */,
xl: [
"1.5625rem",
{ lineHeight: "125%", letterSpacing: "0rem" },
] /* 25px */,
"2xl": [
"2rem",
{ lineHeight: "125%", letterSpacing: "0rem" },
] /* 32px */,
"3xl": [
"2.5rem",
{ lineHeight: "125%", letterSpacing: "0rem" },
] /* 40px */,
"4xl": [
"3.25rem",
{ lineHeight: "112.5%", letterSpacing: "0rem" },
] /* 52px */,
},
screens: {
xs: "430px",
sm: "640px",
md: "768px",
lg: "1024px",
xl: "1280px",
"2xl": "1536px",
},
},
fontFamily: {
GeistSans: ["var(--font-geist-sans)"],
GeistMono: ["var(--font-geist-mono)"],
},
},
plugins: [],
};
export default config;