@hotosm/ui 2.1.3 → 3.0.0
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 +23 -10
- package/dist/assets/fonts/archivo-OFL.txt +93 -0
- package/dist/assets/fonts/archivo-latin-ext-wght-italic.woff2 +0 -0
- package/dist/assets/fonts/archivo-latin-ext-wght-normal.woff2 +0 -0
- package/dist/assets/fonts/archivo-latin-wght-italic.woff2 +0 -0
- package/dist/assets/fonts/archivo-latin-wght-normal.woff2 +0 -0
- package/dist/assets/fonts/archivo-vietnamese-wght-italic.woff2 +0 -0
- package/dist/assets/fonts/archivo-vietnamese-wght-normal.woff2 +0 -0
- package/dist/assets/fonts/barlow-OFL.txt +93 -0
- package/dist/assets/fonts/barlow-condensed-OFL.txt +93 -0
- package/dist/assets/fonts/barlow-condensed-latin-300-normal.woff2 +0 -0
- package/dist/assets/fonts/barlow-condensed-latin-400-normal.woff2 +0 -0
- package/dist/assets/fonts/barlow-condensed-latin-500-normal.woff2 +0 -0
- package/dist/assets/fonts/barlow-condensed-latin-700-normal.woff2 +0 -0
- package/dist/assets/fonts/barlow-condensed-latin-ext-300-normal.woff2 +0 -0
- package/dist/assets/fonts/barlow-condensed-latin-ext-400-normal.woff2 +0 -0
- package/dist/assets/fonts/barlow-condensed-latin-ext-500-normal.woff2 +0 -0
- package/dist/assets/fonts/barlow-condensed-latin-ext-700-normal.woff2 +0 -0
- package/dist/assets/fonts/barlow-condensed-vietnamese-300-normal.woff2 +0 -0
- package/dist/assets/fonts/barlow-condensed-vietnamese-400-normal.woff2 +0 -0
- package/dist/assets/fonts/barlow-condensed-vietnamese-500-normal.woff2 +0 -0
- package/dist/assets/fonts/barlow-condensed-vietnamese-700-normal.woff2 +0 -0
- package/dist/assets/fonts/barlow-latin-300-normal.woff2 +0 -0
- package/dist/assets/fonts/barlow-latin-400-normal.woff2 +0 -0
- package/dist/assets/fonts/barlow-latin-500-normal.woff2 +0 -0
- package/dist/assets/fonts/barlow-latin-700-normal.woff2 +0 -0
- package/dist/assets/fonts/barlow-latin-ext-300-normal.woff2 +0 -0
- package/dist/assets/fonts/barlow-latin-ext-400-normal.woff2 +0 -0
- package/dist/assets/fonts/barlow-latin-ext-500-normal.woff2 +0 -0
- package/dist/assets/fonts/barlow-latin-ext-700-normal.woff2 +0 -0
- package/dist/assets/fonts/barlow-vietnamese-300-normal.woff2 +0 -0
- package/dist/assets/fonts/barlow-vietnamese-400-normal.woff2 +0 -0
- package/dist/assets/fonts/barlow-vietnamese-500-normal.woff2 +0 -0
- package/dist/assets/fonts/barlow-vietnamese-700-normal.woff2 +0 -0
- package/dist/chunks/{chunk.R7BKNF25.js → chunk.7BYMVIPM.js} +1 -1
- package/dist/chunks/{chunk.347QGSW2.js → chunk.BAC53IGT.js} +1 -1
- package/dist/chunks/{chunk.TJOQKPXN.js → chunk.DFQYQQJP.js} +1 -1
- package/dist/chunks/{chunk.VSRVTIBV.js → chunk.JTJUFKO5.js} +1 -1
- package/dist/chunks/{chunk.DY7CT6FN.js → chunk.NP2E72A6.js} +1 -1
- package/dist/chunks/{chunk.B77WIT2F.js → chunk.WSSLY3L6.js} +1 -1
- package/dist/components/consent/consent.component.js +1 -1
- package/dist/components/consent/consent.js +1 -1
- package/dist/components/consent/consent.styles.js +1 -1
- package/dist/components/file-input-dropzone/file-input-dropzone.component.js +1 -1
- package/dist/components/file-input-dropzone/file-input-dropzone.js +1 -1
- package/dist/components/list-card/list-card.component.js +1 -1
- package/dist/components/list-card/list-card.js +1 -1
- package/dist/components/list-card/list-card.styles.js +1 -1
- package/dist/hotosm-ui.js +1 -1
- package/dist/style-core.css +1 -1
- package/dist/style.css +1 -1
- package/dist/themes/hot-font-face.css +354 -0
- package/dist/themes/hot.css +91 -111
- package/package.json +1 -1
|
@@ -0,0 +1,354 @@
|
|
|
1
|
+
/* HOT web fonts - Archivo (sans), Barlow (sans-variant), Barlow Condensed
|
|
2
|
+
(sans-variant-condensed). See https://docs.hotosm.org/decisions/0014-ui-fonts
|
|
3
|
+
|
|
4
|
+
Files are self-hosted woff2 subsets (latin, latin-ext, vietnamese) from
|
|
5
|
+
Fontsource, split with unicode-range so the browser only downloads the
|
|
6
|
+
subsets a page actually renders. Scripts these fonts do not cover (Arabic,
|
|
7
|
+
Devanagari, Ethiopic, CJK, Cyrillic...) fall through to the script-aware
|
|
8
|
+
system stacks in hot.css. */
|
|
9
|
+
|
|
10
|
+
/* Archivo (SIL OFL 1.1, see ../assets/fonts/archivo-OFL.txt) */
|
|
11
|
+
|
|
12
|
+
@font-face {
|
|
13
|
+
font-family: "Archivo";
|
|
14
|
+
font-style: normal;
|
|
15
|
+
font-weight: 100 900;
|
|
16
|
+
font-display: swap;
|
|
17
|
+
src: url("../assets/fonts/archivo-vietnamese-wght-normal.woff2") format("woff2-variations");
|
|
18
|
+
unicode-range:
|
|
19
|
+
U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301,
|
|
20
|
+
U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
@font-face {
|
|
24
|
+
font-family: "Archivo";
|
|
25
|
+
font-style: normal;
|
|
26
|
+
font-weight: 100 900;
|
|
27
|
+
font-display: swap;
|
|
28
|
+
src: url("../assets/fonts/archivo-latin-ext-wght-normal.woff2") format("woff2-variations");
|
|
29
|
+
unicode-range:
|
|
30
|
+
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
|
|
31
|
+
U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
|
|
32
|
+
U+A720-A7FF;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
@font-face {
|
|
36
|
+
font-family: "Archivo";
|
|
37
|
+
font-style: normal;
|
|
38
|
+
font-weight: 100 900;
|
|
39
|
+
font-display: swap;
|
|
40
|
+
src: url("../assets/fonts/archivo-latin-wght-normal.woff2") format("woff2-variations");
|
|
41
|
+
unicode-range:
|
|
42
|
+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
|
|
43
|
+
U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
@font-face {
|
|
47
|
+
font-family: "Archivo";
|
|
48
|
+
font-style: italic;
|
|
49
|
+
font-weight: 100 900;
|
|
50
|
+
font-display: swap;
|
|
51
|
+
src: url("../assets/fonts/archivo-vietnamese-wght-italic.woff2") format("woff2-variations");
|
|
52
|
+
unicode-range:
|
|
53
|
+
U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301,
|
|
54
|
+
U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
@font-face {
|
|
58
|
+
font-family: "Archivo";
|
|
59
|
+
font-style: italic;
|
|
60
|
+
font-weight: 100 900;
|
|
61
|
+
font-display: swap;
|
|
62
|
+
src: url("../assets/fonts/archivo-latin-ext-wght-italic.woff2") format("woff2-variations");
|
|
63
|
+
unicode-range:
|
|
64
|
+
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
|
|
65
|
+
U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
|
|
66
|
+
U+A720-A7FF;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
@font-face {
|
|
70
|
+
font-family: "Archivo";
|
|
71
|
+
font-style: italic;
|
|
72
|
+
font-weight: 100 900;
|
|
73
|
+
font-display: swap;
|
|
74
|
+
src: url("../assets/fonts/archivo-latin-wght-italic.woff2") format("woff2-variations");
|
|
75
|
+
unicode-range:
|
|
76
|
+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
|
|
77
|
+
U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/* Barlow (SIL OFL 1.1, see ../assets/fonts/barlow-OFL.txt) */
|
|
81
|
+
|
|
82
|
+
@font-face {
|
|
83
|
+
font-family: "Barlow";
|
|
84
|
+
font-style: normal;
|
|
85
|
+
font-weight: 300;
|
|
86
|
+
font-display: swap;
|
|
87
|
+
src: url("../assets/fonts/barlow-vietnamese-300-normal.woff2") format("woff2");
|
|
88
|
+
unicode-range:
|
|
89
|
+
U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301,
|
|
90
|
+
U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
@font-face {
|
|
94
|
+
font-family: "Barlow";
|
|
95
|
+
font-style: normal;
|
|
96
|
+
font-weight: 300;
|
|
97
|
+
font-display: swap;
|
|
98
|
+
src: url("../assets/fonts/barlow-latin-ext-300-normal.woff2") format("woff2");
|
|
99
|
+
unicode-range:
|
|
100
|
+
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
|
|
101
|
+
U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
|
|
102
|
+
U+A720-A7FF;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
@font-face {
|
|
106
|
+
font-family: "Barlow";
|
|
107
|
+
font-style: normal;
|
|
108
|
+
font-weight: 300;
|
|
109
|
+
font-display: swap;
|
|
110
|
+
src: url("../assets/fonts/barlow-latin-300-normal.woff2") format("woff2");
|
|
111
|
+
unicode-range:
|
|
112
|
+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
|
|
113
|
+
U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
@font-face {
|
|
117
|
+
font-family: "Barlow";
|
|
118
|
+
font-style: normal;
|
|
119
|
+
font-weight: 400;
|
|
120
|
+
font-display: swap;
|
|
121
|
+
src: url("../assets/fonts/barlow-vietnamese-400-normal.woff2") format("woff2");
|
|
122
|
+
unicode-range:
|
|
123
|
+
U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301,
|
|
124
|
+
U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
@font-face {
|
|
128
|
+
font-family: "Barlow";
|
|
129
|
+
font-style: normal;
|
|
130
|
+
font-weight: 400;
|
|
131
|
+
font-display: swap;
|
|
132
|
+
src: url("../assets/fonts/barlow-latin-ext-400-normal.woff2") format("woff2");
|
|
133
|
+
unicode-range:
|
|
134
|
+
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
|
|
135
|
+
U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
|
|
136
|
+
U+A720-A7FF;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
@font-face {
|
|
140
|
+
font-family: "Barlow";
|
|
141
|
+
font-style: normal;
|
|
142
|
+
font-weight: 400;
|
|
143
|
+
font-display: swap;
|
|
144
|
+
src: url("../assets/fonts/barlow-latin-400-normal.woff2") format("woff2");
|
|
145
|
+
unicode-range:
|
|
146
|
+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
|
|
147
|
+
U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
@font-face {
|
|
151
|
+
font-family: "Barlow";
|
|
152
|
+
font-style: normal;
|
|
153
|
+
font-weight: 500;
|
|
154
|
+
font-display: swap;
|
|
155
|
+
src: url("../assets/fonts/barlow-vietnamese-500-normal.woff2") format("woff2");
|
|
156
|
+
unicode-range:
|
|
157
|
+
U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301,
|
|
158
|
+
U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
@font-face {
|
|
162
|
+
font-family: "Barlow";
|
|
163
|
+
font-style: normal;
|
|
164
|
+
font-weight: 500;
|
|
165
|
+
font-display: swap;
|
|
166
|
+
src: url("../assets/fonts/barlow-latin-ext-500-normal.woff2") format("woff2");
|
|
167
|
+
unicode-range:
|
|
168
|
+
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
|
|
169
|
+
U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
|
|
170
|
+
U+A720-A7FF;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
@font-face {
|
|
174
|
+
font-family: "Barlow";
|
|
175
|
+
font-style: normal;
|
|
176
|
+
font-weight: 500;
|
|
177
|
+
font-display: swap;
|
|
178
|
+
src: url("../assets/fonts/barlow-latin-500-normal.woff2") format("woff2");
|
|
179
|
+
unicode-range:
|
|
180
|
+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
|
|
181
|
+
U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
@font-face {
|
|
185
|
+
font-family: "Barlow";
|
|
186
|
+
font-style: normal;
|
|
187
|
+
font-weight: 700;
|
|
188
|
+
font-display: swap;
|
|
189
|
+
src: url("../assets/fonts/barlow-vietnamese-700-normal.woff2") format("woff2");
|
|
190
|
+
unicode-range:
|
|
191
|
+
U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301,
|
|
192
|
+
U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
@font-face {
|
|
196
|
+
font-family: "Barlow";
|
|
197
|
+
font-style: normal;
|
|
198
|
+
font-weight: 700;
|
|
199
|
+
font-display: swap;
|
|
200
|
+
src: url("../assets/fonts/barlow-latin-ext-700-normal.woff2") format("woff2");
|
|
201
|
+
unicode-range:
|
|
202
|
+
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
|
|
203
|
+
U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
|
|
204
|
+
U+A720-A7FF;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
@font-face {
|
|
208
|
+
font-family: "Barlow";
|
|
209
|
+
font-style: normal;
|
|
210
|
+
font-weight: 700;
|
|
211
|
+
font-display: swap;
|
|
212
|
+
src: url("../assets/fonts/barlow-latin-700-normal.woff2") format("woff2");
|
|
213
|
+
unicode-range:
|
|
214
|
+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
|
|
215
|
+
U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
/* Barlow Condensed (SIL OFL 1.1, see ../assets/fonts/barlow-condensed-OFL.txt) */
|
|
219
|
+
|
|
220
|
+
@font-face {
|
|
221
|
+
font-family: "Barlow Condensed";
|
|
222
|
+
font-style: normal;
|
|
223
|
+
font-weight: 300;
|
|
224
|
+
font-display: swap;
|
|
225
|
+
src: url("../assets/fonts/barlow-condensed-vietnamese-300-normal.woff2") format("woff2");
|
|
226
|
+
unicode-range:
|
|
227
|
+
U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301,
|
|
228
|
+
U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
@font-face {
|
|
232
|
+
font-family: "Barlow Condensed";
|
|
233
|
+
font-style: normal;
|
|
234
|
+
font-weight: 300;
|
|
235
|
+
font-display: swap;
|
|
236
|
+
src: url("../assets/fonts/barlow-condensed-latin-ext-300-normal.woff2") format("woff2");
|
|
237
|
+
unicode-range:
|
|
238
|
+
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
|
|
239
|
+
U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
|
|
240
|
+
U+A720-A7FF;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
@font-face {
|
|
244
|
+
font-family: "Barlow Condensed";
|
|
245
|
+
font-style: normal;
|
|
246
|
+
font-weight: 300;
|
|
247
|
+
font-display: swap;
|
|
248
|
+
src: url("../assets/fonts/barlow-condensed-latin-300-normal.woff2") format("woff2");
|
|
249
|
+
unicode-range:
|
|
250
|
+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
|
|
251
|
+
U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
@font-face {
|
|
255
|
+
font-family: "Barlow Condensed";
|
|
256
|
+
font-style: normal;
|
|
257
|
+
font-weight: 400;
|
|
258
|
+
font-display: swap;
|
|
259
|
+
src: url("../assets/fonts/barlow-condensed-vietnamese-400-normal.woff2") format("woff2");
|
|
260
|
+
unicode-range:
|
|
261
|
+
U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301,
|
|
262
|
+
U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
@font-face {
|
|
266
|
+
font-family: "Barlow Condensed";
|
|
267
|
+
font-style: normal;
|
|
268
|
+
font-weight: 400;
|
|
269
|
+
font-display: swap;
|
|
270
|
+
src: url("../assets/fonts/barlow-condensed-latin-ext-400-normal.woff2") format("woff2");
|
|
271
|
+
unicode-range:
|
|
272
|
+
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
|
|
273
|
+
U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
|
|
274
|
+
U+A720-A7FF;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
@font-face {
|
|
278
|
+
font-family: "Barlow Condensed";
|
|
279
|
+
font-style: normal;
|
|
280
|
+
font-weight: 400;
|
|
281
|
+
font-display: swap;
|
|
282
|
+
src: url("../assets/fonts/barlow-condensed-latin-400-normal.woff2") format("woff2");
|
|
283
|
+
unicode-range:
|
|
284
|
+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
|
|
285
|
+
U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
@font-face {
|
|
289
|
+
font-family: "Barlow Condensed";
|
|
290
|
+
font-style: normal;
|
|
291
|
+
font-weight: 500;
|
|
292
|
+
font-display: swap;
|
|
293
|
+
src: url("../assets/fonts/barlow-condensed-vietnamese-500-normal.woff2") format("woff2");
|
|
294
|
+
unicode-range:
|
|
295
|
+
U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301,
|
|
296
|
+
U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
@font-face {
|
|
300
|
+
font-family: "Barlow Condensed";
|
|
301
|
+
font-style: normal;
|
|
302
|
+
font-weight: 500;
|
|
303
|
+
font-display: swap;
|
|
304
|
+
src: url("../assets/fonts/barlow-condensed-latin-ext-500-normal.woff2") format("woff2");
|
|
305
|
+
unicode-range:
|
|
306
|
+
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
|
|
307
|
+
U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
|
|
308
|
+
U+A720-A7FF;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
@font-face {
|
|
312
|
+
font-family: "Barlow Condensed";
|
|
313
|
+
font-style: normal;
|
|
314
|
+
font-weight: 500;
|
|
315
|
+
font-display: swap;
|
|
316
|
+
src: url("../assets/fonts/barlow-condensed-latin-500-normal.woff2") format("woff2");
|
|
317
|
+
unicode-range:
|
|
318
|
+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
|
|
319
|
+
U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
@font-face {
|
|
323
|
+
font-family: "Barlow Condensed";
|
|
324
|
+
font-style: normal;
|
|
325
|
+
font-weight: 700;
|
|
326
|
+
font-display: swap;
|
|
327
|
+
src: url("../assets/fonts/barlow-condensed-vietnamese-700-normal.woff2") format("woff2");
|
|
328
|
+
unicode-range:
|
|
329
|
+
U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301,
|
|
330
|
+
U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
@font-face {
|
|
334
|
+
font-family: "Barlow Condensed";
|
|
335
|
+
font-style: normal;
|
|
336
|
+
font-weight: 700;
|
|
337
|
+
font-display: swap;
|
|
338
|
+
src: url("../assets/fonts/barlow-condensed-latin-ext-700-normal.woff2") format("woff2");
|
|
339
|
+
unicode-range:
|
|
340
|
+
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
|
|
341
|
+
U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
|
|
342
|
+
U+A720-A7FF;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
@font-face {
|
|
346
|
+
font-family: "Barlow Condensed";
|
|
347
|
+
font-style: normal;
|
|
348
|
+
font-weight: 700;
|
|
349
|
+
font-display: swap;
|
|
350
|
+
src: url("../assets/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2");
|
|
351
|
+
unicode-range:
|
|
352
|
+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
|
|
353
|
+
U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
354
|
+
}
|
package/dist/themes/hot.css
CHANGED
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
/* HOT theme */
|
|
2
2
|
|
|
3
|
-
/* :root makes them available globally */
|
|
4
3
|
:root,
|
|
5
|
-
/* :host is for Web Components and shadow DOM scopes */
|
|
6
4
|
:host,
|
|
7
|
-
/* .hot-theme-light allows scoping if you apply that class conditionally */
|
|
8
5
|
.hot-theme-light {
|
|
9
6
|
/*
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
* Color primitives
|
|
8
|
+
*/
|
|
12
9
|
|
|
13
10
|
/* red - red */
|
|
14
11
|
|
|
@@ -17,11 +14,11 @@
|
|
|
17
14
|
--hot-color-red-800: #b83032;
|
|
18
15
|
--hot-color-red-700: #c53639;
|
|
19
16
|
--hot-color-red-600: #d73f3f;
|
|
20
|
-
--hot-color-red-500: #
|
|
17
|
+
--hot-color-red-500: #f34d47;
|
|
21
18
|
--hot-color-red-400: #ed5c5e;
|
|
22
19
|
--hot-color-red-300: #e27a7d;
|
|
23
20
|
--hot-color-red-200: #ec9ea1;
|
|
24
|
-
--hot-color-red-100: #
|
|
21
|
+
--hot-color-red-100: #fdd0d6;
|
|
25
22
|
--hot-color-red-50: #feecef;
|
|
26
23
|
|
|
27
24
|
/* rose - persian plum */
|
|
@@ -49,7 +46,7 @@
|
|
|
49
46
|
--hot-color-yellow-400: #fae62e;
|
|
50
47
|
--hot-color-yellow-300: #fdeb51;
|
|
51
48
|
--hot-color-yellow-200: #fff072;
|
|
52
|
-
--hot-color-yellow-100: #
|
|
49
|
+
--hot-color-yellow-100: #fff59b;
|
|
53
50
|
--hot-color-yellow-50: #fff9c3;
|
|
54
51
|
|
|
55
52
|
/* blue - space cadet */
|
|
@@ -94,25 +91,28 @@
|
|
|
94
91
|
--hot-color-gray-100: #e1e0e1;
|
|
95
92
|
--hot-color-gray-50: #f3f3f3;
|
|
96
93
|
|
|
94
|
+
/* neutral - black & white */
|
|
95
|
+
|
|
96
|
+
--hot-color-neutral-1000: #000;
|
|
97
|
+
--hot-color-neutral-0: #fff;
|
|
98
|
+
|
|
97
99
|
/*
|
|
98
|
-
*
|
|
99
|
-
* These map primitive colors to semantic meanings
|
|
100
|
+
* Color tokens
|
|
100
101
|
*/
|
|
101
102
|
|
|
102
|
-
|
|
103
|
-
--hot-color-primary-950: var(--hot-color-
|
|
104
|
-
--hot-color-primary-900: var(--hot-color-
|
|
105
|
-
--hot-color-primary-800: var(--hot-color-
|
|
106
|
-
--hot-color-primary-700: var(--hot-color-
|
|
107
|
-
--hot-color-primary-600: var(--hot-color-
|
|
108
|
-
--hot-color-primary-500: var(--hot-color-
|
|
109
|
-
--hot-color-primary-400: var(--hot-color-
|
|
110
|
-
--hot-color-primary-300: var(--hot-color-
|
|
111
|
-
--hot-color-primary-200: var(--hot-color-
|
|
112
|
-
--hot-color-primary-100: var(--hot-color-
|
|
113
|
-
--hot-color-primary-50: var(--hot-color-
|
|
114
|
-
|
|
115
|
-
/* Danger colors (red) */
|
|
103
|
+
--hot-color-primary-1000: var(--hot-color-neutral-1000);
|
|
104
|
+
--hot-color-primary-950: var(--hot-color-neutral-1000);
|
|
105
|
+
--hot-color-primary-900: var(--hot-color-gray-900);
|
|
106
|
+
--hot-color-primary-800: var(--hot-color-gray-800);
|
|
107
|
+
--hot-color-primary-700: var(--hot-color-gray-700);
|
|
108
|
+
--hot-color-primary-600: var(--hot-color-gray-600);
|
|
109
|
+
--hot-color-primary-500: var(--hot-color-gray-500);
|
|
110
|
+
--hot-color-primary-400: var(--hot-color-gray-400);
|
|
111
|
+
--hot-color-primary-300: var(--hot-color-gray-300);
|
|
112
|
+
--hot-color-primary-200: var(--hot-color-gray-200);
|
|
113
|
+
--hot-color-primary-100: var(--hot-color-gray-100);
|
|
114
|
+
--hot-color-primary-50: var(--hot-color-gray-50);
|
|
115
|
+
|
|
116
116
|
--hot-color-danger-950: var(--hot-color-red-950);
|
|
117
117
|
--hot-color-danger-900: var(--hot-color-red-900);
|
|
118
118
|
--hot-color-danger-800: var(--hot-color-red-800);
|
|
@@ -125,7 +125,30 @@
|
|
|
125
125
|
--hot-color-danger-100: var(--hot-color-red-100);
|
|
126
126
|
--hot-color-danger-50: var(--hot-color-red-50);
|
|
127
127
|
|
|
128
|
-
|
|
128
|
+
--hot-color-neutral-950: var(--hot-color-blue-950);
|
|
129
|
+
--hot-color-neutral-900: var(--hot-color-blue-900);
|
|
130
|
+
--hot-color-neutral-800: var(--hot-color-blue-800);
|
|
131
|
+
--hot-color-neutral-700: var(--hot-color-blue-700);
|
|
132
|
+
--hot-color-neutral-600: var(--hot-color-blue-600);
|
|
133
|
+
--hot-color-neutral-500: var(--hot-color-blue-500);
|
|
134
|
+
--hot-color-neutral-400: var(--hot-color-blue-400);
|
|
135
|
+
--hot-color-neutral-300: var(--hot-color-blue-300);
|
|
136
|
+
--hot-color-neutral-200: var(--hot-color-blue-200);
|
|
137
|
+
--hot-color-neutral-100: var(--hot-color-blue-100);
|
|
138
|
+
--hot-color-neutral-50: var(--hot-color-blue-50);
|
|
139
|
+
|
|
140
|
+
--hot-color-success-950: var(--hot-color-cyan-950);
|
|
141
|
+
--hot-color-success-900: var(--hot-color-cyan-900);
|
|
142
|
+
--hot-color-success-800: var(--hot-color-cyan-800);
|
|
143
|
+
--hot-color-success-700: var(--hot-color-cyan-700);
|
|
144
|
+
--hot-color-success-600: var(--hot-color-cyan-600);
|
|
145
|
+
--hot-color-success-500: var(--hot-color-cyan-500);
|
|
146
|
+
--hot-color-success-400: var(--hot-color-cyan-400);
|
|
147
|
+
--hot-color-success-300: var(--hot-color-cyan-300);
|
|
148
|
+
--hot-color-success-200: var(--hot-color-cyan-200);
|
|
149
|
+
--hot-color-success-100: var(--hot-color-cyan-100);
|
|
150
|
+
--hot-color-success-50: var(--hot-color-cyan-50);
|
|
151
|
+
|
|
129
152
|
--hot-color-warning-950: var(--hot-color-yellow-950);
|
|
130
153
|
--hot-color-warning-900: var(--hot-color-yellow-900);
|
|
131
154
|
--hot-color-warning-800: var(--hot-color-yellow-800);
|
|
@@ -138,67 +161,37 @@
|
|
|
138
161
|
--hot-color-warning-100: var(--hot-color-yellow-100);
|
|
139
162
|
--hot-color-warning-50: var(--hot-color-yellow-50);
|
|
140
163
|
|
|
141
|
-
/* Success colors (green) */
|
|
142
|
-
--hot-color-success-950: #2b514f;
|
|
143
|
-
--hot-color-success-900: #366361;
|
|
144
|
-
--hot-color-success-800: #408789;
|
|
145
|
-
--hot-color-success-700: #459ba0;
|
|
146
|
-
--hot-color-success-600: #4bb1b9;
|
|
147
|
-
--hot-color-success-500: #50c1cb;
|
|
148
|
-
--hot-color-success-400: #58cbd1;
|
|
149
|
-
--hot-color-success-300: #6ad4d9;
|
|
150
|
-
--hot-color-success-200: #8fe1e3;
|
|
151
|
-
--hot-color-success-100: #b9eded;
|
|
152
|
-
--hot-color-success-50: #e3f8f8;
|
|
153
|
-
|
|
154
|
-
/* Neutral colors (gray) */
|
|
155
|
-
--hot-color-neutral-1000: #ffffff;
|
|
156
|
-
--hot-color-neutral-950: var(--hot-color-gray-950);
|
|
157
|
-
--hot-color-neutral-900: var(--hot-color-gray-900);
|
|
158
|
-
--hot-color-neutral-800: var(--hot-color-gray-800);
|
|
159
|
-
--hot-color-neutral-700: var(--hot-color-gray-700);
|
|
160
|
-
--hot-color-neutral-600: var(--hot-color-gray-600);
|
|
161
|
-
--hot-color-neutral-500: var(--hot-color-gray-500);
|
|
162
|
-
--hot-color-neutral-400: var(--hot-color-gray-400);
|
|
163
|
-
--hot-color-neutral-300: var(--hot-color-gray-300);
|
|
164
|
-
--hot-color-neutral-200: var(--hot-color-gray-200);
|
|
165
|
-
--hot-color-neutral-100: var(--hot-color-gray-100);
|
|
166
|
-
--hot-color-neutral-50: var(--hot-color-gray-50);
|
|
167
|
-
--hot-color-neutral-0: #000000;
|
|
168
|
-
|
|
169
164
|
/*
|
|
170
165
|
* Typography
|
|
171
166
|
*/
|
|
172
167
|
|
|
173
|
-
/* Fonts -
|
|
168
|
+
/* Fonts - Archivo / Barlow (HOT brand) for Latin, then named fallbacks:
|
|
169
|
+
Helvetica (Apple) and Noto (Android / ChromeOS) cover most other scripts.
|
|
170
|
+
Add :lang() rules only when a new language needs them, after testing.
|
|
171
|
+
See https://docs.hotosm.org/decisions/0014-ui-fonts */
|
|
174
172
|
--hot-font-sans:
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
--hot-font-sans-variant:
|
|
178
|
-
|
|
179
|
-
|
|
173
|
+
"Archivo", Helvetica, Noto, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
|
|
174
|
+
sans-serif, system-ui;
|
|
175
|
+
--hot-font-sans-variant:
|
|
176
|
+
"Barlow", Helvetica, Noto, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif,
|
|
177
|
+
system-ui;
|
|
178
|
+
--hot-font-sans-variant-condensed:
|
|
179
|
+
"Barlow Condensed", Helvetica, Noto, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
|
|
180
|
+
sans-serif, system-ui;
|
|
181
|
+
--hot-font-serif: Georgia, "Times New Roman", "Noto Sans", serif, system-ui;
|
|
180
182
|
--hot-font-mono:
|
|
181
|
-
Menlo, Monaco, Consolas, "Courier New", monospace, Consolas, "Liberation Mono", Menlo,
|
|
183
|
+
Menlo, Monaco, Consolas, "Courier New", monospace, Consolas, "Liberation Mono", Menlo, system-ui;
|
|
182
184
|
|
|
183
185
|
/* Font sizes */
|
|
184
|
-
--hot-font-size-2x-small: 0.625rem;
|
|
185
|
-
/*
|
|
186
|
-
--hot-font-size-
|
|
187
|
-
/*
|
|
188
|
-
--hot-font-size-
|
|
189
|
-
/*
|
|
190
|
-
--hot-font-size-
|
|
191
|
-
/*
|
|
192
|
-
--hot-font-size-large:
|
|
193
|
-
/* 20px */
|
|
194
|
-
--hot-font-size-x-large: 1.5rem;
|
|
195
|
-
/* 24px */
|
|
196
|
-
--hot-font-size-2x-large: 2.25rem;
|
|
197
|
-
/* 36px */
|
|
198
|
-
--hot-font-size-3x-large: 3rem;
|
|
199
|
-
/* 48px */
|
|
200
|
-
--hot-font-size-4x-large: 4.5rem;
|
|
201
|
-
/* 72px */
|
|
186
|
+
--hot-font-size-2x-small: 0.625rem; /* 10px */
|
|
187
|
+
--hot-font-size-x-small: 0.75rem; /* 12px */
|
|
188
|
+
--hot-font-size-small: 0.875rem; /* 14px */
|
|
189
|
+
--hot-font-size-medium: 1rem; /* 16px */
|
|
190
|
+
--hot-font-size-large: 1.25rem; /* 20px */
|
|
191
|
+
--hot-font-size-x-large: 1.5rem; /* 24px */
|
|
192
|
+
--hot-font-size-2x-large: 2.25rem; /* 36px */
|
|
193
|
+
--hot-font-size-3x-large: 3rem; /* 48px */
|
|
194
|
+
--hot-font-size-4x-large: 4.5rem; /* 72px */
|
|
202
195
|
|
|
203
196
|
/* Font weights */
|
|
204
197
|
--hot-font-weight-light: 300;
|
|
@@ -215,49 +208,36 @@
|
|
|
215
208
|
|
|
216
209
|
/* Line heights */
|
|
217
210
|
--hot-line-height-denser: 1;
|
|
218
|
-
--hot-line-height-dense: 1.
|
|
219
|
-
--hot-line-height-normal: 1.
|
|
220
|
-
--hot-line-height-loose: 2
|
|
221
|
-
--hot-line-height-looser: 2.
|
|
211
|
+
--hot-line-height-dense: 1.2;
|
|
212
|
+
--hot-line-height-normal: 1.4;
|
|
213
|
+
--hot-line-height-loose: 2;
|
|
214
|
+
--hot-line-height-looser: 2.4;
|
|
222
215
|
|
|
223
216
|
/*
|
|
224
217
|
* Spacings
|
|
225
218
|
*/
|
|
226
219
|
|
|
227
|
-
--hot-spacing-3x-small: 0.125rem;
|
|
228
|
-
/*
|
|
229
|
-
--hot-spacing-
|
|
230
|
-
/*
|
|
231
|
-
--hot-spacing-
|
|
232
|
-
/*
|
|
233
|
-
--hot-spacing-
|
|
234
|
-
/*
|
|
235
|
-
--hot-spacing-
|
|
236
|
-
/*
|
|
237
|
-
--hot-spacing-large: 1.25rem;
|
|
238
|
-
/* 20px */
|
|
239
|
-
--hot-spacing-x-large: 1.75rem;
|
|
240
|
-
/* 28px */
|
|
241
|
-
--hot-spacing-2x-large: 2.25rem;
|
|
242
|
-
/* 36px */
|
|
243
|
-
--hot-spacing-3x-large: 3rem;
|
|
244
|
-
/* 48px */
|
|
245
|
-
--hot-spacing-4x-large: 4.5rem;
|
|
246
|
-
/* 72px */
|
|
220
|
+
--hot-spacing-3x-small: 0.125rem; /* 2px */
|
|
221
|
+
--hot-spacing-2x-small: 0.25rem; /* 4px */
|
|
222
|
+
--hot-spacing-x-small: 0.5rem; /* 8px */
|
|
223
|
+
--hot-spacing-small: 0.75rem; /* 12px */
|
|
224
|
+
--hot-spacing-medium: 1rem; /* 16px */
|
|
225
|
+
--hot-spacing-large: 1.25rem; /* 20px */
|
|
226
|
+
--hot-spacing-x-large: 1.75rem; /* 28px */
|
|
227
|
+
--hot-spacing-2x-large: 2.25rem; /* 36px */
|
|
228
|
+
--hot-spacing-3x-large: 3rem; /* 48px */
|
|
229
|
+
--hot-spacing-4x-large: 4.5rem; /* 72px */
|
|
247
230
|
|
|
248
231
|
/*
|
|
249
232
|
* Border radius
|
|
250
233
|
*/
|
|
251
234
|
|
|
252
|
-
--hot-border-radius-small: 0.1875rem;
|
|
253
|
-
/*
|
|
254
|
-
--hot-border-radius-
|
|
255
|
-
/*
|
|
256
|
-
--hot-border-radius-large:
|
|
257
|
-
|
|
258
|
-
--hot-border-radius-x-large: 1rem;
|
|
259
|
-
/* 16px */
|
|
260
|
-
--hot-border-radius-circle: 50%;
|
|
235
|
+
--hot-border-radius-small: 0.1875rem; /* 3px */
|
|
236
|
+
--hot-border-radius-medium: 0.25rem; /* 4px */
|
|
237
|
+
--hot-border-radius-large: 0.5rem; /* 8px */
|
|
238
|
+
--hot-border-radius-x-large: 1rem; /* 16px */
|
|
239
|
+
--hot-border-radius-2x-large: 3rem; /* 48px */
|
|
240
|
+
--hot-border-radius-circle: 100%;
|
|
261
241
|
--hot-border-radius-pill: 9999px;
|
|
262
242
|
}
|
|
263
243
|
|