This repository has been archived by the owner on Jan 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
140 lines (139 loc) · 4.9 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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
const colors = require("tailwindcss/colors");
const defaultTheme = require("tailwindcss/defaultTheme");
module.exports = {
purge: {
enabled: false,
content: [
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
],
},
variants: {
extend: {
margin: ['first', 'last'],
}
},
theme: {
colors: {
transparent: "transparent",
current: "currentColor",
primary: "var(--primary-color)",
accent1: "var(--accent1-color)",
accent2: "var(--accent2-color)",
accent3: "var(--accent3-color)",
accent4: "var(--accent4-color)",
black: "var(--black-color)",
white: "var(--white-color)",
"gray-light": "var(--gray-light-color)",
gray: "var(--gray-color)",
"gray-dark": "var(--gray-dark-color)",
tina: {
primary: "var(--tina-color-primary)",
error: "var(--tina-color-error)",
warning: "var(--tina-color-warning)",
success: "var(--tina-color-success)",
gray0: "var(--tina-color-grey-0)",
gray1: "var(--tina-color-grey-1)",
gray2: "var(--tina-color-grey-2)",
gray3: "var(--tina-color-grey-3)",
gray4: "var(--tina-color-grey-4)",
gray5: "var(--tina-color-grey-5)",
gray6: "var(--tina-color-grey-6)",
gray7: "var(--tina-color-grey-7)",
gray8: "var(--tina-color-grey-8)",
gray9: "var(--tina-color-grey-9)",
gray10: "var(--tina-color-grey-10)",
}
},
screens: {
lg: { max: "1000px" },
md: { max: "800px" },
sm: { max: "700px" },
},
fontSize: {
xs: [ "var(--text-size-xs)", { lineHeight: "var(--text-leading-xs)" }],
sm: [ "var(--text-size-sm)", { lineHeight: "var(--text-leading-sm)" }],
base: [ "var(--text-size-md)", { lineHeight: "var(--text-leading-md)" }],
lg: [ "var(--text-size-lg)", { lineHeight: "var(--text-leading-lg)" }],
xl: [ "var(--text-size-xl)", { lineHeight: "var(--text-leading-xl)" }],
'2xl': [ "var(--text-size-2xl)", { lineHeight: "var(--text-leading-2xl)" }],
'3xl': [ "var(--text-size-3xl)", { lineHeight: "var(--text-leading-3xl)" }],
'4xl': [ "var(--text-size-4xl)", { lineHeight: "var(--text-leading-4xl)" }],
'5xl': [ "var(--text-size-5xl)", { lineHeight: "var(--text-leading-5xl)" }],
'6xl': [ "var(--text-size-6xl)", { lineHeight: "var(--text-leading-6xl)" }],
'7xl': [ "var(--text-size-7xl)", { lineHeight: "var(--text-leading-7xl)" }],
'8xl': [ "var(--text-size-8xl)", { lineHeight: "var(--text-leading-8xl)" }],
},
borderWidth: {
DEFAULT: "1px",
0: "0",
1: "1px",
2: "2px",
3: "3px",
4: "4px",
6: "6px",
8: "8px",
},
extend: {
textDecoration: ["active"],
opacity: {
7: ".075",
15: ".15",
},
margin: {
"edge": "calc((100% - 1000px) * .5)",
},
maxWidth: {
"1/5": "calc(var(--site-width)*.2)",
"1/4": "calc(var(--site-width)*.25)",
"1/3": "calc(var(--site-width)*.33)",
"1/2": "calc(var(--site-width)*.5)",
"2/3": "calc(var(--site-width)*.66)",
"3/4": "calc(var(--site-width)*.75)",
"4/5": "calc(var(--site-width)*.8)",
"desktop-full": "var(--site-width)",
"desktop-half": "calc(var(--site-width)*.5)",
"site-full": "var(--site-width)",
"site-half": "calc(var(--site-width)*.5)",
"site-1/5": "calc(var(--site-width)*.20)",
"site-1/4": "calc(var(--site-width)*.25)",
"site-1/3": "calc(var(--site-width)*.33)",
"site-1/2": "calc(var(--site-width)*.5)",
"site-2/3": "calc(var(--site-width)*.66)",
"site-3/4": "calc(var(--site-width)*.75)",
"site-4/5": "calc(var(--site-width)*.80)",
},
width: {
"edge-1/5": "max(calc( (var(--site-width) * .20) + var(--edge-width)), 20%);",
"edge-1/4": "max(calc( (var(--site-width) * .25) + var(--edge-width)), 25%);",
"edge-1/3": "max(calc( (var(--site-width) * .33) + var(--edge-width)), 33%);",
"edge-1/2": "min(calc( (var(--site-width) * .5) + var(--edge-width)), 50%);",
"edge-2/3": "min(calc( (var(--site-width) * .66) + var(--edge-width)), 66%);",
"edge-3/4": "min(calc( (var(--site-width) * .75) + var(--edge-width)), 75%)",
"edge-4/5": "min(calc( (var(--site-width) * .80) + var(--edge-width)), 80%)",
},
minHeight: {
"100": "25rem",
"120": "30rem",
"140": "35rem",
"160": "40rem",
"180": "45rem",
"200": "50rem",
},
spacing: {
128: "32rem",
},
zIndex: {
"-2": "-2",
"-1": "-1",
},
fontFamily: {
'1': ["var(--font1)", "sans-serif"],
'2': ["var(--font2)", "sans-serif"],
'3': ["var(--font3)", "sans-serif"],
'4': ["var(--font4)", "sans-serif"]
},
},
},
plugins: [require("@tailwindcss/typography")],
};