@astryxdesign/theme-y2k 0.7.17-canary.gffd1c8e → 0.7.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -10
- package/dist/source.cjs +7 -1
- package/dist/source.d.cts +1 -1
- package/dist/source.d.ts +1 -1
- package/dist/source.d.ts.map +1 -1
- package/dist/source.mjs +6 -1
- package/dist/theme.css +26 -3
- package/dist/y2k.js +3 -3
- package/dist/y2kTheme.d.cts +2 -0
- package/dist/y2kTheme.d.ts +2 -0
- package/dist/y2kTheme.d.ts.map +1 -1
- package/fonts/crimson-text-latin-400-normal.woff2 +0 -0
- package/fonts/crimson-text-latin-600-normal.woff2 +0 -0
- package/fonts/crimson-text-latin-700-normal.woff2 +0 -0
- package/fonts/crimson-text-latin-ext-400-normal.woff2 +0 -0
- package/fonts/crimson-text-latin-ext-600-normal.woff2 +0 -0
- package/fonts/crimson-text-latin-ext-700-normal.woff2 +0 -0
- package/fonts/crimson-text-vietnamese-400-normal.woff2 +0 -0
- package/fonts/crimson-text-vietnamese-600-normal.woff2 +0 -0
- package/fonts/crimson-text-vietnamese-700-normal.woff2 +0 -0
- package/fonts/crimson-text.LICENSE.txt +93 -0
- package/fonts/jetbrains-mono-cyrillic-400-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-cyrillic-500-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-cyrillic-600-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-cyrillic-700-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-cyrillic-ext-400-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-cyrillic-ext-500-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-cyrillic-ext-600-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-cyrillic-ext-700-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-greek-400-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-greek-500-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-greek-600-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-greek-700-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-latin-400-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-latin-500-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-latin-600-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-latin-700-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-latin-ext-400-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-latin-ext-500-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-latin-ext-600-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-latin-ext-700-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-vietnamese-400-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-vietnamese-500-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-vietnamese-600-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-vietnamese-700-normal.woff2 +0 -0
- package/fonts/jetbrains-mono.LICENSE.txt +93 -0
- package/fonts/poppins-devanagari-400-normal.woff2 +0 -0
- package/fonts/poppins-devanagari-500-normal.woff2 +0 -0
- package/fonts/poppins-devanagari-600-normal.woff2 +0 -0
- package/fonts/poppins-devanagari-700-normal.woff2 +0 -0
- package/fonts/poppins-latin-400-normal.woff2 +0 -0
- package/fonts/poppins-latin-500-normal.woff2 +0 -0
- package/fonts/poppins-latin-600-normal.woff2 +0 -0
- package/fonts/poppins-latin-700-normal.woff2 +0 -0
- package/fonts/poppins-latin-ext-400-normal.woff2 +0 -0
- package/fonts/poppins-latin-ext-500-normal.woff2 +0 -0
- package/fonts/poppins-latin-ext-600-normal.woff2 +0 -0
- package/fonts/poppins-latin-ext-700-normal.woff2 +0 -0
- package/fonts/poppins.LICENSE.txt +93 -0
- package/fonts.css +522 -1
- package/package.json +4 -3
- package/src/source.ts +1 -1
- package/src/y2kTheme.ts +11 -3
- package/LICENSE +0 -21
package/fonts.css
CHANGED
|
@@ -1,3 +1,524 @@
|
|
|
1
1
|
/* Copyright (c) Meta Platforms, Inc. and affiliates. */
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
/*
|
|
4
|
+
* The theme's fonts, shipped in this package (their licenses are in
|
|
5
|
+
* fonts/): each face is a local woff2 file with font-display: fallback.
|
|
6
|
+
* Text waits about 100 ms for its face; served from the same machine or a
|
|
7
|
+
* fast connection, the face arrives in that time and the text first draws
|
|
8
|
+
* in the theme's font. A slower face shows the fallback font, and one that
|
|
9
|
+
* takes more than about 3 s stays in it on that page. A page never waits
|
|
10
|
+
* on a network.
|
|
11
|
+
* Written by scripts/vendor-theme-fonts.mjs: do not edit by hand.
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
@font-face {
|
|
15
|
+
font-family: 'Crimson Text';
|
|
16
|
+
font-style: normal;
|
|
17
|
+
font-display: fallback;
|
|
18
|
+
font-weight: 400;
|
|
19
|
+
src: url('./fonts/crimson-text-vietnamese-400-normal.woff2') format('woff2');
|
|
20
|
+
unicode-range:
|
|
21
|
+
U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
|
|
22
|
+
U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
|
|
23
|
+
U+1EA0-1EF9, U+20AB;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@font-face {
|
|
27
|
+
font-family: 'Crimson Text';
|
|
28
|
+
font-style: normal;
|
|
29
|
+
font-display: fallback;
|
|
30
|
+
font-weight: 400;
|
|
31
|
+
src: url('./fonts/crimson-text-latin-ext-400-normal.woff2') format('woff2');
|
|
32
|
+
unicode-range:
|
|
33
|
+
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
|
|
34
|
+
U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
|
|
35
|
+
U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
@font-face {
|
|
39
|
+
font-family: 'Crimson Text';
|
|
40
|
+
font-style: normal;
|
|
41
|
+
font-display: fallback;
|
|
42
|
+
font-weight: 400;
|
|
43
|
+
src: url('./fonts/crimson-text-latin-400-normal.woff2') format('woff2');
|
|
44
|
+
unicode-range:
|
|
45
|
+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
|
|
46
|
+
U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
|
|
47
|
+
U+2215, U+FEFF, U+FFFD;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
@font-face {
|
|
51
|
+
font-family: 'Crimson Text';
|
|
52
|
+
font-style: normal;
|
|
53
|
+
font-display: fallback;
|
|
54
|
+
font-weight: 600;
|
|
55
|
+
src: url('./fonts/crimson-text-vietnamese-600-normal.woff2') format('woff2');
|
|
56
|
+
unicode-range:
|
|
57
|
+
U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
|
|
58
|
+
U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
|
|
59
|
+
U+1EA0-1EF9, U+20AB;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
@font-face {
|
|
63
|
+
font-family: 'Crimson Text';
|
|
64
|
+
font-style: normal;
|
|
65
|
+
font-display: fallback;
|
|
66
|
+
font-weight: 600;
|
|
67
|
+
src: url('./fonts/crimson-text-latin-ext-600-normal.woff2') format('woff2');
|
|
68
|
+
unicode-range:
|
|
69
|
+
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
|
|
70
|
+
U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
|
|
71
|
+
U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
@font-face {
|
|
75
|
+
font-family: 'Crimson Text';
|
|
76
|
+
font-style: normal;
|
|
77
|
+
font-display: fallback;
|
|
78
|
+
font-weight: 600;
|
|
79
|
+
src: url('./fonts/crimson-text-latin-600-normal.woff2') format('woff2');
|
|
80
|
+
unicode-range:
|
|
81
|
+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
|
|
82
|
+
U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
|
|
83
|
+
U+2215, U+FEFF, U+FFFD;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
@font-face {
|
|
87
|
+
font-family: 'Crimson Text';
|
|
88
|
+
font-style: normal;
|
|
89
|
+
font-display: fallback;
|
|
90
|
+
font-weight: 700;
|
|
91
|
+
src: url('./fonts/crimson-text-vietnamese-700-normal.woff2') format('woff2');
|
|
92
|
+
unicode-range:
|
|
93
|
+
U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
|
|
94
|
+
U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
|
|
95
|
+
U+1EA0-1EF9, U+20AB;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
@font-face {
|
|
99
|
+
font-family: 'Crimson Text';
|
|
100
|
+
font-style: normal;
|
|
101
|
+
font-display: fallback;
|
|
102
|
+
font-weight: 700;
|
|
103
|
+
src: url('./fonts/crimson-text-latin-ext-700-normal.woff2') format('woff2');
|
|
104
|
+
unicode-range:
|
|
105
|
+
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
|
|
106
|
+
U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
|
|
107
|
+
U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
@font-face {
|
|
111
|
+
font-family: 'Crimson Text';
|
|
112
|
+
font-style: normal;
|
|
113
|
+
font-display: fallback;
|
|
114
|
+
font-weight: 700;
|
|
115
|
+
src: url('./fonts/crimson-text-latin-700-normal.woff2') format('woff2');
|
|
116
|
+
unicode-range:
|
|
117
|
+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
|
|
118
|
+
U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
|
|
119
|
+
U+2215, U+FEFF, U+FFFD;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
@font-face {
|
|
123
|
+
font-family: 'JetBrains Mono';
|
|
124
|
+
font-style: normal;
|
|
125
|
+
font-display: fallback;
|
|
126
|
+
font-weight: 400;
|
|
127
|
+
src: url('./fonts/jetbrains-mono-cyrillic-ext-400-normal.woff2')
|
|
128
|
+
format('woff2');
|
|
129
|
+
unicode-range:
|
|
130
|
+
U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
@font-face {
|
|
134
|
+
font-family: 'JetBrains Mono';
|
|
135
|
+
font-style: normal;
|
|
136
|
+
font-display: fallback;
|
|
137
|
+
font-weight: 400;
|
|
138
|
+
src: url('./fonts/jetbrains-mono-cyrillic-400-normal.woff2') format('woff2');
|
|
139
|
+
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
@font-face {
|
|
143
|
+
font-family: 'JetBrains Mono';
|
|
144
|
+
font-style: normal;
|
|
145
|
+
font-display: fallback;
|
|
146
|
+
font-weight: 400;
|
|
147
|
+
src: url('./fonts/jetbrains-mono-greek-400-normal.woff2') format('woff2');
|
|
148
|
+
unicode-range:
|
|
149
|
+
U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
@font-face {
|
|
153
|
+
font-family: 'JetBrains Mono';
|
|
154
|
+
font-style: normal;
|
|
155
|
+
font-display: fallback;
|
|
156
|
+
font-weight: 400;
|
|
157
|
+
src: url('./fonts/jetbrains-mono-vietnamese-400-normal.woff2') format('woff2');
|
|
158
|
+
unicode-range:
|
|
159
|
+
U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
|
|
160
|
+
U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
|
|
161
|
+
U+1EA0-1EF9, U+20AB;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
@font-face {
|
|
165
|
+
font-family: 'JetBrains Mono';
|
|
166
|
+
font-style: normal;
|
|
167
|
+
font-display: fallback;
|
|
168
|
+
font-weight: 400;
|
|
169
|
+
src: url('./fonts/jetbrains-mono-latin-ext-400-normal.woff2') format('woff2');
|
|
170
|
+
unicode-range:
|
|
171
|
+
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
|
|
172
|
+
U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
|
|
173
|
+
U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
@font-face {
|
|
177
|
+
font-family: 'JetBrains Mono';
|
|
178
|
+
font-style: normal;
|
|
179
|
+
font-display: fallback;
|
|
180
|
+
font-weight: 400;
|
|
181
|
+
src: url('./fonts/jetbrains-mono-latin-400-normal.woff2') format('woff2');
|
|
182
|
+
unicode-range:
|
|
183
|
+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
|
|
184
|
+
U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
|
|
185
|
+
U+2215, U+FEFF, U+FFFD;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
@font-face {
|
|
189
|
+
font-family: 'JetBrains Mono';
|
|
190
|
+
font-style: normal;
|
|
191
|
+
font-display: fallback;
|
|
192
|
+
font-weight: 500;
|
|
193
|
+
src: url('./fonts/jetbrains-mono-cyrillic-ext-500-normal.woff2')
|
|
194
|
+
format('woff2');
|
|
195
|
+
unicode-range:
|
|
196
|
+
U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
@font-face {
|
|
200
|
+
font-family: 'JetBrains Mono';
|
|
201
|
+
font-style: normal;
|
|
202
|
+
font-display: fallback;
|
|
203
|
+
font-weight: 500;
|
|
204
|
+
src: url('./fonts/jetbrains-mono-cyrillic-500-normal.woff2') format('woff2');
|
|
205
|
+
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
@font-face {
|
|
209
|
+
font-family: 'JetBrains Mono';
|
|
210
|
+
font-style: normal;
|
|
211
|
+
font-display: fallback;
|
|
212
|
+
font-weight: 500;
|
|
213
|
+
src: url('./fonts/jetbrains-mono-greek-500-normal.woff2') format('woff2');
|
|
214
|
+
unicode-range:
|
|
215
|
+
U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
@font-face {
|
|
219
|
+
font-family: 'JetBrains Mono';
|
|
220
|
+
font-style: normal;
|
|
221
|
+
font-display: fallback;
|
|
222
|
+
font-weight: 500;
|
|
223
|
+
src: url('./fonts/jetbrains-mono-vietnamese-500-normal.woff2') format('woff2');
|
|
224
|
+
unicode-range:
|
|
225
|
+
U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
|
|
226
|
+
U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
|
|
227
|
+
U+1EA0-1EF9, U+20AB;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
@font-face {
|
|
231
|
+
font-family: 'JetBrains Mono';
|
|
232
|
+
font-style: normal;
|
|
233
|
+
font-display: fallback;
|
|
234
|
+
font-weight: 500;
|
|
235
|
+
src: url('./fonts/jetbrains-mono-latin-ext-500-normal.woff2') format('woff2');
|
|
236
|
+
unicode-range:
|
|
237
|
+
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
|
|
238
|
+
U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
|
|
239
|
+
U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
@font-face {
|
|
243
|
+
font-family: 'JetBrains Mono';
|
|
244
|
+
font-style: normal;
|
|
245
|
+
font-display: fallback;
|
|
246
|
+
font-weight: 500;
|
|
247
|
+
src: url('./fonts/jetbrains-mono-latin-500-normal.woff2') format('woff2');
|
|
248
|
+
unicode-range:
|
|
249
|
+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
|
|
250
|
+
U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
|
|
251
|
+
U+2215, U+FEFF, U+FFFD;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
@font-face {
|
|
255
|
+
font-family: 'JetBrains Mono';
|
|
256
|
+
font-style: normal;
|
|
257
|
+
font-display: fallback;
|
|
258
|
+
font-weight: 600;
|
|
259
|
+
src: url('./fonts/jetbrains-mono-cyrillic-ext-600-normal.woff2')
|
|
260
|
+
format('woff2');
|
|
261
|
+
unicode-range:
|
|
262
|
+
U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
@font-face {
|
|
266
|
+
font-family: 'JetBrains Mono';
|
|
267
|
+
font-style: normal;
|
|
268
|
+
font-display: fallback;
|
|
269
|
+
font-weight: 600;
|
|
270
|
+
src: url('./fonts/jetbrains-mono-cyrillic-600-normal.woff2') format('woff2');
|
|
271
|
+
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
@font-face {
|
|
275
|
+
font-family: 'JetBrains Mono';
|
|
276
|
+
font-style: normal;
|
|
277
|
+
font-display: fallback;
|
|
278
|
+
font-weight: 600;
|
|
279
|
+
src: url('./fonts/jetbrains-mono-greek-600-normal.woff2') format('woff2');
|
|
280
|
+
unicode-range:
|
|
281
|
+
U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
@font-face {
|
|
285
|
+
font-family: 'JetBrains Mono';
|
|
286
|
+
font-style: normal;
|
|
287
|
+
font-display: fallback;
|
|
288
|
+
font-weight: 600;
|
|
289
|
+
src: url('./fonts/jetbrains-mono-vietnamese-600-normal.woff2') format('woff2');
|
|
290
|
+
unicode-range:
|
|
291
|
+
U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
|
|
292
|
+
U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
|
|
293
|
+
U+1EA0-1EF9, U+20AB;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
@font-face {
|
|
297
|
+
font-family: 'JetBrains Mono';
|
|
298
|
+
font-style: normal;
|
|
299
|
+
font-display: fallback;
|
|
300
|
+
font-weight: 600;
|
|
301
|
+
src: url('./fonts/jetbrains-mono-latin-ext-600-normal.woff2') format('woff2');
|
|
302
|
+
unicode-range:
|
|
303
|
+
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
|
|
304
|
+
U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
|
|
305
|
+
U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
@font-face {
|
|
309
|
+
font-family: 'JetBrains Mono';
|
|
310
|
+
font-style: normal;
|
|
311
|
+
font-display: fallback;
|
|
312
|
+
font-weight: 600;
|
|
313
|
+
src: url('./fonts/jetbrains-mono-latin-600-normal.woff2') format('woff2');
|
|
314
|
+
unicode-range:
|
|
315
|
+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
|
|
316
|
+
U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
|
|
317
|
+
U+2215, U+FEFF, U+FFFD;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
@font-face {
|
|
321
|
+
font-family: 'JetBrains Mono';
|
|
322
|
+
font-style: normal;
|
|
323
|
+
font-display: fallback;
|
|
324
|
+
font-weight: 700;
|
|
325
|
+
src: url('./fonts/jetbrains-mono-cyrillic-ext-700-normal.woff2')
|
|
326
|
+
format('woff2');
|
|
327
|
+
unicode-range:
|
|
328
|
+
U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
@font-face {
|
|
332
|
+
font-family: 'JetBrains Mono';
|
|
333
|
+
font-style: normal;
|
|
334
|
+
font-display: fallback;
|
|
335
|
+
font-weight: 700;
|
|
336
|
+
src: url('./fonts/jetbrains-mono-cyrillic-700-normal.woff2') format('woff2');
|
|
337
|
+
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
@font-face {
|
|
341
|
+
font-family: 'JetBrains Mono';
|
|
342
|
+
font-style: normal;
|
|
343
|
+
font-display: fallback;
|
|
344
|
+
font-weight: 700;
|
|
345
|
+
src: url('./fonts/jetbrains-mono-greek-700-normal.woff2') format('woff2');
|
|
346
|
+
unicode-range:
|
|
347
|
+
U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
@font-face {
|
|
351
|
+
font-family: 'JetBrains Mono';
|
|
352
|
+
font-style: normal;
|
|
353
|
+
font-display: fallback;
|
|
354
|
+
font-weight: 700;
|
|
355
|
+
src: url('./fonts/jetbrains-mono-vietnamese-700-normal.woff2') format('woff2');
|
|
356
|
+
unicode-range:
|
|
357
|
+
U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
|
|
358
|
+
U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
|
|
359
|
+
U+1EA0-1EF9, U+20AB;
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
@font-face {
|
|
363
|
+
font-family: 'JetBrains Mono';
|
|
364
|
+
font-style: normal;
|
|
365
|
+
font-display: fallback;
|
|
366
|
+
font-weight: 700;
|
|
367
|
+
src: url('./fonts/jetbrains-mono-latin-ext-700-normal.woff2') format('woff2');
|
|
368
|
+
unicode-range:
|
|
369
|
+
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
|
|
370
|
+
U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
|
|
371
|
+
U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
@font-face {
|
|
375
|
+
font-family: 'JetBrains Mono';
|
|
376
|
+
font-style: normal;
|
|
377
|
+
font-display: fallback;
|
|
378
|
+
font-weight: 700;
|
|
379
|
+
src: url('./fonts/jetbrains-mono-latin-700-normal.woff2') format('woff2');
|
|
380
|
+
unicode-range:
|
|
381
|
+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
|
|
382
|
+
U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
|
|
383
|
+
U+2215, U+FEFF, U+FFFD;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
@font-face {
|
|
387
|
+
font-family: 'Poppins';
|
|
388
|
+
font-style: normal;
|
|
389
|
+
font-display: fallback;
|
|
390
|
+
font-weight: 400;
|
|
391
|
+
src: url('./fonts/poppins-devanagari-400-normal.woff2') format('woff2');
|
|
392
|
+
unicode-range:
|
|
393
|
+
U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC,
|
|
394
|
+
U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
@font-face {
|
|
398
|
+
font-family: 'Poppins';
|
|
399
|
+
font-style: normal;
|
|
400
|
+
font-display: fallback;
|
|
401
|
+
font-weight: 400;
|
|
402
|
+
src: url('./fonts/poppins-latin-ext-400-normal.woff2') format('woff2');
|
|
403
|
+
unicode-range:
|
|
404
|
+
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
|
|
405
|
+
U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
|
|
406
|
+
U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
@font-face {
|
|
410
|
+
font-family: 'Poppins';
|
|
411
|
+
font-style: normal;
|
|
412
|
+
font-display: fallback;
|
|
413
|
+
font-weight: 400;
|
|
414
|
+
src: url('./fonts/poppins-latin-400-normal.woff2') format('woff2');
|
|
415
|
+
unicode-range:
|
|
416
|
+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
|
|
417
|
+
U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
|
|
418
|
+
U+2215, U+FEFF, U+FFFD;
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
@font-face {
|
|
422
|
+
font-family: 'Poppins';
|
|
423
|
+
font-style: normal;
|
|
424
|
+
font-display: fallback;
|
|
425
|
+
font-weight: 500;
|
|
426
|
+
src: url('./fonts/poppins-devanagari-500-normal.woff2') format('woff2');
|
|
427
|
+
unicode-range:
|
|
428
|
+
U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC,
|
|
429
|
+
U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
@font-face {
|
|
433
|
+
font-family: 'Poppins';
|
|
434
|
+
font-style: normal;
|
|
435
|
+
font-display: fallback;
|
|
436
|
+
font-weight: 500;
|
|
437
|
+
src: url('./fonts/poppins-latin-ext-500-normal.woff2') format('woff2');
|
|
438
|
+
unicode-range:
|
|
439
|
+
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
|
|
440
|
+
U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
|
|
441
|
+
U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
@font-face {
|
|
445
|
+
font-family: 'Poppins';
|
|
446
|
+
font-style: normal;
|
|
447
|
+
font-display: fallback;
|
|
448
|
+
font-weight: 500;
|
|
449
|
+
src: url('./fonts/poppins-latin-500-normal.woff2') format('woff2');
|
|
450
|
+
unicode-range:
|
|
451
|
+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
|
|
452
|
+
U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
|
|
453
|
+
U+2215, U+FEFF, U+FFFD;
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
@font-face {
|
|
457
|
+
font-family: 'Poppins';
|
|
458
|
+
font-style: normal;
|
|
459
|
+
font-display: fallback;
|
|
460
|
+
font-weight: 600;
|
|
461
|
+
src: url('./fonts/poppins-devanagari-600-normal.woff2') format('woff2');
|
|
462
|
+
unicode-range:
|
|
463
|
+
U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC,
|
|
464
|
+
U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
@font-face {
|
|
468
|
+
font-family: 'Poppins';
|
|
469
|
+
font-style: normal;
|
|
470
|
+
font-display: fallback;
|
|
471
|
+
font-weight: 600;
|
|
472
|
+
src: url('./fonts/poppins-latin-ext-600-normal.woff2') format('woff2');
|
|
473
|
+
unicode-range:
|
|
474
|
+
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
|
|
475
|
+
U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
|
|
476
|
+
U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
@font-face {
|
|
480
|
+
font-family: 'Poppins';
|
|
481
|
+
font-style: normal;
|
|
482
|
+
font-display: fallback;
|
|
483
|
+
font-weight: 600;
|
|
484
|
+
src: url('./fonts/poppins-latin-600-normal.woff2') format('woff2');
|
|
485
|
+
unicode-range:
|
|
486
|
+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
|
|
487
|
+
U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
|
|
488
|
+
U+2215, U+FEFF, U+FFFD;
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
@font-face {
|
|
492
|
+
font-family: 'Poppins';
|
|
493
|
+
font-style: normal;
|
|
494
|
+
font-display: fallback;
|
|
495
|
+
font-weight: 700;
|
|
496
|
+
src: url('./fonts/poppins-devanagari-700-normal.woff2') format('woff2');
|
|
497
|
+
unicode-range:
|
|
498
|
+
U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC,
|
|
499
|
+
U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
@font-face {
|
|
503
|
+
font-family: 'Poppins';
|
|
504
|
+
font-style: normal;
|
|
505
|
+
font-display: fallback;
|
|
506
|
+
font-weight: 700;
|
|
507
|
+
src: url('./fonts/poppins-latin-ext-700-normal.woff2') format('woff2');
|
|
508
|
+
unicode-range:
|
|
509
|
+
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
|
|
510
|
+
U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
|
|
511
|
+
U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
@font-face {
|
|
515
|
+
font-family: 'Poppins';
|
|
516
|
+
font-style: normal;
|
|
517
|
+
font-display: fallback;
|
|
518
|
+
font-weight: 700;
|
|
519
|
+
src: url('./fonts/poppins-latin-700-normal.woff2') format('woff2');
|
|
520
|
+
unicode-range:
|
|
521
|
+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
|
|
522
|
+
U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
|
|
523
|
+
U+2215, U+FEFF, U+FFFD;
|
|
524
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astryxdesign/theme-y2k",
|
|
3
|
-
"version": "0.7.17
|
|
3
|
+
"version": "0.7.17",
|
|
4
4
|
"displayName": "Y2K Theme",
|
|
5
5
|
"private": false,
|
|
6
6
|
"description": "Hot pinks, lime greens, and Poppins. Bubbly, playful, and unmistakably retro.",
|
|
@@ -59,6 +59,7 @@
|
|
|
59
59
|
"palette.config.json",
|
|
60
60
|
"fonts.css",
|
|
61
61
|
"fonts.css.d.ts",
|
|
62
|
+
"fonts",
|
|
62
63
|
"theme.css.d.ts",
|
|
63
64
|
"!**/*.test.*",
|
|
64
65
|
"!**/*.spec.js",
|
|
@@ -78,11 +79,11 @@
|
|
|
78
79
|
"lucide-react": "^1.66.0"
|
|
79
80
|
},
|
|
80
81
|
"peerDependencies": {
|
|
81
|
-
"@astryxdesign/core": "0.7.17
|
|
82
|
+
"@astryxdesign/core": "0.7.17",
|
|
82
83
|
"react": ">=19"
|
|
83
84
|
},
|
|
84
85
|
"devDependencies": {
|
|
85
|
-
"@astryxdesign/cli": "0.7.17
|
|
86
|
+
"@astryxdesign/cli": "0.7.17"
|
|
86
87
|
},
|
|
87
88
|
"module": "./dist/source.mjs",
|
|
88
89
|
"scripts": {
|
package/src/source.ts
CHANGED
package/src/y2kTheme.ts
CHANGED
|
@@ -48,8 +48,10 @@ const SURFACE_TEXT = {
|
|
|
48
48
|
};
|
|
49
49
|
|
|
50
50
|
/**
|
|
51
|
-
* The selector Core's TableRow gives a striped table's painted rows
|
|
52
|
-
* even rows, not counting expansion panels
|
|
51
|
+
* The selector Core's TableRow gives a striped table's painted rows: its
|
|
52
|
+
* even rows, not counting expansion panels. The striped-row rule repeats it
|
|
53
|
+
* under the row's `striped` state, so a plain table's rows keep the text
|
|
54
|
+
* around them.
|
|
53
55
|
*/
|
|
54
56
|
const STRIPED_ROW = ':nth-child(even of :not([data-expansion-panel]))';
|
|
55
57
|
|
|
@@ -80,7 +82,7 @@ const OWN_FILL_RULES: ReadonlyArray<readonly [string, string, string?]> = [
|
|
|
80
82
|
['avatar-group-overflow', 'base'],
|
|
81
83
|
['segmented-control-item', 'selected'],
|
|
82
84
|
['step-indicator', 'progress:not-started'],
|
|
83
|
-
['table-row', '
|
|
85
|
+
['table-row', 'striped', STRIPED_ROW],
|
|
84
86
|
['banner-content', 'base'],
|
|
85
87
|
['input-group-text', 'base'],
|
|
86
88
|
['text-input', 'base'],
|
|
@@ -246,6 +248,9 @@ const SECONDARY_COMPLEX_SELECTOR = {
|
|
|
246
248
|
SECONDARY_BUTTON[':hover'],
|
|
247
249
|
} as const;
|
|
248
250
|
|
|
251
|
+
/** The color modes y2k draws: light and dark. */
|
|
252
|
+
export const colorModes = ['light', 'dark'] as const;
|
|
253
|
+
|
|
249
254
|
export const y2kTheme = defineTheme({
|
|
250
255
|
name: 'y2k',
|
|
251
256
|
|
|
@@ -442,6 +447,9 @@ export const y2kTheme = defineTheme({
|
|
|
442
447
|
'--radius-container': '0px',
|
|
443
448
|
'--radius-page': '0px',
|
|
444
449
|
'--radius-full': '0px',
|
|
450
|
+
// Set, so a theme that extends Y2K and sets its own container radius
|
|
451
|
+
// keeps square chat surfaces.
|
|
452
|
+
'--radius-chat': '0px',
|
|
445
453
|
|
|
446
454
|
// =========================================================================
|
|
447
455
|
// Shadows — warm cream neutral
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026 Meta Platforms, Inc.
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|