-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.mjs
220 lines (220 loc) · 7.12 KB
/
tailwind.config.mjs
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
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
/** @type {import('tailwindcss').Config} */
export default {
content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}"],
theme: {
extend: {
colors: {
button: "ButtonFace",
"button-text": "ButtonText",
canvas: "Canvas",
"canvas-text": "CanvasText",
},
fontFamily: {
// from https://github.com/system-fonts/modern-font-stacks
/* System UI fonts are those native to the operating system interface.
* They are highly legible and easy to read at small sizes, contains
* many font weights, and is ideal for UI elements.
*/
system: ["system-ui", "sans-serif"],
/* Transitional typefaces are a mix between Old Style and Modern
* typefaces that was developed during The Enlightenment. One of the
* most famous examples of a Transitional typeface is Times New Roman,
* which was developed for the Times of London newspaper.
*/
transitional: [
"Charter",
"'Bitstream Charter'",
"'Sitka Text'",
"Cambria",
"serif",
],
/* Old Style typefaces are characterized by diagonal stress, low
* contrast between thick and thin strokes, and rounded serifs, and
* were developed in the Renaissance period. One of the most famous
* examples of an Old Style typeface is Garamond.
*/
"old-style": [
"'Iowan Old Style'",
"'Palatino Linotype'",
"'URW Palladio L'",
"P052",
"serif",
],
/* Humanist typefaces are characterized by their organic, calligraphic
* forms and low contrast between thick and thin strokes. These
* typefaces are inspired by the handwriting of the Renaissance period
* and are often considered to be more legible and easier to read than
* other sans-serif typefaces.
*/
humanist: [
"Seravek",
"'Gill Sans Nova'",
"Ubuntu",
"Calibri",
"'DejaVu Sans'",
"source-sans-pro",
"sans-serif",
],
/* Geometric Humanist typefaces are characterized by their clean,
* geometric forms and uniform stroke widths. These typefaces are often
* considered to be modern and sleek in appearance, and are often used
* for headlines and other display purposes. Futura is a famous example
* of this classification.
*/
"gemoetric-humanist": [
"Avenir",
"Montserrat",
"Corbel",
"'URW Gothic'",
"source-sans-pro",
"sans-serif",
],
/* Classical Humanist typefaces are characterized by how the strokes
* subtly widen as they reach the stroke terminals without ending in a
* serif. These typefaces are inspired by classical Roman capitals and
* the stone-carving on Renaissance-period tombstones.
*/
"classical-humanist": [
"Optima",
"Candara",
"'Noto Sans'",
"source-sans-pro",
"sans-serif",
],
/* Neo-Grotesque typefaces are a style of sans-serif that was developed
* in the late 19th and early 20th centuries and is characterized by its
* clean, geometric forms and uniform stroke widths. One of the most
* famous examples of a Neo-Grotesque typeface is Helvetica.
*/
"neo-grotesque": [
"Inter",
"Roboto",
"'Helvetica Neue'",
"'Arial Nova'",
"'Nimbus Sans'",
"Arial",
"sans-serif",
],
/* Monospace Slab Serif typefaces are characterized by their fixed-width
* letters, which have the same width regardless of their shape, and its
* simple, geometric forms. Used to emulate typewriter output for
* reports, tabular work and technical documentation.
*/
"monospace-slab-serif": [
"'Nimbus Mono PS'",
"'Courier New'",
"monospace",
],
/* Monospace Code typefaces are specifically designed for use in
* programming and other technical applications. These typefaces are
* characterized by their monospaced design, which means that all
* letters and characters have the same width, and their clear, legible
* forms.
*/
"monospace-code": [
"ui-monospace",
"'Cascadia Code'",
"'Source Code Pro'",
"Menlo",
"Consolas",
"'DejaVu Sans Mono'",
"monospace",
],
/* Industrial typefaces originated in the late 19th century and was
* heavily influenced by the advancements in technology and industry
* during that time. Industrial typefaces are characterized by their
* bold, sans-serif letterforms, simple and straightforward appearance,
* and the use of straight lines and geometric shapes.
*/
industrial: [
"Bahnschrift",
"'DIN Alternate'",
"'Franklin Gothic Medium'",
"'Nimbus Sans Narrow'",
"sans-serif-condensed",
"sans-serif",
],
/* Rounded typefaces are characterized by the rounded curved letterforms
* and give a softer, friendlier appearance. The rounded edges give the
* typeface a more organic and
* playful feel, making it suitable for use in informal or child-friendly
* designs. The rounded sans-serif style has been popular since the 1950s,
* and it continues to be widely used in advertising, branding, and
* other forms of graphic design.
*/
"rounded-sans": [
"ui-rounded",
"'Hiragino Maru Gothic ProN'",
"Quicksand",
"Comfortaa",
"Manjari",
"'Arial Rounded MT'",
"'Arial Rounded MT Bold'",
"Calibri",
"source-sans-pro",
"sans-serif",
],
/* Slab Serif typefaces are characterized by the presence of thick,
* block-like serifs on the ends of each letterform. These serifs are
* usually unbracketed, meaning they do not have any curved or tapered
* transitions to the main stroke of the letter.
*/
"slab-serif": [
"Rockwell",
"'Rockwell Nova'",
"'Roboto Slab'",
"'DejaVu Serif'",
"'Sitka Small'",
"serif",
],
/* Antique typefaces, also known as Egyptians, are a subset of serif
* typefaces that were popular in the 19th century. They are
* characterized by their block-like serifs and thick uniform stroke
* weight.
*/
antique: [
"Superclarendon",
"'Bookman Old Style'",
"'URW Bookman'",
"'URW Bookman L'",
"'Georgia Pro'",
"Georgia",
"serif",
],
/* Didone typefaces, also known as Modern typefaces, are characterized
* by the high contrast between thick and thin strokes, vertical stress,
* and hairline serifs with no bracketing. The Didone style emerged in
* the late 18th century and gained popularity during the 19th century.
*/
didone: [
"Didot",
"'Bodoni MT'",
"'Noto Serif Display'",
"'URW Palladio L'",
"P052",
"Sylfaen",
"serif",
],
/* Handwritten typefaces are designed to mimic the look and feel of
* handwriting. Despite the vast array of handwriting styles, this font
* stack tend to adopt a more informal and everyday style of handwriting.
*/
handwritten: [
"'Segoe Print'",
"'Bradley Hand'",
"Chilanka",
"TSCu_Comic",
"casual",
"cursive",
],
emoji: [
"'Apple Color Emoji'",
"'Segoe UI Emoji'",
"'Segoe UI Symbol'",
"'Noto Color Emoji'",
],
},
},
},
plugins: [require("@tailwindcss/typography")],
};