-
Notifications
You must be signed in to change notification settings - Fork 56
Expand file tree
/
Copy pathtailwind.css
More file actions
150 lines (125 loc) · 3.58 KB
/
tailwind.css
File metadata and controls
150 lines (125 loc) · 3.58 KB
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
141
142
143
144
145
146
147
148
149
150
@tailwind base;
@tailwind components;
@tailwind utilities;
@font-face {
font-family: "Geist Mono";
src: url("/fonts/GeistMono-Medium.woff2") format("woff2");
font-weight: 500;
font-style: normal;
}
@font-face {
font-family: "Geist";
src: url("/fonts/GeistVF.woff2") format("woff2-variations");
font-weight: 600 700;
font-style: normal;
}
@font-face {
font-family: "Inter Tight";
src: url("/fonts/InterTight-Medium.woff2") format("woff2");
font-weight: 500;
font-style: normal;
}
@font-face {
font-family: "Inter Tight";
src: url("/fonts/InterTight-Bold.woff2") format("woff2");
font-weight: 700;
font-style: normal;
}
/* VARIABLES */
:root {
--fp-color-primary: rgba(44, 44, 44, 1);
--fp-color-secondary: rgba(44, 44, 44, 1);
--fp-color-accent-00: rgba(249, 161, 0, 1);
--fp-color-accent-01: rgba(245, 135, 9, 1);
--fp-color-accent-02: rgba(241, 108, 18, 1);
--fp-color-accent-03: rgba(238, 82, 28, 1);
--fp-color-decorative-00: rgba(236, 234, 234, 1);
--fp-color-decorative-01: rgba(224, 222, 222, 1);
--fp-color-decorative-02: rgba(44, 44, 44, 0.4);
--fp-color-background-00: rgba(255, 255, 255, 1);
--fp-color-background-01: rgba(245, 245, 245, 1);
--fp-color-background-02: rgba(240, 240, 240, 1);
--fp-color-red: rgba(200, 32, 32, 1);
--fp-color-green: rgba(47, 160, 94, 1);
--font-family-main: "Geist";
--font-family-body: "Inter Tight";
--font-family-mono: "Geist Mono";
}
.dark {
--fp-color-primary: rgba(255, 255, 255, 1);
--fp-color-secondary: rgba(255, 255, 255, 0.6);
--fp-color-accent-00: rgba(255, 170, 15, 1);
--fp-color-accent-01: rgba(255, 143, 15, 1);
--fp-color-accent-02: rgba(255, 113, 25, 1);
--fp-color-accent-03: rgba(255, 87, 29, 1);
--fp-color-decorative-00: rgba(48, 47, 48, 1);
--fp-color-decorative-01: rgba(65, 65, 65, 1);
--fp-color-decorative-02: rgba(255, 255, 255, 0.3);
--fp-color-background-00: rgba(23, 22, 22, 1);
--fp-color-background-01: rgb(32, 31, 32, 1);
--fp-color-background-02: rgb(32, 31, 32, 1);
--fp-color-red: rgba(247, 75, 75, 1);
--fp-color-green: rgba(40, 208, 111, 1);
}
/* TEXT STYLES */
@layer utilities {
.text-34 {
@apply text-xxl leading-xxl font-main font-bold tracking-tighter;
}
.text-20 {
@apply text-xl leading-xl font-main font-semibold tracking-tight;
}
.text-16 {
@apply text-l leading-l font-body font-medium tracking-wide;
}
.text-14-heading {
@apply text-m leading-l font-main font-semibold tracking-tight;
}
.text-14 {
@apply text-m leading-m font-body font-medium tracking-wide;
}
.text-14-bold {
@apply text-m leading-m font-body font-bold tracking-wide;
}
.text-11 {
@apply text-xs leading-xs font-main font-semibold tracking-wide uppercase;
}
.text-code {
@apply text-s leading-s font-mono font-medium tracking-wide;
}
}
/* GLOBAL */
:root {
background-color: var(--fp-color-background-00);
}
/* temporary hack to fix dark highlight.js theme */
.dark .language-json code,
.dark .language-javascript code {
filter: brightness(2.5) contrast(0.6);
}
body {
font-family: var(--font-family-body), "Inter", "sans-serif;";
font-weight: 500;
letter-spacing: 0.02em;
font-size: 14px;
color: var(--fp-color-primary);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
}
code,
pre {
font-family: "Geist Mono";
}
::-webkit-scrollbar {
width: 0px;
height: 6px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: var(--fp-color-decorative-01);
border-radius: 3px;
cursor: grab;
}