@carbon/type 10.9.3 → 10.10.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/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@carbon/type",
|
|
3
3
|
"description": "Typography for digital and software products using the Carbon Design System",
|
|
4
|
-
"version": "10.
|
|
4
|
+
"version": "10.10.0",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"module": "es/index.js",
|
|
@@ -33,11 +33,11 @@
|
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@carbon/import-once": "^10.3.0",
|
|
36
|
-
"@carbon/layout": "^10.
|
|
36
|
+
"@carbon/layout": "^10.9.0"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@carbon/bundler": "^10.
|
|
40
|
-
"@carbon/test-utils": "^10.
|
|
39
|
+
"@carbon/bundler": "^10.7.0",
|
|
40
|
+
"@carbon/test-utils": "^10.8.0",
|
|
41
41
|
"change-case": "^4.1.1",
|
|
42
42
|
"rimraf": "^3.0.0"
|
|
43
43
|
},
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"sassDir": "scss",
|
|
48
48
|
"needs": "^1.3.0"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "6105a7b4c7f182f429109acbb1e6e01806de053f"
|
|
51
51
|
}
|
|
@@ -0,0 +1,302 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright IBM Corp. 2018, 2018
|
|
3
|
+
//
|
|
4
|
+
// This source code is licensed under the Apache-2.0 license found in the
|
|
5
|
+
// LICENSE file in the root directory of this source tree.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
@import 'settings';
|
|
9
|
+
|
|
10
|
+
/// Sans `@font-face`'s
|
|
11
|
+
/// @access public
|
|
12
|
+
/// @group @carbon/type
|
|
13
|
+
@mixin carbon--font-face-sans-condensed {
|
|
14
|
+
// .woff support for IE11
|
|
15
|
+
@font-face {
|
|
16
|
+
font-family: 'IBM Plex Sans Condensed';
|
|
17
|
+
font-style: italic;
|
|
18
|
+
font-weight: 300;
|
|
19
|
+
src: local('IBM Plex Sans Condensed Light Italic'),
|
|
20
|
+
local('IBMPlexSansCond-LightItalic'),
|
|
21
|
+
url(https://fonts.gstatic.com/s/ibmplexsanscondensed/v6/Gg8iN4UfRSqiPg7Jn2ZI12V4DCEwkj1E4LVeHYas8AfppYA.woff)
|
|
22
|
+
format('woff');
|
|
23
|
+
}
|
|
24
|
+
@font-face {
|
|
25
|
+
font-family: 'IBM Plex Sans Condensed';
|
|
26
|
+
font-style: italic;
|
|
27
|
+
font-weight: 400;
|
|
28
|
+
src: local('IBM Plex Sans Condensed Italic'),
|
|
29
|
+
local('IBMPlexSansCond-Italic'),
|
|
30
|
+
url(https://fonts.gstatic.com/s/ibmplexsanscondensed/v6/Gg8nN4UfRSqiPg7Jn2ZI12V4DCEwkj1E4LVeHYasyKg.woff)
|
|
31
|
+
format('woff');
|
|
32
|
+
}
|
|
33
|
+
@font-face {
|
|
34
|
+
font-family: 'IBM Plex Sans Condensed';
|
|
35
|
+
font-style: italic;
|
|
36
|
+
font-weight: 600;
|
|
37
|
+
src: local('IBM Plex Sans Condensed SemiBold Italic'),
|
|
38
|
+
local('IBMPlexSansCond-SemiBoldItalic'),
|
|
39
|
+
url(https://fonts.gstatic.com/s/ibmplexsanscondensed/v6/Gg8iN4UfRSqiPg7Jn2ZI12V4DCEwkj1E4LVeHYas8HPvpYA.woff)
|
|
40
|
+
format('woff');
|
|
41
|
+
}
|
|
42
|
+
@font-face {
|
|
43
|
+
font-family: 'IBM Plex Sans Condensed';
|
|
44
|
+
font-style: normal;
|
|
45
|
+
font-weight: 300;
|
|
46
|
+
src: local('IBM Plex Sans Condensed Light'), local('IBMPlexSansCond-Light'),
|
|
47
|
+
url(https://fonts.gstatic.com/s/ibmplexsanscondensed/v6/Gg8gN4UfRSqiPg7Jn2ZI12V4DCEwkj1E4LVeHY4C6ovo.woff)
|
|
48
|
+
format('woff');
|
|
49
|
+
}
|
|
50
|
+
@font-face {
|
|
51
|
+
font-family: 'IBM Plex Sans Condensed';
|
|
52
|
+
font-style: normal;
|
|
53
|
+
font-weight: 400;
|
|
54
|
+
src: local('IBM Plex Sans Condensed'), local('IBMPlexSansCond'),
|
|
55
|
+
url(https://fonts.gstatic.com/s/ibmplexsanscondensed/v6/Gg8lN4UfRSqiPg7Jn2ZI12V4DCEwkj1E4LVeHbat.woff)
|
|
56
|
+
format('woff');
|
|
57
|
+
}
|
|
58
|
+
@font-face {
|
|
59
|
+
font-family: 'IBM Plex Sans Condensed';
|
|
60
|
+
font-style: normal;
|
|
61
|
+
font-weight: 600;
|
|
62
|
+
src: local('IBM Plex Sans Condensed SemiBold'),
|
|
63
|
+
local('IBMPlexSansCond-SemiBold'),
|
|
64
|
+
url(https://fonts.gstatic.com/s/ibmplexsanscondensed/v6/Gg8gN4UfRSqiPg7Jn2ZI12V4DCEwkj1E4LVeHY527Ivo.woff)
|
|
65
|
+
format('woff');
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/* vietnamese */
|
|
69
|
+
@font-face {
|
|
70
|
+
font-family: 'IBM Plex Sans Condensed';
|
|
71
|
+
font-style: italic;
|
|
72
|
+
font-weight: 300;
|
|
73
|
+
font-display: swap;
|
|
74
|
+
src: local('IBM Plex Sans Condensed Light Italic'),
|
|
75
|
+
local('IBMPlexSansCond-LightItalic'),
|
|
76
|
+
url(https://fonts.gstatic.com/s/ibmplexsanscondensed/v6/Gg8iN4UfRSqiPg7Jn2ZI12V4DCEwkj1E4LVeHYas8AfplYstEzi6D11GTg.woff2)
|
|
77
|
+
format('woff2');
|
|
78
|
+
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169,
|
|
79
|
+
U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
|
|
80
|
+
}
|
|
81
|
+
/* latin-ext */
|
|
82
|
+
@font-face {
|
|
83
|
+
font-family: 'IBM Plex Sans Condensed';
|
|
84
|
+
font-style: italic;
|
|
85
|
+
font-weight: 300;
|
|
86
|
+
font-display: swap;
|
|
87
|
+
src: local('IBM Plex Sans Condensed Light Italic'),
|
|
88
|
+
local('IBMPlexSansCond-LightItalic'),
|
|
89
|
+
url(https://fonts.gstatic.com/s/ibmplexsanscondensed/v6/Gg8iN4UfRSqiPg7Jn2ZI12V4DCEwkj1E4LVeHYas8AfplYotEzi6D11GTg.woff2)
|
|
90
|
+
format('woff2');
|
|
91
|
+
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
|
|
92
|
+
U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
93
|
+
}
|
|
94
|
+
/* latin */
|
|
95
|
+
@font-face {
|
|
96
|
+
font-family: 'IBM Plex Sans Condensed';
|
|
97
|
+
font-style: italic;
|
|
98
|
+
font-weight: 300;
|
|
99
|
+
font-display: swap;
|
|
100
|
+
src: local('IBM Plex Sans Condensed Light Italic'),
|
|
101
|
+
local('IBMPlexSansCond-LightItalic'),
|
|
102
|
+
url(https://fonts.gstatic.com/s/ibmplexsanscondensed/v6/Gg8iN4UfRSqiPg7Jn2ZI12V4DCEwkj1E4LVeHYas8AfplYQtEzi6D10.woff2)
|
|
103
|
+
format('woff2');
|
|
104
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
|
105
|
+
U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212,
|
|
106
|
+
U+2215, U+FEFF, U+FFFD;
|
|
107
|
+
}
|
|
108
|
+
/* vietnamese */
|
|
109
|
+
@font-face {
|
|
110
|
+
font-family: 'IBM Plex Sans Condensed';
|
|
111
|
+
font-style: italic;
|
|
112
|
+
font-weight: 400;
|
|
113
|
+
font-display: swap;
|
|
114
|
+
src: local('IBM Plex Sans Condensed Italic'),
|
|
115
|
+
local('IBMPlexSansCond-Italic'),
|
|
116
|
+
url(https://fonts.gstatic.com/s/ibmplexsanscondensed/v6/Gg8nN4UfRSqiPg7Jn2ZI12V4DCEwkj1E4LVeHYas-KPLgKkPHhKABg.woff2)
|
|
117
|
+
format('woff2');
|
|
118
|
+
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169,
|
|
119
|
+
U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
|
|
120
|
+
}
|
|
121
|
+
/* latin-ext */
|
|
122
|
+
@font-face {
|
|
123
|
+
font-family: 'IBM Plex Sans Condensed';
|
|
124
|
+
font-style: italic;
|
|
125
|
+
font-weight: 400;
|
|
126
|
+
font-display: swap;
|
|
127
|
+
src: local('IBM Plex Sans Condensed Italic'),
|
|
128
|
+
local('IBMPlexSansCond-Italic'),
|
|
129
|
+
url(https://fonts.gstatic.com/s/ibmplexsanscondensed/v6/Gg8nN4UfRSqiPg7Jn2ZI12V4DCEwkj1E4LVeHYas-KLLgKkPHhKABg.woff2)
|
|
130
|
+
format('woff2');
|
|
131
|
+
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
|
|
132
|
+
U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
133
|
+
}
|
|
134
|
+
/* latin */
|
|
135
|
+
@font-face {
|
|
136
|
+
font-family: 'IBM Plex Sans Condensed';
|
|
137
|
+
font-style: italic;
|
|
138
|
+
font-weight: 400;
|
|
139
|
+
font-display: swap;
|
|
140
|
+
src: local('IBM Plex Sans Condensed Italic'),
|
|
141
|
+
local('IBMPlexSansCond-Italic'),
|
|
142
|
+
url(https://fonts.gstatic.com/s/ibmplexsanscondensed/v6/Gg8nN4UfRSqiPg7Jn2ZI12V4DCEwkj1E4LVeHYas-KzLgKkPHhI.woff2)
|
|
143
|
+
format('woff2');
|
|
144
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
|
145
|
+
U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212,
|
|
146
|
+
U+2215, U+FEFF, U+FFFD;
|
|
147
|
+
}
|
|
148
|
+
/* vietnamese */
|
|
149
|
+
@font-face {
|
|
150
|
+
font-family: 'IBM Plex Sans Condensed';
|
|
151
|
+
font-style: italic;
|
|
152
|
+
font-weight: 600;
|
|
153
|
+
font-display: swap;
|
|
154
|
+
src: local('IBM Plex Sans Condensed SemiBold Italic'),
|
|
155
|
+
local('IBMPlexSansCond-SemiBoldItalic'),
|
|
156
|
+
url(https://fonts.gstatic.com/s/ibmplexsanscondensed/v6/Gg8iN4UfRSqiPg7Jn2ZI12V4DCEwkj1E4LVeHYas8HPvlYstEzi6D11GTg.woff2)
|
|
157
|
+
format('woff2');
|
|
158
|
+
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169,
|
|
159
|
+
U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
|
|
160
|
+
}
|
|
161
|
+
/* latin-ext */
|
|
162
|
+
@font-face {
|
|
163
|
+
font-family: 'IBM Plex Sans Condensed';
|
|
164
|
+
font-style: italic;
|
|
165
|
+
font-weight: 600;
|
|
166
|
+
font-display: swap;
|
|
167
|
+
src: local('IBM Plex Sans Condensed SemiBold Italic'),
|
|
168
|
+
local('IBMPlexSansCond-SemiBoldItalic'),
|
|
169
|
+
url(https://fonts.gstatic.com/s/ibmplexsanscondensed/v6/Gg8iN4UfRSqiPg7Jn2ZI12V4DCEwkj1E4LVeHYas8HPvlYotEzi6D11GTg.woff2)
|
|
170
|
+
format('woff2');
|
|
171
|
+
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
|
|
172
|
+
U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
173
|
+
}
|
|
174
|
+
/* latin */
|
|
175
|
+
@font-face {
|
|
176
|
+
font-family: 'IBM Plex Sans Condensed';
|
|
177
|
+
font-style: italic;
|
|
178
|
+
font-weight: 600;
|
|
179
|
+
font-display: swap;
|
|
180
|
+
src: local('IBM Plex Sans Condensed SemiBold Italic'),
|
|
181
|
+
local('IBMPlexSansCond-SemiBoldItalic'),
|
|
182
|
+
url(https://fonts.gstatic.com/s/ibmplexsanscondensed/v6/Gg8iN4UfRSqiPg7Jn2ZI12V4DCEwkj1E4LVeHYas8HPvlYQtEzi6D10.woff2)
|
|
183
|
+
format('woff2');
|
|
184
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
|
185
|
+
U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212,
|
|
186
|
+
U+2215, U+FEFF, U+FFFD;
|
|
187
|
+
}
|
|
188
|
+
/* vietnamese */
|
|
189
|
+
@font-face {
|
|
190
|
+
font-family: 'IBM Plex Sans Condensed';
|
|
191
|
+
font-style: normal;
|
|
192
|
+
font-weight: 300;
|
|
193
|
+
font-display: swap;
|
|
194
|
+
src: local('IBM Plex Sans Condensed Light'), local('IBMPlexSansCond-Light'),
|
|
195
|
+
url(https://fonts.gstatic.com/s/ibmplexsanscondensed/v6/Gg8gN4UfRSqiPg7Jn2ZI12V4DCEwkj1E4LVeHY4C6rvjpYYnFBq4P1w.woff2)
|
|
196
|
+
format('woff2');
|
|
197
|
+
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169,
|
|
198
|
+
U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
|
|
199
|
+
}
|
|
200
|
+
/* latin-ext */
|
|
201
|
+
@font-face {
|
|
202
|
+
font-family: 'IBM Plex Sans Condensed';
|
|
203
|
+
font-style: normal;
|
|
204
|
+
font-weight: 300;
|
|
205
|
+
font-display: swap;
|
|
206
|
+
src: local('IBM Plex Sans Condensed Light'), local('IBMPlexSansCond-Light'),
|
|
207
|
+
url(https://fonts.gstatic.com/s/ibmplexsanscondensed/v6/Gg8gN4UfRSqiPg7Jn2ZI12V4DCEwkj1E4LVeHY4C6rvipYYnFBq4P1w.woff2)
|
|
208
|
+
format('woff2');
|
|
209
|
+
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
|
|
210
|
+
U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
211
|
+
}
|
|
212
|
+
/* latin */
|
|
213
|
+
@font-face {
|
|
214
|
+
font-family: 'IBM Plex Sans Condensed';
|
|
215
|
+
font-style: normal;
|
|
216
|
+
font-weight: 300;
|
|
217
|
+
font-display: swap;
|
|
218
|
+
src: local('IBM Plex Sans Condensed Light'), local('IBMPlexSansCond-Light'),
|
|
219
|
+
url(https://fonts.gstatic.com/s/ibmplexsanscondensed/v6/Gg8gN4UfRSqiPg7Jn2ZI12V4DCEwkj1E4LVeHY4C6rvspYYnFBq4.woff2)
|
|
220
|
+
format('woff2');
|
|
221
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
|
222
|
+
U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212,
|
|
223
|
+
U+2215, U+FEFF, U+FFFD;
|
|
224
|
+
}
|
|
225
|
+
/* vietnamese */
|
|
226
|
+
@font-face {
|
|
227
|
+
font-family: 'IBM Plex Sans Condensed';
|
|
228
|
+
font-style: normal;
|
|
229
|
+
font-weight: 400;
|
|
230
|
+
font-display: swap;
|
|
231
|
+
src: local('IBM Plex Sans Condensed'), local('IBMPlexSansCond'),
|
|
232
|
+
url(https://fonts.gstatic.com/s/ibmplexsanscondensed/v6/Gg8lN4UfRSqiPg7Jn2ZI12V4DCEwkj1E4LVeHYamyK7Bh4sNLhM.woff2)
|
|
233
|
+
format('woff2');
|
|
234
|
+
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169,
|
|
235
|
+
U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
|
|
236
|
+
}
|
|
237
|
+
/* latin-ext */
|
|
238
|
+
@font-face {
|
|
239
|
+
font-family: 'IBM Plex Sans Condensed';
|
|
240
|
+
font-style: normal;
|
|
241
|
+
font-weight: 400;
|
|
242
|
+
font-display: swap;
|
|
243
|
+
src: local('IBM Plex Sans Condensed'), local('IBMPlexSansCond'),
|
|
244
|
+
url(https://fonts.gstatic.com/s/ibmplexsanscondensed/v6/Gg8lN4UfRSqiPg7Jn2ZI12V4DCEwkj1E4LVeHYanyK7Bh4sNLhM.woff2)
|
|
245
|
+
format('woff2');
|
|
246
|
+
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
|
|
247
|
+
U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
248
|
+
}
|
|
249
|
+
/* latin */
|
|
250
|
+
@font-face {
|
|
251
|
+
font-family: 'IBM Plex Sans Condensed';
|
|
252
|
+
font-style: normal;
|
|
253
|
+
font-weight: 400;
|
|
254
|
+
font-display: swap;
|
|
255
|
+
src: local('IBM Plex Sans Condensed'), local('IBMPlexSansCond'),
|
|
256
|
+
url(https://fonts.gstatic.com/s/ibmplexsanscondensed/v6/Gg8lN4UfRSqiPg7Jn2ZI12V4DCEwkj1E4LVeHYapyK7Bh4sN.woff2)
|
|
257
|
+
format('woff2');
|
|
258
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
|
259
|
+
U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212,
|
|
260
|
+
U+2215, U+FEFF, U+FFFD;
|
|
261
|
+
}
|
|
262
|
+
/* vietnamese */
|
|
263
|
+
@font-face {
|
|
264
|
+
font-family: 'IBM Plex Sans Condensed';
|
|
265
|
+
font-style: normal;
|
|
266
|
+
font-weight: 600;
|
|
267
|
+
font-display: swap;
|
|
268
|
+
src: local('IBM Plex Sans Condensed SemiBold'),
|
|
269
|
+
local('IBMPlexSansCond-SemiBold'),
|
|
270
|
+
url(https://fonts.gstatic.com/s/ibmplexsanscondensed/v6/Gg8gN4UfRSqiPg7Jn2ZI12V4DCEwkj1E4LVeHY527LvjpYYnFBq4P1w.woff2)
|
|
271
|
+
format('woff2');
|
|
272
|
+
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169,
|
|
273
|
+
U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
|
|
274
|
+
}
|
|
275
|
+
/* latin-ext */
|
|
276
|
+
@font-face {
|
|
277
|
+
font-family: 'IBM Plex Sans Condensed';
|
|
278
|
+
font-style: normal;
|
|
279
|
+
font-weight: 600;
|
|
280
|
+
font-display: swap;
|
|
281
|
+
src: local('IBM Plex Sans Condensed SemiBold'),
|
|
282
|
+
local('IBMPlexSansCond-SemiBold'),
|
|
283
|
+
url(https://fonts.gstatic.com/s/ibmplexsanscondensed/v6/Gg8gN4UfRSqiPg7Jn2ZI12V4DCEwkj1E4LVeHY527LvipYYnFBq4P1w.woff2)
|
|
284
|
+
format('woff2');
|
|
285
|
+
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
|
|
286
|
+
U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
287
|
+
}
|
|
288
|
+
/* latin */
|
|
289
|
+
@font-face {
|
|
290
|
+
font-family: 'IBM Plex Sans Condensed';
|
|
291
|
+
font-style: normal;
|
|
292
|
+
font-weight: 600;
|
|
293
|
+
font-display: swap;
|
|
294
|
+
src: local('IBM Plex Sans Condensed SemiBold'),
|
|
295
|
+
local('IBMPlexSansCond-SemiBold'),
|
|
296
|
+
url(https://fonts.gstatic.com/s/ibmplexsanscondensed/v6/Gg8gN4UfRSqiPg7Jn2ZI12V4DCEwkj1E4LVeHY527LvspYYnFBq4.woff2)
|
|
297
|
+
format('woff2');
|
|
298
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
|
299
|
+
U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212,
|
|
300
|
+
U+2215, U+FEFF, U+FFFD;
|
|
301
|
+
}
|
|
302
|
+
}
|
|
@@ -0,0 +1,302 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright IBM Corp. 2018, 2018
|
|
3
|
+
//
|
|
4
|
+
// This source code is licensed under the Apache-2.0 license found in the
|
|
5
|
+
// LICENSE file in the root directory of this source tree.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
@import 'settings';
|
|
9
|
+
|
|
10
|
+
/// Sans `@font-face`'s
|
|
11
|
+
/// @access public
|
|
12
|
+
/// @group @carbon/type
|
|
13
|
+
@mixin carbon--font-face-sans-condensed {
|
|
14
|
+
// .woff support for IE11
|
|
15
|
+
@font-face {
|
|
16
|
+
font-family: 'IBM Plex Sans Condensed';
|
|
17
|
+
font-style: italic;
|
|
18
|
+
font-weight: 300;
|
|
19
|
+
src: local('IBM Plex Sans Condensed Light Italic'),
|
|
20
|
+
local('IBMPlexSansCond-LightItalic'),
|
|
21
|
+
url(https://fonts.gstatic.com/s/ibmplexsanscondensed/v6/Gg8iN4UfRSqiPg7Jn2ZI12V4DCEwkj1E4LVeHYas8AfppYA.woff)
|
|
22
|
+
format('woff');
|
|
23
|
+
}
|
|
24
|
+
@font-face {
|
|
25
|
+
font-family: 'IBM Plex Sans Condensed';
|
|
26
|
+
font-style: italic;
|
|
27
|
+
font-weight: 400;
|
|
28
|
+
src: local('IBM Plex Sans Condensed Italic'),
|
|
29
|
+
local('IBMPlexSansCond-Italic'),
|
|
30
|
+
url(https://fonts.gstatic.com/s/ibmplexsanscondensed/v6/Gg8nN4UfRSqiPg7Jn2ZI12V4DCEwkj1E4LVeHYasyKg.woff)
|
|
31
|
+
format('woff');
|
|
32
|
+
}
|
|
33
|
+
@font-face {
|
|
34
|
+
font-family: 'IBM Plex Sans Condensed';
|
|
35
|
+
font-style: italic;
|
|
36
|
+
font-weight: 600;
|
|
37
|
+
src: local('IBM Plex Sans Condensed SemiBold Italic'),
|
|
38
|
+
local('IBMPlexSansCond-SemiBoldItalic'),
|
|
39
|
+
url(https://fonts.gstatic.com/s/ibmplexsanscondensed/v6/Gg8iN4UfRSqiPg7Jn2ZI12V4DCEwkj1E4LVeHYas8HPvpYA.woff)
|
|
40
|
+
format('woff');
|
|
41
|
+
}
|
|
42
|
+
@font-face {
|
|
43
|
+
font-family: 'IBM Plex Sans Condensed';
|
|
44
|
+
font-style: normal;
|
|
45
|
+
font-weight: 300;
|
|
46
|
+
src: local('IBM Plex Sans Condensed Light'), local('IBMPlexSansCond-Light'),
|
|
47
|
+
url(https://fonts.gstatic.com/s/ibmplexsanscondensed/v6/Gg8gN4UfRSqiPg7Jn2ZI12V4DCEwkj1E4LVeHY4C6ovo.woff)
|
|
48
|
+
format('woff');
|
|
49
|
+
}
|
|
50
|
+
@font-face {
|
|
51
|
+
font-family: 'IBM Plex Sans Condensed';
|
|
52
|
+
font-style: normal;
|
|
53
|
+
font-weight: 400;
|
|
54
|
+
src: local('IBM Plex Sans Condensed'), local('IBMPlexSansCond'),
|
|
55
|
+
url(https://fonts.gstatic.com/s/ibmplexsanscondensed/v6/Gg8lN4UfRSqiPg7Jn2ZI12V4DCEwkj1E4LVeHbat.woff)
|
|
56
|
+
format('woff');
|
|
57
|
+
}
|
|
58
|
+
@font-face {
|
|
59
|
+
font-family: 'IBM Plex Sans Condensed';
|
|
60
|
+
font-style: normal;
|
|
61
|
+
font-weight: 600;
|
|
62
|
+
src: local('IBM Plex Sans Condensed SemiBold'),
|
|
63
|
+
local('IBMPlexSansCond-SemiBold'),
|
|
64
|
+
url(https://fonts.gstatic.com/s/ibmplexsanscondensed/v6/Gg8gN4UfRSqiPg7Jn2ZI12V4DCEwkj1E4LVeHY527Ivo.woff)
|
|
65
|
+
format('woff');
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/* vietnamese */
|
|
69
|
+
@font-face {
|
|
70
|
+
font-family: 'IBM Plex Sans Condensed';
|
|
71
|
+
font-style: italic;
|
|
72
|
+
font-weight: 300;
|
|
73
|
+
font-display: swap;
|
|
74
|
+
src: local('IBM Plex Sans Condensed Light Italic'),
|
|
75
|
+
local('IBMPlexSansCond-LightItalic'),
|
|
76
|
+
url(https://fonts.gstatic.com/s/ibmplexsanscondensed/v6/Gg8iN4UfRSqiPg7Jn2ZI12V4DCEwkj1E4LVeHYas8AfplYstEzi6D11GTg.woff2)
|
|
77
|
+
format('woff2');
|
|
78
|
+
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169,
|
|
79
|
+
U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
|
|
80
|
+
}
|
|
81
|
+
/* latin-ext */
|
|
82
|
+
@font-face {
|
|
83
|
+
font-family: 'IBM Plex Sans Condensed';
|
|
84
|
+
font-style: italic;
|
|
85
|
+
font-weight: 300;
|
|
86
|
+
font-display: swap;
|
|
87
|
+
src: local('IBM Plex Sans Condensed Light Italic'),
|
|
88
|
+
local('IBMPlexSansCond-LightItalic'),
|
|
89
|
+
url(https://fonts.gstatic.com/s/ibmplexsanscondensed/v6/Gg8iN4UfRSqiPg7Jn2ZI12V4DCEwkj1E4LVeHYas8AfplYotEzi6D11GTg.woff2)
|
|
90
|
+
format('woff2');
|
|
91
|
+
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
|
|
92
|
+
U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
93
|
+
}
|
|
94
|
+
/* latin */
|
|
95
|
+
@font-face {
|
|
96
|
+
font-family: 'IBM Plex Sans Condensed';
|
|
97
|
+
font-style: italic;
|
|
98
|
+
font-weight: 300;
|
|
99
|
+
font-display: swap;
|
|
100
|
+
src: local('IBM Plex Sans Condensed Light Italic'),
|
|
101
|
+
local('IBMPlexSansCond-LightItalic'),
|
|
102
|
+
url(https://fonts.gstatic.com/s/ibmplexsanscondensed/v6/Gg8iN4UfRSqiPg7Jn2ZI12V4DCEwkj1E4LVeHYas8AfplYQtEzi6D10.woff2)
|
|
103
|
+
format('woff2');
|
|
104
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
|
105
|
+
U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212,
|
|
106
|
+
U+2215, U+FEFF, U+FFFD;
|
|
107
|
+
}
|
|
108
|
+
/* vietnamese */
|
|
109
|
+
@font-face {
|
|
110
|
+
font-family: 'IBM Plex Sans Condensed';
|
|
111
|
+
font-style: italic;
|
|
112
|
+
font-weight: 400;
|
|
113
|
+
font-display: swap;
|
|
114
|
+
src: local('IBM Plex Sans Condensed Italic'),
|
|
115
|
+
local('IBMPlexSansCond-Italic'),
|
|
116
|
+
url(https://fonts.gstatic.com/s/ibmplexsanscondensed/v6/Gg8nN4UfRSqiPg7Jn2ZI12V4DCEwkj1E4LVeHYas-KPLgKkPHhKABg.woff2)
|
|
117
|
+
format('woff2');
|
|
118
|
+
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169,
|
|
119
|
+
U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
|
|
120
|
+
}
|
|
121
|
+
/* latin-ext */
|
|
122
|
+
@font-face {
|
|
123
|
+
font-family: 'IBM Plex Sans Condensed';
|
|
124
|
+
font-style: italic;
|
|
125
|
+
font-weight: 400;
|
|
126
|
+
font-display: swap;
|
|
127
|
+
src: local('IBM Plex Sans Condensed Italic'),
|
|
128
|
+
local('IBMPlexSansCond-Italic'),
|
|
129
|
+
url(https://fonts.gstatic.com/s/ibmplexsanscondensed/v6/Gg8nN4UfRSqiPg7Jn2ZI12V4DCEwkj1E4LVeHYas-KLLgKkPHhKABg.woff2)
|
|
130
|
+
format('woff2');
|
|
131
|
+
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
|
|
132
|
+
U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
133
|
+
}
|
|
134
|
+
/* latin */
|
|
135
|
+
@font-face {
|
|
136
|
+
font-family: 'IBM Plex Sans Condensed';
|
|
137
|
+
font-style: italic;
|
|
138
|
+
font-weight: 400;
|
|
139
|
+
font-display: swap;
|
|
140
|
+
src: local('IBM Plex Sans Condensed Italic'),
|
|
141
|
+
local('IBMPlexSansCond-Italic'),
|
|
142
|
+
url(https://fonts.gstatic.com/s/ibmplexsanscondensed/v6/Gg8nN4UfRSqiPg7Jn2ZI12V4DCEwkj1E4LVeHYas-KzLgKkPHhI.woff2)
|
|
143
|
+
format('woff2');
|
|
144
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
|
145
|
+
U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212,
|
|
146
|
+
U+2215, U+FEFF, U+FFFD;
|
|
147
|
+
}
|
|
148
|
+
/* vietnamese */
|
|
149
|
+
@font-face {
|
|
150
|
+
font-family: 'IBM Plex Sans Condensed';
|
|
151
|
+
font-style: italic;
|
|
152
|
+
font-weight: 600;
|
|
153
|
+
font-display: swap;
|
|
154
|
+
src: local('IBM Plex Sans Condensed SemiBold Italic'),
|
|
155
|
+
local('IBMPlexSansCond-SemiBoldItalic'),
|
|
156
|
+
url(https://fonts.gstatic.com/s/ibmplexsanscondensed/v6/Gg8iN4UfRSqiPg7Jn2ZI12V4DCEwkj1E4LVeHYas8HPvlYstEzi6D11GTg.woff2)
|
|
157
|
+
format('woff2');
|
|
158
|
+
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169,
|
|
159
|
+
U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
|
|
160
|
+
}
|
|
161
|
+
/* latin-ext */
|
|
162
|
+
@font-face {
|
|
163
|
+
font-family: 'IBM Plex Sans Condensed';
|
|
164
|
+
font-style: italic;
|
|
165
|
+
font-weight: 600;
|
|
166
|
+
font-display: swap;
|
|
167
|
+
src: local('IBM Plex Sans Condensed SemiBold Italic'),
|
|
168
|
+
local('IBMPlexSansCond-SemiBoldItalic'),
|
|
169
|
+
url(https://fonts.gstatic.com/s/ibmplexsanscondensed/v6/Gg8iN4UfRSqiPg7Jn2ZI12V4DCEwkj1E4LVeHYas8HPvlYotEzi6D11GTg.woff2)
|
|
170
|
+
format('woff2');
|
|
171
|
+
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
|
|
172
|
+
U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
173
|
+
}
|
|
174
|
+
/* latin */
|
|
175
|
+
@font-face {
|
|
176
|
+
font-family: 'IBM Plex Sans Condensed';
|
|
177
|
+
font-style: italic;
|
|
178
|
+
font-weight: 600;
|
|
179
|
+
font-display: swap;
|
|
180
|
+
src: local('IBM Plex Sans Condensed SemiBold Italic'),
|
|
181
|
+
local('IBMPlexSansCond-SemiBoldItalic'),
|
|
182
|
+
url(https://fonts.gstatic.com/s/ibmplexsanscondensed/v6/Gg8iN4UfRSqiPg7Jn2ZI12V4DCEwkj1E4LVeHYas8HPvlYQtEzi6D10.woff2)
|
|
183
|
+
format('woff2');
|
|
184
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
|
185
|
+
U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212,
|
|
186
|
+
U+2215, U+FEFF, U+FFFD;
|
|
187
|
+
}
|
|
188
|
+
/* vietnamese */
|
|
189
|
+
@font-face {
|
|
190
|
+
font-family: 'IBM Plex Sans Condensed';
|
|
191
|
+
font-style: normal;
|
|
192
|
+
font-weight: 300;
|
|
193
|
+
font-display: swap;
|
|
194
|
+
src: local('IBM Plex Sans Condensed Light'), local('IBMPlexSansCond-Light'),
|
|
195
|
+
url(https://fonts.gstatic.com/s/ibmplexsanscondensed/v6/Gg8gN4UfRSqiPg7Jn2ZI12V4DCEwkj1E4LVeHY4C6rvjpYYnFBq4P1w.woff2)
|
|
196
|
+
format('woff2');
|
|
197
|
+
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169,
|
|
198
|
+
U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
|
|
199
|
+
}
|
|
200
|
+
/* latin-ext */
|
|
201
|
+
@font-face {
|
|
202
|
+
font-family: 'IBM Plex Sans Condensed';
|
|
203
|
+
font-style: normal;
|
|
204
|
+
font-weight: 300;
|
|
205
|
+
font-display: swap;
|
|
206
|
+
src: local('IBM Plex Sans Condensed Light'), local('IBMPlexSansCond-Light'),
|
|
207
|
+
url(https://fonts.gstatic.com/s/ibmplexsanscondensed/v6/Gg8gN4UfRSqiPg7Jn2ZI12V4DCEwkj1E4LVeHY4C6rvipYYnFBq4P1w.woff2)
|
|
208
|
+
format('woff2');
|
|
209
|
+
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
|
|
210
|
+
U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
211
|
+
}
|
|
212
|
+
/* latin */
|
|
213
|
+
@font-face {
|
|
214
|
+
font-family: 'IBM Plex Sans Condensed';
|
|
215
|
+
font-style: normal;
|
|
216
|
+
font-weight: 300;
|
|
217
|
+
font-display: swap;
|
|
218
|
+
src: local('IBM Plex Sans Condensed Light'), local('IBMPlexSansCond-Light'),
|
|
219
|
+
url(https://fonts.gstatic.com/s/ibmplexsanscondensed/v6/Gg8gN4UfRSqiPg7Jn2ZI12V4DCEwkj1E4LVeHY4C6rvspYYnFBq4.woff2)
|
|
220
|
+
format('woff2');
|
|
221
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
|
222
|
+
U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212,
|
|
223
|
+
U+2215, U+FEFF, U+FFFD;
|
|
224
|
+
}
|
|
225
|
+
/* vietnamese */
|
|
226
|
+
@font-face {
|
|
227
|
+
font-family: 'IBM Plex Sans Condensed';
|
|
228
|
+
font-style: normal;
|
|
229
|
+
font-weight: 400;
|
|
230
|
+
font-display: swap;
|
|
231
|
+
src: local('IBM Plex Sans Condensed'), local('IBMPlexSansCond'),
|
|
232
|
+
url(https://fonts.gstatic.com/s/ibmplexsanscondensed/v6/Gg8lN4UfRSqiPg7Jn2ZI12V4DCEwkj1E4LVeHYamyK7Bh4sNLhM.woff2)
|
|
233
|
+
format('woff2');
|
|
234
|
+
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169,
|
|
235
|
+
U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
|
|
236
|
+
}
|
|
237
|
+
/* latin-ext */
|
|
238
|
+
@font-face {
|
|
239
|
+
font-family: 'IBM Plex Sans Condensed';
|
|
240
|
+
font-style: normal;
|
|
241
|
+
font-weight: 400;
|
|
242
|
+
font-display: swap;
|
|
243
|
+
src: local('IBM Plex Sans Condensed'), local('IBMPlexSansCond'),
|
|
244
|
+
url(https://fonts.gstatic.com/s/ibmplexsanscondensed/v6/Gg8lN4UfRSqiPg7Jn2ZI12V4DCEwkj1E4LVeHYanyK7Bh4sNLhM.woff2)
|
|
245
|
+
format('woff2');
|
|
246
|
+
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
|
|
247
|
+
U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
248
|
+
}
|
|
249
|
+
/* latin */
|
|
250
|
+
@font-face {
|
|
251
|
+
font-family: 'IBM Plex Sans Condensed';
|
|
252
|
+
font-style: normal;
|
|
253
|
+
font-weight: 400;
|
|
254
|
+
font-display: swap;
|
|
255
|
+
src: local('IBM Plex Sans Condensed'), local('IBMPlexSansCond'),
|
|
256
|
+
url(https://fonts.gstatic.com/s/ibmplexsanscondensed/v6/Gg8lN4UfRSqiPg7Jn2ZI12V4DCEwkj1E4LVeHYapyK7Bh4sN.woff2)
|
|
257
|
+
format('woff2');
|
|
258
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
|
259
|
+
U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212,
|
|
260
|
+
U+2215, U+FEFF, U+FFFD;
|
|
261
|
+
}
|
|
262
|
+
/* vietnamese */
|
|
263
|
+
@font-face {
|
|
264
|
+
font-family: 'IBM Plex Sans Condensed';
|
|
265
|
+
font-style: normal;
|
|
266
|
+
font-weight: 600;
|
|
267
|
+
font-display: swap;
|
|
268
|
+
src: local('IBM Plex Sans Condensed SemiBold'),
|
|
269
|
+
local('IBMPlexSansCond-SemiBold'),
|
|
270
|
+
url(https://fonts.gstatic.com/s/ibmplexsanscondensed/v6/Gg8gN4UfRSqiPg7Jn2ZI12V4DCEwkj1E4LVeHY527LvjpYYnFBq4P1w.woff2)
|
|
271
|
+
format('woff2');
|
|
272
|
+
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169,
|
|
273
|
+
U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
|
|
274
|
+
}
|
|
275
|
+
/* latin-ext */
|
|
276
|
+
@font-face {
|
|
277
|
+
font-family: 'IBM Plex Sans Condensed';
|
|
278
|
+
font-style: normal;
|
|
279
|
+
font-weight: 600;
|
|
280
|
+
font-display: swap;
|
|
281
|
+
src: local('IBM Plex Sans Condensed SemiBold'),
|
|
282
|
+
local('IBMPlexSansCond-SemiBold'),
|
|
283
|
+
url(https://fonts.gstatic.com/s/ibmplexsanscondensed/v6/Gg8gN4UfRSqiPg7Jn2ZI12V4DCEwkj1E4LVeHY527LvipYYnFBq4P1w.woff2)
|
|
284
|
+
format('woff2');
|
|
285
|
+
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
|
|
286
|
+
U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
287
|
+
}
|
|
288
|
+
/* latin */
|
|
289
|
+
@font-face {
|
|
290
|
+
font-family: 'IBM Plex Sans Condensed';
|
|
291
|
+
font-style: normal;
|
|
292
|
+
font-weight: 600;
|
|
293
|
+
font-display: swap;
|
|
294
|
+
src: local('IBM Plex Sans Condensed SemiBold'),
|
|
295
|
+
local('IBMPlexSansCond-SemiBold'),
|
|
296
|
+
url(https://fonts.gstatic.com/s/ibmplexsanscondensed/v6/Gg8gN4UfRSqiPg7Jn2ZI12V4DCEwkj1E4LVeHY527LvspYYnFBq4.woff2)
|
|
297
|
+
format('woff2');
|
|
298
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
|
299
|
+
U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212,
|
|
300
|
+
U+2215, U+FEFF, U+FFFD;
|
|
301
|
+
}
|
|
302
|
+
}
|
|
@@ -163,8 +163,13 @@ $carbon--grid-breakpoints: (
|
|
|
163
163
|
@content;
|
|
164
164
|
}
|
|
165
165
|
} @else if map-has-key($breakpoints, $name) {
|
|
166
|
+
// We borrow this logic from bootstrap for specifying the value of the
|
|
167
|
+
// max-width. The maximum width is calculated by finding the breakpoint and
|
|
168
|
+
// subtracting .02 from its value. This value is used instead of .01 to
|
|
169
|
+
// avoid rounding issues in Safari
|
|
170
|
+
// https://github.com/twbs/bootstrap/blob/c5b1919deaf5393fcca9e9b9d7ce9c338160d99d/scss/mixins/_breakpoints.scss#L34-L46
|
|
166
171
|
$breakpoint: map-get($breakpoints, $name);
|
|
167
|
-
$width: map-get($breakpoint, width);
|
|
172
|
+
$width: map-get($breakpoint, width) - 0.02;
|
|
168
173
|
@media (max-width: $width) {
|
|
169
174
|
@content;
|
|
170
175
|
}
|