-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtailwind.config.js
80 lines (78 loc) · 1.82 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: {
files: [
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
],
// transform: [
// ]
},
darkMode: "selector",
theme: {
fontFamily: {
sans: ["Urbit Sans"],
mono: ["Urbit Sans", { fontVariationSettings: '"xtab" 500' }],
serif: ["Urbit Serif Italic"],
"custom-font": ["custom font", "Courier New", "monospace", "mono"],
variable: [
"variable",
{
fontFeatureSettings: '"ss01"',
},
],
},
screens: {
xs: "380px",
sm: "640px",
md: "768px",
lg: "900px",
xl: "1288px",
"2xl": "1536px",
"3xl": "1900px",
},
extend: {
letterSpacing: {
"02": "0.024em",
"01": "0.01em",
},
borderRadius: {
"5px": ".3125rem",
"16px": "1rem",
},
fontSize: {
"small": ".75rem", //12px
"base": "1rem", //16px
"large": "1.25rem", //20px
"xlarge": "1.5625rem", //25px
"30px": "1.875rem", //30px
"2xlarge": "2rem", //32px
"3xlarge": "2.5rem", //40px
"4xlarge": "3.75rem", //60px
},
lineHeight: {
100: "100%",
120: "120%",
},
transitionTimingFunction: {
springy: "var(--ease-springy)",
},
colors: {
background: "var(--background)",
foreground: "var(--foreground)",
black: "var(--background)",
white: "var(--foreground)",
gray: {
"5a": "#5a5a55",
"87": "#878787",
"d9": "#d9d9d9",
"f5": "#f5f5f5",
},
white: "var(--foreground)",
"off-white": "var(--off-white)",
},
},
},
plugins: [],
};