@guardian/stand 0.0.7 → 0.0.8
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 +217 -23
- package/dist/fonts/OpenSans.css +327 -0
- package/dist/index.cjs +8 -0
- package/dist/index.js +4 -0
- package/dist/styleD/build/css/css/base/colors.css +3 -3
- package/dist/styleD/build/css/css/base/radius.css +12 -0
- package/dist/styleD/build/css/css/base/sizing.css +22 -0
- package/dist/styleD/build/css/css/base/spacing.css +36 -0
- package/dist/styleD/build/css/css/base/typography.css +16 -1
- package/dist/styleD/build/css/css/semantic/colors.css +10 -8
- package/dist/styleD/build/css/css/semantic/sizing.css +14 -0
- package/dist/styleD/build/css/css/semantic/typography.css +83 -76
- package/dist/styleD/build/typescript/base/colors.cjs +3 -3
- package/dist/styleD/build/typescript/base/colors.js +3 -3
- package/dist/styleD/build/typescript/base/radius.cjs +12 -0
- package/dist/styleD/build/typescript/base/radius.js +10 -0
- package/dist/styleD/build/typescript/base/sizing.cjs +22 -0
- package/dist/styleD/build/typescript/base/sizing.js +20 -0
- package/dist/styleD/build/typescript/base/spacing.cjs +36 -0
- package/dist/styleD/build/typescript/base/spacing.js +34 -0
- package/dist/styleD/build/typescript/base/typography.cjs +20 -5
- package/dist/styleD/build/typescript/base/typography.js +20 -5
- package/dist/styleD/build/typescript/semantic/colors.cjs +14 -12
- package/dist/styleD/build/typescript/semantic/colors.js +14 -12
- package/dist/styleD/build/typescript/semantic/sizing.cjs +20 -0
- package/dist/styleD/build/typescript/semantic/sizing.js +18 -0
- package/dist/styleD/build/typescript/semantic/typography.cjs +76 -342
- package/dist/styleD/build/typescript/semantic/typography.js +76 -342
- package/dist/styleD/utils/semantic/typography.cjs +2 -10
- package/dist/styleD/utils/semantic/typography.js +2 -10
- package/dist/types/index.d.ts +8 -0
- package/dist/types/styleD/build/typescript/base/colors.d.ts +3 -3
- package/dist/types/styleD/build/typescript/base/radius.d.ts +12 -0
- package/dist/types/styleD/build/typescript/base/sizing.d.ts +22 -0
- package/dist/types/styleD/build/typescript/base/spacing.d.ts +36 -0
- package/dist/types/styleD/build/typescript/base/typography.d.ts +18 -3
- package/dist/types/styleD/build/typescript/semantic/colors.d.ts +11 -9
- package/dist/types/styleD/build/typescript/semantic/sizing.d.ts +20 -0
- package/dist/types/styleD/build/typescript/semantic/typography.d.ts +38 -304
- package/dist/types/styleD/stories/base/Radius.d.ts +1 -0
- package/dist/types/styleD/stories/base/Sizing.d.ts +1 -0
- package/dist/types/styleD/stories/base/Spacing.d.ts +1 -0
- package/dist/types/styleD/stories/semantic/Sizing.d.ts +1 -0
- package/dist/types/styleD/utils/semantic/typography.d.ts +1 -8
- package/package.json +12 -7
|
@@ -0,0 +1,327 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Open Sans
|
|
3
|
+
*
|
|
4
|
+
* This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is available here: https://assets.guim.co.uk/fonts/open-sans/woff2/OFL.txt, and is also available with a FAQ at: https://openfontlicense.org/
|
|
5
|
+
* Latest versions of these fonts, and their wider family, are available here: https://fonts.google.com/specimen/Open+Sans
|
|
6
|
+
*
|
|
7
|
+
* If this file is updated, also update the hosted css file at: https://assets.guim.co.uk/fonts/open-sans/OpenSans.css
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
/* cyrillic-ext */
|
|
11
|
+
@font-face {
|
|
12
|
+
font-family: 'Open Sans';
|
|
13
|
+
font-style: italic;
|
|
14
|
+
font-weight: 300 800;
|
|
15
|
+
font-stretch: 75% 100%;
|
|
16
|
+
font-display: swap;
|
|
17
|
+
src: url(https://assets.guim.co.uk/fonts/open-sans/woff2/open-sans-v44-italic-cyrillic-ext.woff2)
|
|
18
|
+
format('woff2');
|
|
19
|
+
unicode-range:
|
|
20
|
+
U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
|
21
|
+
}
|
|
22
|
+
/* cyrillic */
|
|
23
|
+
@font-face {
|
|
24
|
+
font-family: 'Open Sans';
|
|
25
|
+
font-style: italic;
|
|
26
|
+
font-weight: 300 800;
|
|
27
|
+
font-stretch: 75% 100%;
|
|
28
|
+
font-display: swap;
|
|
29
|
+
src: url(https://assets.guim.co.uk/fonts/open-sans/woff2/open-sans-v44-italic-cyrillic.woff2)
|
|
30
|
+
format('woff2');
|
|
31
|
+
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
|
32
|
+
}
|
|
33
|
+
/* greek-ext */
|
|
34
|
+
@font-face {
|
|
35
|
+
font-family: 'Open Sans';
|
|
36
|
+
font-style: italic;
|
|
37
|
+
font-weight: 300 800;
|
|
38
|
+
font-stretch: 75% 100%;
|
|
39
|
+
font-display: swap;
|
|
40
|
+
src: url(https://assets.guim.co.uk/fonts/open-sans/woff2/open-sans-v44-italic-greek-ext.woff2)
|
|
41
|
+
format('woff2');
|
|
42
|
+
unicode-range: U+1F00-1FFF;
|
|
43
|
+
}
|
|
44
|
+
/* greek */
|
|
45
|
+
@font-face {
|
|
46
|
+
font-family: 'Open Sans';
|
|
47
|
+
font-style: italic;
|
|
48
|
+
font-weight: 300 800;
|
|
49
|
+
font-stretch: 75% 100%;
|
|
50
|
+
font-display: swap;
|
|
51
|
+
src: url(https://assets.guim.co.uk/fonts/open-sans/woff2/open-sans-v44-italic-greek.woff2)
|
|
52
|
+
format('woff2');
|
|
53
|
+
unicode-range:
|
|
54
|
+
U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
|
|
55
|
+
}
|
|
56
|
+
/* hebrew */
|
|
57
|
+
@font-face {
|
|
58
|
+
font-family: 'Open Sans';
|
|
59
|
+
font-style: italic;
|
|
60
|
+
font-weight: 300 800;
|
|
61
|
+
font-stretch: 75% 100%;
|
|
62
|
+
font-display: swap;
|
|
63
|
+
src: url(https://assets.guim.co.uk/fonts/open-sans/woff2/open-sans-v44-italic-hebrew.woff2)
|
|
64
|
+
format('woff2');
|
|
65
|
+
unicode-range:
|
|
66
|
+
U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
|
|
67
|
+
}
|
|
68
|
+
/* math */
|
|
69
|
+
@font-face {
|
|
70
|
+
font-family: 'Open Sans';
|
|
71
|
+
font-style: italic;
|
|
72
|
+
font-weight: 300 800;
|
|
73
|
+
font-stretch: 75% 100%;
|
|
74
|
+
font-display: swap;
|
|
75
|
+
src: url(https://assets.guim.co.uk/fonts/open-sans/woff2/open-sans-v44-italic-math.woff2)
|
|
76
|
+
format('woff2');
|
|
77
|
+
unicode-range:
|
|
78
|
+
U+0302-0303, U+0305, U+0307-0308, U+0310, U+0312, U+0315, U+031A,
|
|
79
|
+
U+0326-0327, U+032C, U+032F-0330, U+0332-0333, U+0338, U+033A, U+0346,
|
|
80
|
+
U+034D, U+0391-03A1, U+03A3-03A9, U+03B1-03C9, U+03D1, U+03D5-03D6,
|
|
81
|
+
U+03F0-03F1, U+03F4-03F5, U+2016-2017, U+2034-2038, U+203C, U+2040,
|
|
82
|
+
U+2043, U+2047, U+2050, U+2057, U+205F, U+2070-2071, U+2074-208E,
|
|
83
|
+
U+2090-209C, U+20D0-20DC, U+20E1, U+20E5-20EF, U+2100-2112, U+2114-2115,
|
|
84
|
+
U+2117-2121, U+2123-214F, U+2190, U+2192, U+2194-21AE, U+21B0-21E5,
|
|
85
|
+
U+21F1-21F2, U+21F4-2211, U+2213-2214, U+2216-22FF, U+2308-230B, U+2310,
|
|
86
|
+
U+2319, U+231C-2321, U+2336-237A, U+237C, U+2395, U+239B-23B7, U+23D0,
|
|
87
|
+
U+23DC-23E1, U+2474-2475, U+25AF, U+25B3, U+25B7, U+25BD, U+25C1,
|
|
88
|
+
U+25CA, U+25CC, U+25FB, U+266D-266F, U+27C0-27FF, U+2900-2AFF,
|
|
89
|
+
U+2B0E-2B11, U+2B30-2B4C, U+2BFE, U+3030, U+FF5B, U+FF5D, U+1D400-1D7FF,
|
|
90
|
+
U+1EE00-1EEFF;
|
|
91
|
+
}
|
|
92
|
+
/* symbols */
|
|
93
|
+
@font-face {
|
|
94
|
+
font-family: 'Open Sans';
|
|
95
|
+
font-style: italic;
|
|
96
|
+
font-weight: 300 800;
|
|
97
|
+
font-stretch: 75% 100%;
|
|
98
|
+
font-display: swap;
|
|
99
|
+
src: url(https://assets.guim.co.uk/fonts/open-sans/woff2/open-sans-v44-italic-symbols.woff2)
|
|
100
|
+
format('woff2');
|
|
101
|
+
unicode-range:
|
|
102
|
+
U+0001-000C, U+000E-001F, U+007F-009F, U+20DD-20E0, U+20E2-20E4,
|
|
103
|
+
U+2150-218F, U+2190, U+2192, U+2194-2199, U+21AF, U+21E6-21F0, U+21F3,
|
|
104
|
+
U+2218-2219, U+2299, U+22C4-22C6, U+2300-243F, U+2440-244A, U+2460-24FF,
|
|
105
|
+
U+25A0-27BF, U+2800-28FF, U+2921-2922, U+2981, U+29BF, U+29EB,
|
|
106
|
+
U+2B00-2BFF, U+4DC0-4DFF, U+FFF9-FFFB, U+10140-1018E, U+10190-1019C,
|
|
107
|
+
U+101A0, U+101D0-101FD, U+102E0-102FB, U+10E60-10E7E, U+1D2C0-1D2D3,
|
|
108
|
+
U+1D2E0-1D37F, U+1F000-1F0FF, U+1F100-1F1AD, U+1F1E6-1F1FF,
|
|
109
|
+
U+1F30D-1F30F, U+1F315, U+1F31C, U+1F31E, U+1F320-1F32C, U+1F336,
|
|
110
|
+
U+1F378, U+1F37D, U+1F382, U+1F393-1F39F, U+1F3A7-1F3A8, U+1F3AC-1F3AF,
|
|
111
|
+
U+1F3C2, U+1F3C4-1F3C6, U+1F3CA-1F3CE, U+1F3D4-1F3E0, U+1F3ED,
|
|
112
|
+
U+1F3F1-1F3F3, U+1F3F5-1F3F7, U+1F408, U+1F415, U+1F41F, U+1F426,
|
|
113
|
+
U+1F43F, U+1F441-1F442, U+1F444, U+1F446-1F449, U+1F44C-1F44E, U+1F453,
|
|
114
|
+
U+1F46A, U+1F47D, U+1F4A3, U+1F4B0, U+1F4B3, U+1F4B9, U+1F4BB, U+1F4BF,
|
|
115
|
+
U+1F4C8-1F4CB, U+1F4D6, U+1F4DA, U+1F4DF, U+1F4E3-1F4E6, U+1F4EA-1F4ED,
|
|
116
|
+
U+1F4F7, U+1F4F9-1F4FB, U+1F4FD-1F4FE, U+1F503, U+1F507-1F50B, U+1F50D,
|
|
117
|
+
U+1F512-1F513, U+1F53E-1F54A, U+1F54F-1F5FA, U+1F610, U+1F650-1F67F,
|
|
118
|
+
U+1F687, U+1F68D, U+1F691, U+1F694, U+1F698, U+1F6AD, U+1F6B2,
|
|
119
|
+
U+1F6B9-1F6BA, U+1F6BC, U+1F6C6-1F6CF, U+1F6D3-1F6D7, U+1F6E0-1F6EA,
|
|
120
|
+
U+1F6F0-1F6F3, U+1F6F7-1F6FC, U+1F700-1F7FF, U+1F800-1F80B,
|
|
121
|
+
U+1F810-1F847, U+1F850-1F859, U+1F860-1F887, U+1F890-1F8AD,
|
|
122
|
+
U+1F8B0-1F8BB, U+1F8C0-1F8C1, U+1F900-1F90B, U+1F93B, U+1F946, U+1F984,
|
|
123
|
+
U+1F996, U+1F9E9, U+1FA00-1FA6F, U+1FA70-1FA7C, U+1FA80-1FA89,
|
|
124
|
+
U+1FA8F-1FAC6, U+1FACE-1FADC, U+1FADF-1FAE9, U+1FAF0-1FAF8,
|
|
125
|
+
U+1FB00-1FBFF;
|
|
126
|
+
}
|
|
127
|
+
/* vietnamese */
|
|
128
|
+
@font-face {
|
|
129
|
+
font-family: 'Open Sans';
|
|
130
|
+
font-style: italic;
|
|
131
|
+
font-weight: 300 800;
|
|
132
|
+
font-stretch: 75% 100%;
|
|
133
|
+
font-display: swap;
|
|
134
|
+
src: url(https://assets.guim.co.uk/fonts/open-sans/woff2/open-sans-v44-italic-vietnamese.woff2)
|
|
135
|
+
format('woff2');
|
|
136
|
+
unicode-range:
|
|
137
|
+
U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
|
|
138
|
+
U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
|
|
139
|
+
U+1EA0-1EF9, U+20AB;
|
|
140
|
+
}
|
|
141
|
+
/* latin-ext */
|
|
142
|
+
@font-face {
|
|
143
|
+
font-family: 'Open Sans';
|
|
144
|
+
font-style: italic;
|
|
145
|
+
font-weight: 300 800;
|
|
146
|
+
font-stretch: 75% 100%;
|
|
147
|
+
font-display: swap;
|
|
148
|
+
src: url(https://assets.guim.co.uk/fonts/open-sans/woff2/open-sans-v44-italic-latin-ext.woff2)
|
|
149
|
+
format('woff2');
|
|
150
|
+
unicode-range:
|
|
151
|
+
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
|
|
152
|
+
U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
|
|
153
|
+
U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
154
|
+
}
|
|
155
|
+
/* latin */
|
|
156
|
+
@font-face {
|
|
157
|
+
font-family: 'Open Sans';
|
|
158
|
+
font-style: italic;
|
|
159
|
+
font-weight: 300 800;
|
|
160
|
+
font-stretch: 75% 100%;
|
|
161
|
+
font-display: swap;
|
|
162
|
+
src: url(https://assets.guim.co.uk/fonts/open-sans/woff2/open-sans-v44-italic-latin.woff2)
|
|
163
|
+
format('woff2');
|
|
164
|
+
unicode-range:
|
|
165
|
+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
|
|
166
|
+
U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
|
|
167
|
+
U+2212, U+2215, U+FEFF, U+FFFD;
|
|
168
|
+
}
|
|
169
|
+
/* cyrillic-ext */
|
|
170
|
+
@font-face {
|
|
171
|
+
font-family: 'Open Sans';
|
|
172
|
+
font-style: normal;
|
|
173
|
+
font-weight: 300 800;
|
|
174
|
+
font-stretch: 75% 100%;
|
|
175
|
+
font-display: swap;
|
|
176
|
+
src: url(https://assets.guim.co.uk/fonts/open-sans/woff2/open-sans-v44-normal-cyrillic-ext.woff2)
|
|
177
|
+
format('woff2');
|
|
178
|
+
unicode-range:
|
|
179
|
+
U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
|
180
|
+
}
|
|
181
|
+
/* cyrillic */
|
|
182
|
+
@font-face {
|
|
183
|
+
font-family: 'Open Sans';
|
|
184
|
+
font-style: normal;
|
|
185
|
+
font-weight: 300 800;
|
|
186
|
+
font-stretch: 75% 100%;
|
|
187
|
+
font-display: swap;
|
|
188
|
+
src: url(https://assets.guim.co.uk/fonts/open-sans/woff2/open-sans-v44-normal-cyrillic.woff2)
|
|
189
|
+
format('woff2');
|
|
190
|
+
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
|
191
|
+
}
|
|
192
|
+
/* greek-ext */
|
|
193
|
+
@font-face {
|
|
194
|
+
font-family: 'Open Sans';
|
|
195
|
+
font-style: normal;
|
|
196
|
+
font-weight: 300 800;
|
|
197
|
+
font-stretch: 75% 100%;
|
|
198
|
+
font-display: swap;
|
|
199
|
+
src: url(https://assets.guim.co.uk/fonts/open-sans/woff2/open-sans-v44-normal-greek-ext.woff2)
|
|
200
|
+
format('woff2');
|
|
201
|
+
unicode-range: U+1F00-1FFF;
|
|
202
|
+
}
|
|
203
|
+
/* greek */
|
|
204
|
+
@font-face {
|
|
205
|
+
font-family: 'Open Sans';
|
|
206
|
+
font-style: normal;
|
|
207
|
+
font-weight: 300 800;
|
|
208
|
+
font-stretch: 75% 100%;
|
|
209
|
+
font-display: swap;
|
|
210
|
+
src: url(https://assets.guim.co.uk/fonts/open-sans/woff2/open-sans-v44-normal-greek.woff2)
|
|
211
|
+
format('woff2');
|
|
212
|
+
unicode-range:
|
|
213
|
+
U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
|
|
214
|
+
}
|
|
215
|
+
/* hebrew */
|
|
216
|
+
@font-face {
|
|
217
|
+
font-family: 'Open Sans';
|
|
218
|
+
font-style: normal;
|
|
219
|
+
font-weight: 300 800;
|
|
220
|
+
font-stretch: 75% 100%;
|
|
221
|
+
font-display: swap;
|
|
222
|
+
src: url(https://assets.guim.co.uk/fonts/open-sans/woff2/open-sans-v44-normal-hebrew.woff2)
|
|
223
|
+
format('woff2');
|
|
224
|
+
unicode-range:
|
|
225
|
+
U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
|
|
226
|
+
}
|
|
227
|
+
/* math */
|
|
228
|
+
@font-face {
|
|
229
|
+
font-family: 'Open Sans';
|
|
230
|
+
font-style: normal;
|
|
231
|
+
font-weight: 300 800;
|
|
232
|
+
font-stretch: 75% 100%;
|
|
233
|
+
font-display: swap;
|
|
234
|
+
src: url(https://assets.guim.co.uk/fonts/open-sans/woff2/open-sans-v44-normal-math.woff2)
|
|
235
|
+
format('woff2');
|
|
236
|
+
unicode-range:
|
|
237
|
+
U+0302-0303, U+0305, U+0307-0308, U+0310, U+0312, U+0315, U+031A,
|
|
238
|
+
U+0326-0327, U+032C, U+032F-0330, U+0332-0333, U+0338, U+033A, U+0346,
|
|
239
|
+
U+034D, U+0391-03A1, U+03A3-03A9, U+03B1-03C9, U+03D1, U+03D5-03D6,
|
|
240
|
+
U+03F0-03F1, U+03F4-03F5, U+2016-2017, U+2034-2038, U+203C, U+2040,
|
|
241
|
+
U+2043, U+2047, U+2050, U+2057, U+205F, U+2070-2071, U+2074-208E,
|
|
242
|
+
U+2090-209C, U+20D0-20DC, U+20E1, U+20E5-20EF, U+2100-2112, U+2114-2115,
|
|
243
|
+
U+2117-2121, U+2123-214F, U+2190, U+2192, U+2194-21AE, U+21B0-21E5,
|
|
244
|
+
U+21F1-21F2, U+21F4-2211, U+2213-2214, U+2216-22FF, U+2308-230B, U+2310,
|
|
245
|
+
U+2319, U+231C-2321, U+2336-237A, U+237C, U+2395, U+239B-23B7, U+23D0,
|
|
246
|
+
U+23DC-23E1, U+2474-2475, U+25AF, U+25B3, U+25B7, U+25BD, U+25C1,
|
|
247
|
+
U+25CA, U+25CC, U+25FB, U+266D-266F, U+27C0-27FF, U+2900-2AFF,
|
|
248
|
+
U+2B0E-2B11, U+2B30-2B4C, U+2BFE, U+3030, U+FF5B, U+FF5D, U+1D400-1D7FF,
|
|
249
|
+
U+1EE00-1EEFF;
|
|
250
|
+
}
|
|
251
|
+
/* symbols */
|
|
252
|
+
@font-face {
|
|
253
|
+
font-family: 'Open Sans';
|
|
254
|
+
font-style: normal;
|
|
255
|
+
font-weight: 300 800;
|
|
256
|
+
font-stretch: 75% 100%;
|
|
257
|
+
font-display: swap;
|
|
258
|
+
src: url(https://assets.guim.co.uk/fonts/open-sans/woff2/open-sans-v44-normal-symbols.woff2)
|
|
259
|
+
format('woff2');
|
|
260
|
+
unicode-range:
|
|
261
|
+
U+0001-000C, U+000E-001F, U+007F-009F, U+20DD-20E0, U+20E2-20E4,
|
|
262
|
+
U+2150-218F, U+2190, U+2192, U+2194-2199, U+21AF, U+21E6-21F0, U+21F3,
|
|
263
|
+
U+2218-2219, U+2299, U+22C4-22C6, U+2300-243F, U+2440-244A, U+2460-24FF,
|
|
264
|
+
U+25A0-27BF, U+2800-28FF, U+2921-2922, U+2981, U+29BF, U+29EB,
|
|
265
|
+
U+2B00-2BFF, U+4DC0-4DFF, U+FFF9-FFFB, U+10140-1018E, U+10190-1019C,
|
|
266
|
+
U+101A0, U+101D0-101FD, U+102E0-102FB, U+10E60-10E7E, U+1D2C0-1D2D3,
|
|
267
|
+
U+1D2E0-1D37F, U+1F000-1F0FF, U+1F100-1F1AD, U+1F1E6-1F1FF,
|
|
268
|
+
U+1F30D-1F30F, U+1F315, U+1F31C, U+1F31E, U+1F320-1F32C, U+1F336,
|
|
269
|
+
U+1F378, U+1F37D, U+1F382, U+1F393-1F39F, U+1F3A7-1F3A8, U+1F3AC-1F3AF,
|
|
270
|
+
U+1F3C2, U+1F3C4-1F3C6, U+1F3CA-1F3CE, U+1F3D4-1F3E0, U+1F3ED,
|
|
271
|
+
U+1F3F1-1F3F3, U+1F3F5-1F3F7, U+1F408, U+1F415, U+1F41F, U+1F426,
|
|
272
|
+
U+1F43F, U+1F441-1F442, U+1F444, U+1F446-1F449, U+1F44C-1F44E, U+1F453,
|
|
273
|
+
U+1F46A, U+1F47D, U+1F4A3, U+1F4B0, U+1F4B3, U+1F4B9, U+1F4BB, U+1F4BF,
|
|
274
|
+
U+1F4C8-1F4CB, U+1F4D6, U+1F4DA, U+1F4DF, U+1F4E3-1F4E6, U+1F4EA-1F4ED,
|
|
275
|
+
U+1F4F7, U+1F4F9-1F4FB, U+1F4FD-1F4FE, U+1F503, U+1F507-1F50B, U+1F50D,
|
|
276
|
+
U+1F512-1F513, U+1F53E-1F54A, U+1F54F-1F5FA, U+1F610, U+1F650-1F67F,
|
|
277
|
+
U+1F687, U+1F68D, U+1F691, U+1F694, U+1F698, U+1F6AD, U+1F6B2,
|
|
278
|
+
U+1F6B9-1F6BA, U+1F6BC, U+1F6C6-1F6CF, U+1F6D3-1F6D7, U+1F6E0-1F6EA,
|
|
279
|
+
U+1F6F0-1F6F3, U+1F6F7-1F6FC, U+1F700-1F7FF, U+1F800-1F80B,
|
|
280
|
+
U+1F810-1F847, U+1F850-1F859, U+1F860-1F887, U+1F890-1F8AD,
|
|
281
|
+
U+1F8B0-1F8BB, U+1F8C0-1F8C1, U+1F900-1F90B, U+1F93B, U+1F946, U+1F984,
|
|
282
|
+
U+1F996, U+1F9E9, U+1FA00-1FA6F, U+1FA70-1FA7C, U+1FA80-1FA89,
|
|
283
|
+
U+1FA8F-1FAC6, U+1FACE-1FADC, U+1FADF-1FAE9, U+1FAF0-1FAF8,
|
|
284
|
+
U+1FB00-1FBFF;
|
|
285
|
+
}
|
|
286
|
+
/* vietnamese */
|
|
287
|
+
@font-face {
|
|
288
|
+
font-family: 'Open Sans';
|
|
289
|
+
font-style: normal;
|
|
290
|
+
font-weight: 300 800;
|
|
291
|
+
font-stretch: 75% 100%;
|
|
292
|
+
font-display: swap;
|
|
293
|
+
src: url(https://assets.guim.co.uk/fonts/open-sans/woff2/open-sans-v44-normal-vietnamese.woff2)
|
|
294
|
+
format('woff2');
|
|
295
|
+
unicode-range:
|
|
296
|
+
U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
|
|
297
|
+
U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
|
|
298
|
+
U+1EA0-1EF9, U+20AB;
|
|
299
|
+
}
|
|
300
|
+
/* latin-ext */
|
|
301
|
+
@font-face {
|
|
302
|
+
font-family: 'Open Sans';
|
|
303
|
+
font-style: normal;
|
|
304
|
+
font-weight: 300 800;
|
|
305
|
+
font-stretch: 75% 100%;
|
|
306
|
+
font-display: swap;
|
|
307
|
+
src: url(https://assets.guim.co.uk/fonts/open-sans/woff2/open-sans-v44-normal-latin-ext.woff2)
|
|
308
|
+
format('woff2');
|
|
309
|
+
unicode-range:
|
|
310
|
+
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
|
|
311
|
+
U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
|
|
312
|
+
U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
313
|
+
}
|
|
314
|
+
/* latin */
|
|
315
|
+
@font-face {
|
|
316
|
+
font-family: 'Open Sans';
|
|
317
|
+
font-style: normal;
|
|
318
|
+
font-weight: 300 800;
|
|
319
|
+
font-stretch: 75% 100%;
|
|
320
|
+
font-display: swap;
|
|
321
|
+
src: url(https://assets.guim.co.uk/fonts/open-sans/woff2/open-sans-v44-normal-latin.woff2)
|
|
322
|
+
format('woff2');
|
|
323
|
+
unicode-range:
|
|
324
|
+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
|
|
325
|
+
U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
|
|
326
|
+
U+2212, U+2215, U+FEFF, U+FFFD;
|
|
327
|
+
}
|
package/dist/index.cjs
CHANGED
|
@@ -5,8 +5,12 @@ var TagTable = require('./components/tag-picker/TagTable.cjs');
|
|
|
5
5
|
var TagAutocomplete = require('./components/tag-picker/TagAutocomplete.cjs');
|
|
6
6
|
var colors = require('./styleD/build/typescript/base/colors.cjs');
|
|
7
7
|
var typography = require('./styleD/build/typescript/base/typography.cjs');
|
|
8
|
+
var spacing = require('./styleD/build/typescript/base/spacing.cjs');
|
|
9
|
+
var sizing = require('./styleD/build/typescript/base/sizing.cjs');
|
|
10
|
+
var radius = require('./styleD/build/typescript/base/radius.cjs');
|
|
8
11
|
var colors$1 = require('./styleD/build/typescript/semantic/colors.cjs');
|
|
9
12
|
var typography$1 = require('./styleD/build/typescript/semantic/typography.cjs');
|
|
13
|
+
var sizing$1 = require('./styleD/build/typescript/semantic/sizing.cjs');
|
|
10
14
|
var typography$2 = require('./styleD/utils/semantic/typography.cjs');
|
|
11
15
|
|
|
12
16
|
|
|
@@ -16,7 +20,11 @@ exports.TagTable = TagTable.TagTable;
|
|
|
16
20
|
exports.TagAutocomplete = TagAutocomplete.TagAutocomplete;
|
|
17
21
|
exports.baseColors = colors.baseColors;
|
|
18
22
|
exports.baseTypography = typography.baseTypography;
|
|
23
|
+
exports.baseSpacing = spacing.baseSpacing;
|
|
24
|
+
exports.baseSizing = sizing.baseSizing;
|
|
25
|
+
exports.baseRadius = radius.baseRadius;
|
|
19
26
|
exports.semanticColors = colors$1.semanticColors;
|
|
20
27
|
exports.semanticTypography = typography$1.semanticTypography;
|
|
28
|
+
exports.semanticSizing = sizing$1.semanticSizing;
|
|
21
29
|
exports.convertTypographyToEmotionObjectStyle = typography$2.convertTypographyToEmotionObjectStyle;
|
|
22
30
|
exports.convertTypographyToEmotionStringStyle = typography$2.convertTypographyToEmotionStringStyle;
|
package/dist/index.js
CHANGED
|
@@ -3,6 +3,10 @@ export { TagTable } from './components/tag-picker/TagTable.js';
|
|
|
3
3
|
export { TagAutocomplete } from './components/tag-picker/TagAutocomplete.js';
|
|
4
4
|
export { baseColors } from './styleD/build/typescript/base/colors.js';
|
|
5
5
|
export { baseTypography } from './styleD/build/typescript/base/typography.js';
|
|
6
|
+
export { baseSpacing } from './styleD/build/typescript/base/spacing.js';
|
|
7
|
+
export { baseSizing } from './styleD/build/typescript/base/sizing.js';
|
|
8
|
+
export { baseRadius } from './styleD/build/typescript/base/radius.js';
|
|
6
9
|
export { semanticColors } from './styleD/build/typescript/semantic/colors.js';
|
|
7
10
|
export { semanticTypography } from './styleD/build/typescript/semantic/typography.js';
|
|
11
|
+
export { semanticSizing } from './styleD/build/typescript/semantic/sizing.js';
|
|
8
12
|
export { convertTypographyToEmotionObjectStyle, convertTypographyToEmotionStringStyle } from './styleD/utils/semantic/typography.js';
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
--base-colors-green-800: #cde4c9;
|
|
71
71
|
--base-colors-green-900: #edf5ec;
|
|
72
72
|
--base-colors-yellow-50: #433608;
|
|
73
|
-
--base-colors-yellow-100: #
|
|
73
|
+
--base-colors-yellow-100: #5b4a0b;
|
|
74
74
|
--base-colors-yellow-200: #9a7c11;
|
|
75
75
|
--base-colors-yellow-300: #c69f16;
|
|
76
76
|
--base-colors-yellow-400: #f1c21b;
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
--base-colors-yellow-800: #fbeebf;
|
|
81
81
|
--base-colors-yellow-900: #fef9e8;
|
|
82
82
|
--base-colors-orange-50: #45260e;
|
|
83
|
-
--base-colors-orange-100: #
|
|
83
|
+
--base-colors-orange-100: #693c16;
|
|
84
84
|
--base-colors-orange-200: #9d5621;
|
|
85
85
|
--base-colors-orange-300: #c96e2a;
|
|
86
86
|
--base-colors-orange-400: #f58633;
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
--base-colors-warm-purple-900: #f2eaf7;
|
|
112
112
|
--base-colors-cool-purple-50: #232740;
|
|
113
113
|
--base-colors-cool-purple-100: #394069;
|
|
114
|
-
--base-colors-cool-purple-200: #
|
|
114
|
+
--base-colors-cool-purple-200: #485084;
|
|
115
115
|
--base-colors-cool-purple-300: #6773bb;
|
|
116
116
|
--base-colors-cool-purple-400: #7d8ce4;
|
|
117
117
|
--base-colors-cool-purple-500: #94a1e9;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly, this file was auto-generated.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
:root {
|
|
6
|
+
--base-radius-corner-2-px: 2px;
|
|
7
|
+
--base-radius-corner-4-px: 4px;
|
|
8
|
+
--base-radius-corner-8-px: 8px;
|
|
9
|
+
--base-radius-corner-2-rem: 0.125rem;
|
|
10
|
+
--base-radius-corner-4-rem: 0.25rem;
|
|
11
|
+
--base-radius-corner-8-rem: 0.5rem;
|
|
12
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly, this file was auto-generated.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
:root {
|
|
6
|
+
--base-sizing-size-2-px: 2px;
|
|
7
|
+
--base-sizing-size-16-px: 16px;
|
|
8
|
+
--base-sizing-size-18-px: 18px;
|
|
9
|
+
--base-sizing-size-20-px: 20px;
|
|
10
|
+
--base-sizing-size-24-px: 24px;
|
|
11
|
+
--base-sizing-size-32-px: 32px;
|
|
12
|
+
--base-sizing-size-40-px: 40px;
|
|
13
|
+
--base-sizing-size-48-px: 48px;
|
|
14
|
+
--base-sizing-size-2-rem: 0.125rem;
|
|
15
|
+
--base-sizing-size-16-rem: 1rem;
|
|
16
|
+
--base-sizing-size-18-rem: 1.125rem;
|
|
17
|
+
--base-sizing-size-20-rem: 1.25rem;
|
|
18
|
+
--base-sizing-size-24-rem: 1.5rem;
|
|
19
|
+
--base-sizing-size-32-rem: 2rem;
|
|
20
|
+
--base-sizing-size-40-rem: 2.5rem;
|
|
21
|
+
--base-sizing-size-48-rem: 3rem;
|
|
22
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly, this file was auto-generated.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
:root {
|
|
6
|
+
--base-spacing-2-px: 2px;
|
|
7
|
+
--base-spacing-4-px: 4px;
|
|
8
|
+
--base-spacing-8-px: 8px;
|
|
9
|
+
--base-spacing-12-px: 12px;
|
|
10
|
+
--base-spacing-16-px: 16px;
|
|
11
|
+
--base-spacing-20-px: 20px;
|
|
12
|
+
--base-spacing-24-px: 24px;
|
|
13
|
+
--base-spacing-32-px: 32px;
|
|
14
|
+
--base-spacing-36-px: 36px;
|
|
15
|
+
--base-spacing-40-px: 40px;
|
|
16
|
+
--base-spacing-48-px: 48px;
|
|
17
|
+
--base-spacing-64-px: 64px;
|
|
18
|
+
--base-spacing-72-px: 72px;
|
|
19
|
+
--base-spacing-80-px: 80px;
|
|
20
|
+
--base-spacing-96-px: 96px;
|
|
21
|
+
--base-spacing-2-rem: 0.125rem;
|
|
22
|
+
--base-spacing-4-rem: 0.25rem;
|
|
23
|
+
--base-spacing-8-rem: 0.5rem;
|
|
24
|
+
--base-spacing-12-rem: 0.75rem;
|
|
25
|
+
--base-spacing-16-rem: 1rem;
|
|
26
|
+
--base-spacing-20-rem: 1.25rem;
|
|
27
|
+
--base-spacing-24-rem: 1.5rem;
|
|
28
|
+
--base-spacing-32-rem: 2rem;
|
|
29
|
+
--base-spacing-36-rem: 2.25rem;
|
|
30
|
+
--base-spacing-40-rem: 2.5rem;
|
|
31
|
+
--base-spacing-48-rem: 3rem;
|
|
32
|
+
--base-spacing-64-rem: 4rem;
|
|
33
|
+
--base-spacing-72-rem: 4.5rem;
|
|
34
|
+
--base-spacing-80-rem: 5rem;
|
|
35
|
+
--base-spacing-96-rem: 6rem;
|
|
36
|
+
}
|
|
@@ -18,9 +18,20 @@
|
|
|
18
18
|
--base-typography-size-36-px: 36px;
|
|
19
19
|
--base-typography-size-42-px: 42px;
|
|
20
20
|
--base-typography-size-48-px: 48px;
|
|
21
|
+
--base-typography-size-12-rem: 0.75rem;
|
|
22
|
+
--base-typography-size-14-rem: 0.875rem;
|
|
23
|
+
--base-typography-size-16-rem: 1rem;
|
|
24
|
+
--base-typography-size-18-rem: 1.125rem;
|
|
25
|
+
--base-typography-size-20-rem: 1.25rem;
|
|
26
|
+
--base-typography-size-24-rem: 1.5rem;
|
|
27
|
+
--base-typography-size-28-rem: 1.75rem;
|
|
28
|
+
--base-typography-size-32-rem: 2rem;
|
|
29
|
+
--base-typography-size-36-rem: 2.25rem;
|
|
30
|
+
--base-typography-size-42-rem: 2.625rem;
|
|
31
|
+
--base-typography-size-48-rem: 3rem;
|
|
32
|
+
--base-typography-weight-guardian-headline-bold: 700;
|
|
21
33
|
--base-typography-weight-guardian-text-egyptian-normal: 400;
|
|
22
34
|
--base-typography-weight-guardian-text-egyptian-bold: 700;
|
|
23
|
-
--base-typography-weight-guardian-headline-bold: 700;
|
|
24
35
|
--base-typography-weight-open-sans-light: 340;
|
|
25
36
|
--base-typography-weight-open-sans-normal: 460;
|
|
26
37
|
--base-typography-weight-open-sans-semi-bold: 600;
|
|
@@ -40,4 +51,8 @@
|
|
|
40
51
|
--base-typography-letter-spacing-denser-px: -0.5px;
|
|
41
52
|
--base-typography-letter-spacing-dense-px: -0.2px;
|
|
42
53
|
--base-typography-letter-spacing-default-px: 0px;
|
|
54
|
+
--base-typography-letter-spacing-densest-rem: -0.0625rem;
|
|
55
|
+
--base-typography-letter-spacing-denser-rem: -0.03125rem;
|
|
56
|
+
--base-typography-letter-spacing-dense-rem: -0.0125rem;
|
|
57
|
+
--base-typography-letter-spacing-default-rem: 0rem;
|
|
43
58
|
}
|
|
@@ -3,15 +3,18 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
:root {
|
|
6
|
-
--semantic-colors-text-
|
|
7
|
-
--semantic-colors-text-
|
|
8
|
-
--semantic-colors-text-tertiary: #666666;
|
|
6
|
+
--semantic-colors-text-default: #000000;
|
|
7
|
+
--semantic-colors-text-subdued: #545454;
|
|
9
8
|
--semantic-colors-text-inverse-default: #dcdcdc;
|
|
10
|
-
--semantic-colors-text-inverse-
|
|
11
|
-
--semantic-colors-text-inverse-tertiary: #aeaeae;
|
|
9
|
+
--semantic-colors-text-inverse-subdued: #cccccc;
|
|
12
10
|
--semantic-colors-text-inverse-strong: #ffffff;
|
|
13
|
-
--semantic-colors-text-
|
|
11
|
+
--semantic-colors-text-error: #8c2113;
|
|
12
|
+
--semantic-colors-text-warning: #433608;
|
|
14
13
|
--semantic-colors-text-success: #326528;
|
|
14
|
+
--semantic-colors-text-information: #00344e;
|
|
15
|
+
--semantic-colors-text-disabled: #999999;
|
|
16
|
+
--semantic-colors-bg-default-on-dark: #121212;
|
|
17
|
+
--semantic-colors-bg-default-on-light: #ffffff;
|
|
15
18
|
--semantic-colors-surface-light-1: #f6f6f6;
|
|
16
19
|
--semantic-colors-surface-light-2: #ededed;
|
|
17
20
|
--semantic-colors-surface-dark-1: #333333;
|
|
@@ -19,9 +22,8 @@
|
|
|
19
22
|
--semantic-colors-border-default: #8d8d8d;
|
|
20
23
|
--semantic-colors-border-strong: #545454;
|
|
21
24
|
--semantic-colors-border-inverse-strong: #ffffff;
|
|
22
|
-
--semantic-colors-bg-default-on-dark: #121212;
|
|
23
|
-
--semantic-colors-bg-default-on-light: #ffffff;
|
|
24
25
|
--semantic-colors-status-status-draft: #f1c21b;
|
|
25
26
|
--semantic-colors-status-status-live: #4e9e3e;
|
|
26
27
|
--semantic-colors-status-status-selected: #0072a9;
|
|
28
|
+
--semantic-colors-status-status-focused: #0072a9;
|
|
27
29
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly, this file was auto-generated.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
:root {
|
|
6
|
+
--semantic-sizing-height-xs: 1.5rem;
|
|
7
|
+
--semantic-sizing-height-sm: 2rem;
|
|
8
|
+
--semantic-sizing-height-md: 2.5rem;
|
|
9
|
+
--semantic-sizing-height-lg: 3rem;
|
|
10
|
+
--semantic-sizing-icon-sm: 1.125rem;
|
|
11
|
+
--semantic-sizing-icon-md: 1.25rem;
|
|
12
|
+
--semantic-sizing-icon-lg: 1.5rem;
|
|
13
|
+
--semantic-sizing-border-md: 0.125rem;
|
|
14
|
+
}
|