-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathtailwind.config.js
114 lines (114 loc) · 3.08 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
fontSize: {
base: "0.97rem",
"base-adjusted-sm": "0.938rem",
},
fontFamily: {
sans: [
"var(--sans-font)",
"ui-sans-serif",
"system-ui",
"-apple-system",
"BlinkMacSystemFont",
"Segoe UI",
"Roboto",
"Helvetica Neue",
"Arial",
"Noto Sans",
"sans-serif",
"Apple Color Emoji",
"Segoe UI Emoji",
"Segoe UI Symbol",
"Noto Color Emoji",
],
serif: [
"LiterataVar",
"ui-serif",
"Georgia",
"Cambria",
"Times New Roman",
"Times",
"serif",
],
},
colors: {
silver: "#DFDFDE",
"silver-dark": "#9B9B9B",
"neutral-950": "#010101",
"neutral-850": "#1C1C1C",
},
textDecorationThickness: {
1.5: "1.5px",
},
textUnderlineOffset: {
1.5: "1.5px",
2.5: "2.5px",
},
transitionTimingFunction: {
"in-expo": "cubic-bezier(0.95, 0.05, 0.795, 0.035)",
"out-expo": "cubic-bezier(0.215, 0.61, 0.355, 1)",
spring: "cubic-bezier(0.68, -0.55, 0.265, 1.55)",
},
maxWidth: {
main: "46rem",
},
width: {
main: "46rem",
},
animation: {
"spin-slow": "spin 10s linear infinite",
},
letterSpacing: {
xs: "-.000490774em",
sm: "-.00622354em",
normal: "-.0109598em",
zero: "0",
},
animation: {
scale: "scale .4s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards",
fadeIn: "fadeIn .3s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards",
shake: "shake .2s ease-in-out 0s 2",
},
keyframes: {
scale: {
"0%": { transform: "scale(.8)", opacity: 0 },
"100%": { transform: "scale(1)", opacity: 1 },
},
fadeIn: {
"0%": { opacity: 0 },
"100%": { opacity: 1 },
},
shake: {
"0%, 100%": { transform: "translateX(0)" },
"25%": { transform: "translateX(-0.5rem)" },
"75%": { transform: "translateX(0.5rem)" },
},
},
boxShadow: {
dark: "0 16px 70px rgb(0 0 0 / 20%)",
fancy:
"0px 0px 0px 1px rgba(25, 37, 50, 0.05), 0px 3px 7px -3px rgba(25, 37, 50, 0.1), 0px 6px 12px -2px rgba(25, 37, 50, 0.1), inset 0 0 0 1px rgba(255, 255, 255, .05)",
fancyDark:
"inset 0 0 0 0.5px rgba(255, 255, 255, .1), 0px 3px 7px -3px rgba(25, 37, 50, 0.1), 0px 6px 12px -2px rgba(25, 37, 50, 0.1)",
},
lineHeight: {
golden: "1.6875",
},
typography: {
quotefix: {
css: {
"blockquote p:first-of-type::before": { marginLeft: "-.6ch" },
},
},
},
},
},
plugins: [require("@tailwindcss/typography"), require("tailwindcss-touch")()],
};