@electra-ui/theme 0.0.0-stage → 1.3.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 +53 -2
- package/fesm2022/electra-ui-theme.mjs +1059 -0
- package/fesm2022/electra-ui-theme.mjs.map +1 -0
- package/package.json +29 -4
- package/src/styles/font.less +376 -0
- package/src/styles/fonts/Inter-Black.woff +0 -0
- package/src/styles/fonts/Inter-Black.woff2 +0 -0
- package/src/styles/fonts/Inter-BlackItalic.woff +0 -0
- package/src/styles/fonts/Inter-BlackItalic.woff2 +0 -0
- package/src/styles/fonts/Inter-Bold.woff +0 -0
- package/src/styles/fonts/Inter-Bold.woff2 +0 -0
- package/src/styles/fonts/Inter-BoldItalic.woff +0 -0
- package/src/styles/fonts/Inter-BoldItalic.woff2 +0 -0
- package/src/styles/fonts/Inter-ExtraBold.woff +0 -0
- package/src/styles/fonts/Inter-ExtraBold.woff2 +0 -0
- package/src/styles/fonts/Inter-ExtraBoldItalic.woff +0 -0
- package/src/styles/fonts/Inter-ExtraBoldItalic.woff2 +0 -0
- package/src/styles/fonts/Inter-ExtraLight-BETA.woff +0 -0
- package/src/styles/fonts/Inter-ExtraLight-BETA.woff2 +0 -0
- package/src/styles/fonts/Inter-ExtraLightItalic-BETA.woff +0 -0
- package/src/styles/fonts/Inter-ExtraLightItalic-BETA.woff2 +0 -0
- package/src/styles/fonts/Inter-Italic.woff +0 -0
- package/src/styles/fonts/Inter-Italic.woff2 +0 -0
- package/src/styles/fonts/Inter-Light-BETA.woff +0 -0
- package/src/styles/fonts/Inter-Light-BETA.woff2 +0 -0
- package/src/styles/fonts/Inter-LightItalic-BETA.woff +0 -0
- package/src/styles/fonts/Inter-LightItalic-BETA.woff2 +0 -0
- package/src/styles/fonts/Inter-Medium.woff +0 -0
- package/src/styles/fonts/Inter-Medium.woff2 +0 -0
- package/src/styles/fonts/Inter-MediumItalic.woff +0 -0
- package/src/styles/fonts/Inter-MediumItalic.woff2 +0 -0
- package/src/styles/fonts/Inter-Regular.woff +0 -0
- package/src/styles/fonts/Inter-Regular.woff2 +0 -0
- package/src/styles/fonts/Inter-SemiBold.woff +0 -0
- package/src/styles/fonts/Inter-SemiBold.woff2 +0 -0
- package/src/styles/fonts/Inter-SemiBoldItalic.woff +0 -0
- package/src/styles/fonts/Inter-SemiBoldItalic.woff2 +0 -0
- package/src/styles/fonts/Inter-Thin-BETA.woff +0 -0
- package/src/styles/fonts/Inter-Thin-BETA.woff2 +0 -0
- package/src/styles/fonts/Inter-ThinItalic-BETA.woff +0 -0
- package/src/styles/fonts/Inter-ThinItalic-BETA.woff2 +0 -0
- package/src/styles/fonts/Inter-italic.var.woff2 +0 -0
- package/src/styles/fonts/Inter-upright.var.woff2 +0 -0
- package/src/styles/fonts/Inter.var.woff2 +0 -0
- package/src/styles/fonts/Roboto-Bold.woff2 +0 -0
- package/src/styles/fonts/Roboto-Italic.woff2 +0 -0
- package/src/styles/fonts/Roboto-Medium.woff2 +0 -0
- package/src/styles/fonts/Roboto-Regular.woff2 +0 -0
- package/src/styles/fonts/RobotoMono-Bold.woff2 +0 -0
- package/src/styles/fonts/RobotoMono-Regular.woff2 +0 -0
- package/src/styles/fonts/fonts.css +196 -0
- package/src/styles/fonts/fonts.less +196 -0
- package/src/styles/fonts/location.less +247 -0
- package/src/styles/sizes/index.less +28 -0
- package/src/styles/styles.less +2 -0
- package/src/styles/styles_.less +8 -0
- package/src/styles/theme/component-palettes/me-button-palette.less +164 -0
- package/src/styles/theme/component-palettes/me-components-dark-theme-palette.less +201 -0
- package/src/styles/theme/component-palettes/me-components-light-theme-palette.less +196 -0
- package/src/styles/theme/dark-palette.less +143 -0
- package/src/styles/theme/dark.less +111 -0
- package/src/styles/theme/default-palette.less +142 -0
- package/src/styles/theme/default.less +111 -0
- package/src/styles/theme/index.less +50 -0
- package/src/styles/theme/me-palette.less +539 -0
- package/src/styles/theme/palette.less +284 -0
- package/src/styles/theme/shadows.less +10 -0
- package/src/styles/typography/typography-const.less +77 -0
- package/src/styles/typography/typography-em-const.less +75 -0
- package/src/styles/typography/typography.less +2 -0
- package/types/electra-ui-theme.d.ts +1367 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
@font-face {
|
|
2
|
+
font-family: 'Inter';
|
|
3
|
+
font-style: normal;
|
|
4
|
+
font-weight: 100;
|
|
5
|
+
src:
|
|
6
|
+
url('Inter-Thin-BETA.woff2') format('woff2'),
|
|
7
|
+
url('Inter-Thin-BETA.woff') format('woff');
|
|
8
|
+
}
|
|
9
|
+
@font-face {
|
|
10
|
+
font-family: 'Inter';
|
|
11
|
+
font-style: italic;
|
|
12
|
+
font-weight: 100;
|
|
13
|
+
src:
|
|
14
|
+
url('Inter-ThinItalic-BETA.woff2') format('woff2'),
|
|
15
|
+
url('Inter-ThinItalic-BETA.woff') format('woff');
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@font-face {
|
|
19
|
+
font-family: 'Inter';
|
|
20
|
+
font-style: normal;
|
|
21
|
+
font-weight: 200;
|
|
22
|
+
src:
|
|
23
|
+
url('Inter-ExtraLight-BETA.woff2') format('woff2'),
|
|
24
|
+
url('Inter-ExtraLight-BETA.woff') format('woff');
|
|
25
|
+
}
|
|
26
|
+
@font-face {
|
|
27
|
+
font-family: 'Inter';
|
|
28
|
+
font-style: italic;
|
|
29
|
+
font-weight: 200;
|
|
30
|
+
src:
|
|
31
|
+
url('Inter-ExtraLightItalic-BETA.woff2') format('woff2'),
|
|
32
|
+
url('Inter-ExtraLightItalic-BETA.woff') format('woff');
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
@font-face {
|
|
36
|
+
font-family: 'Inter';
|
|
37
|
+
font-style: normal;
|
|
38
|
+
font-weight: 300;
|
|
39
|
+
src:
|
|
40
|
+
url('Inter-Light-BETA.woff2') format('woff2'),
|
|
41
|
+
url('Inter-Light-BETA.woff') format('woff');
|
|
42
|
+
}
|
|
43
|
+
@font-face {
|
|
44
|
+
font-family: 'Inter';
|
|
45
|
+
font-style: italic;
|
|
46
|
+
font-weight: 300;
|
|
47
|
+
src:
|
|
48
|
+
url('Inter-LightItalic-BETA.woff2') format('woff2'),
|
|
49
|
+
url('Inter-LightItalic-BETA.woff') format('woff');
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
@font-face {
|
|
53
|
+
font-family: 'Inter';
|
|
54
|
+
font-style: normal;
|
|
55
|
+
font-weight: 400;
|
|
56
|
+
src:
|
|
57
|
+
url('Inter-Regular.woff2') format('woff2'),
|
|
58
|
+
url('Inter-Regular.woff') format('woff');
|
|
59
|
+
}
|
|
60
|
+
@font-face {
|
|
61
|
+
font-family: 'Inter';
|
|
62
|
+
font-style: italic;
|
|
63
|
+
font-weight: 400;
|
|
64
|
+
src:
|
|
65
|
+
url('Inter-Italic.woff2') format('woff2'),
|
|
66
|
+
url('Inter-Italic.woff') format('woff');
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
@font-face {
|
|
70
|
+
font-family: 'Inter';
|
|
71
|
+
font-style: normal;
|
|
72
|
+
font-weight: 500;
|
|
73
|
+
src:
|
|
74
|
+
url('Inter-Medium.woff2') format('woff2'),
|
|
75
|
+
url('Inter-Medium.woff') format('woff');
|
|
76
|
+
}
|
|
77
|
+
@font-face {
|
|
78
|
+
font-family: 'Inter';
|
|
79
|
+
font-style: italic;
|
|
80
|
+
font-weight: 500;
|
|
81
|
+
src:
|
|
82
|
+
url('Inter-MediumItalic.woff2') format('woff2'),
|
|
83
|
+
url('Inter-MediumItalic.woff') format('woff');
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
@font-face {
|
|
87
|
+
font-family: 'Inter';
|
|
88
|
+
font-style: normal;
|
|
89
|
+
font-weight: 600;
|
|
90
|
+
src:
|
|
91
|
+
url('Inter-SemiBold.woff2') format('woff2'),
|
|
92
|
+
url('Inter-SemiBold.woff') format('woff');
|
|
93
|
+
}
|
|
94
|
+
@font-face {
|
|
95
|
+
font-family: 'Inter';
|
|
96
|
+
font-style: italic;
|
|
97
|
+
font-weight: 600;
|
|
98
|
+
src:
|
|
99
|
+
url('Inter-SemiBoldItalic.woff2') format('woff2'),
|
|
100
|
+
url('Inter-SemiBoldItalic.woff') format('woff');
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
@font-face {
|
|
104
|
+
font-family: 'Inter';
|
|
105
|
+
font-style: normal;
|
|
106
|
+
font-weight: 700;
|
|
107
|
+
src:
|
|
108
|
+
url('Inter-Bold.woff2') format('woff2'),
|
|
109
|
+
url('Inter-Bold.woff') format('woff');
|
|
110
|
+
}
|
|
111
|
+
@font-face {
|
|
112
|
+
font-family: 'Inter';
|
|
113
|
+
font-style: italic;
|
|
114
|
+
font-weight: 700;
|
|
115
|
+
src:
|
|
116
|
+
url('Inter-BoldItalic.woff2') format('woff2'),
|
|
117
|
+
url('Inter-BoldItalic.woff') format('woff');
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
@font-face {
|
|
121
|
+
font-family: 'Inter';
|
|
122
|
+
font-style: normal;
|
|
123
|
+
font-weight: 800;
|
|
124
|
+
src:
|
|
125
|
+
url('Inter-ExtraBold.woff2') format('woff2'),
|
|
126
|
+
url('Inter-ExtraBold.woff') format('woff');
|
|
127
|
+
}
|
|
128
|
+
@font-face {
|
|
129
|
+
font-family: 'Inter';
|
|
130
|
+
font-style: italic;
|
|
131
|
+
font-weight: 800;
|
|
132
|
+
src:
|
|
133
|
+
url('Inter-ExtraBoldItalic.woff2') format('woff2'),
|
|
134
|
+
url('Inter-ExtraBoldItalic.woff') format('woff');
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
@font-face {
|
|
138
|
+
font-family: 'Inter';
|
|
139
|
+
font-style: normal;
|
|
140
|
+
font-weight: 900;
|
|
141
|
+
src:
|
|
142
|
+
url('Inter-Black.woff2') format('woff2'),
|
|
143
|
+
url('Inter-Black.woff') format('woff');
|
|
144
|
+
}
|
|
145
|
+
@font-face {
|
|
146
|
+
font-family: 'Inter';
|
|
147
|
+
font-style: italic;
|
|
148
|
+
font-weight: 900;
|
|
149
|
+
src:
|
|
150
|
+
url('Inter-BlackItalic.woff2') format('woff2'),
|
|
151
|
+
url('Inter-BlackItalic.woff') format('woff');
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/* -------------------------------------------------------
|
|
155
|
+
Variable font.
|
|
156
|
+
Usage:
|
|
157
|
+
|
|
158
|
+
html { font-family: 'Inter', sans-serif; }
|
|
159
|
+
@supports (font-variation-settings: normal) {
|
|
160
|
+
html { font-family: 'Inter var', sans-serif; }
|
|
161
|
+
}
|
|
162
|
+
*/
|
|
163
|
+
@font-face {
|
|
164
|
+
font-family: 'Inter var';
|
|
165
|
+
font-weight: 100 900;
|
|
166
|
+
font-style: normal;
|
|
167
|
+
font-named-instance: 'Regular';
|
|
168
|
+
src: url('Inter-upright.var.woff2') format('woff2');
|
|
169
|
+
}
|
|
170
|
+
@font-face {
|
|
171
|
+
font-family: 'Inter var';
|
|
172
|
+
font-weight: 100 900;
|
|
173
|
+
font-style: italic;
|
|
174
|
+
font-named-instance: 'Italic';
|
|
175
|
+
src: url('Inter-italic.var.woff2') format('woff2');
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
/* --------------------------------------------------------------------------
|
|
179
|
+
[EXPERIMENTAL] Multi-axis, single variable font.
|
|
180
|
+
|
|
181
|
+
Slant axis is not yet widely supported (as of February 2019) and thus this
|
|
182
|
+
multi-axis single variable font is opt-in rather than the default.
|
|
183
|
+
|
|
184
|
+
When using this, you will probably need to set font-variation-settings
|
|
185
|
+
explicitly, e.g.
|
|
186
|
+
|
|
187
|
+
* { font-variation-settings: "slnt" 0deg }
|
|
188
|
+
.italic { font-variation-settings: "slnt" 10deg }
|
|
189
|
+
|
|
190
|
+
*/
|
|
191
|
+
@font-face {
|
|
192
|
+
font-family: 'Inter var experimental';
|
|
193
|
+
font-weight: 100 900;
|
|
194
|
+
font-style: oblique 0deg 10deg;
|
|
195
|
+
src: url('Inter.var.woff2') format('woff2');
|
|
196
|
+
}
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
@font-face {
|
|
2
|
+
font-family: 'Inter';
|
|
3
|
+
font-style: normal;
|
|
4
|
+
font-weight: 100;
|
|
5
|
+
src:
|
|
6
|
+
url('Inter-Thin-BETA.woff2') format('woff2'),
|
|
7
|
+
url('Inter-Thin-BETA.woff') format('woff');
|
|
8
|
+
}
|
|
9
|
+
@font-face {
|
|
10
|
+
font-family: 'Inter';
|
|
11
|
+
font-style: italic;
|
|
12
|
+
font-weight: 100;
|
|
13
|
+
src:
|
|
14
|
+
url('Inter-ThinItalic-BETA.woff2') format('woff2'),
|
|
15
|
+
url('Inter-ThinItalic-BETA.woff') format('woff');
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@font-face {
|
|
19
|
+
font-family: 'Inter';
|
|
20
|
+
font-style: normal;
|
|
21
|
+
font-weight: 200;
|
|
22
|
+
src:
|
|
23
|
+
url('Inter-ExtraLight-BETA.woff2') format('woff2'),
|
|
24
|
+
url('Inter-ExtraLight-BETA.woff') format('woff');
|
|
25
|
+
}
|
|
26
|
+
@font-face {
|
|
27
|
+
font-family: 'Inter';
|
|
28
|
+
font-style: italic;
|
|
29
|
+
font-weight: 200;
|
|
30
|
+
src:
|
|
31
|
+
url('Inter-ExtraLightItalic-BETA.woff2') format('woff2'),
|
|
32
|
+
url('Inter-ExtraLightItalic-BETA.woff') format('woff');
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
@font-face {
|
|
36
|
+
font-family: 'Inter';
|
|
37
|
+
font-style: normal;
|
|
38
|
+
font-weight: 300;
|
|
39
|
+
src:
|
|
40
|
+
url('Inter-Light-BETA.woff2') format('woff2'),
|
|
41
|
+
url('Inter-Light-BETA.woff') format('woff');
|
|
42
|
+
}
|
|
43
|
+
@font-face {
|
|
44
|
+
font-family: 'Inter';
|
|
45
|
+
font-style: italic;
|
|
46
|
+
font-weight: 300;
|
|
47
|
+
src:
|
|
48
|
+
url('Inter-LightItalic-BETA.woff2') format('woff2'),
|
|
49
|
+
url('Inter-LightItalic-BETA.woff') format('woff');
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
@font-face {
|
|
53
|
+
font-family: 'Inter';
|
|
54
|
+
font-style: normal;
|
|
55
|
+
font-weight: 400;
|
|
56
|
+
src:
|
|
57
|
+
url('Inter-Regular.woff2') format('woff2'),
|
|
58
|
+
url('Inter-Regular.woff') format('woff');
|
|
59
|
+
}
|
|
60
|
+
@font-face {
|
|
61
|
+
font-family: 'Inter';
|
|
62
|
+
font-style: italic;
|
|
63
|
+
font-weight: 400;
|
|
64
|
+
src:
|
|
65
|
+
url('Inter-Italic.woff2') format('woff2'),
|
|
66
|
+
url('Inter-Italic.woff') format('woff');
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
@font-face {
|
|
70
|
+
font-family: 'Inter';
|
|
71
|
+
font-style: normal;
|
|
72
|
+
font-weight: 500;
|
|
73
|
+
src:
|
|
74
|
+
url('Inter-Medium.woff2') format('woff2'),
|
|
75
|
+
url('Inter-Medium.woff') format('woff');
|
|
76
|
+
}
|
|
77
|
+
@font-face {
|
|
78
|
+
font-family: 'Inter';
|
|
79
|
+
font-style: italic;
|
|
80
|
+
font-weight: 500;
|
|
81
|
+
src:
|
|
82
|
+
url('Inter-MediumItalic.woff2') format('woff2'),
|
|
83
|
+
url('Inter-MediumItalic.woff') format('woff');
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
@font-face {
|
|
87
|
+
font-family: 'Inter';
|
|
88
|
+
font-style: normal;
|
|
89
|
+
font-weight: 600;
|
|
90
|
+
src:
|
|
91
|
+
url('Inter-SemiBold.woff2') format('woff2'),
|
|
92
|
+
url('Inter-SemiBold.woff') format('woff');
|
|
93
|
+
}
|
|
94
|
+
@font-face {
|
|
95
|
+
font-family: 'Inter';
|
|
96
|
+
font-style: italic;
|
|
97
|
+
font-weight: 600;
|
|
98
|
+
src:
|
|
99
|
+
url('Inter-SemiBoldItalic.woff2') format('woff2'),
|
|
100
|
+
url('Inter-SemiBoldItalic.woff') format('woff');
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
@font-face {
|
|
104
|
+
font-family: 'Inter';
|
|
105
|
+
font-style: normal;
|
|
106
|
+
font-weight: 700;
|
|
107
|
+
src:
|
|
108
|
+
url('Inter-Bold.woff2') format('woff2'),
|
|
109
|
+
url('Inter-Bold.woff') format('woff');
|
|
110
|
+
}
|
|
111
|
+
@font-face {
|
|
112
|
+
font-family: 'Inter';
|
|
113
|
+
font-style: italic;
|
|
114
|
+
font-weight: 700;
|
|
115
|
+
src:
|
|
116
|
+
url('Inter-BoldItalic.woff2') format('woff2'),
|
|
117
|
+
url('Inter-BoldItalic.woff') format('woff');
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
@font-face {
|
|
121
|
+
font-family: 'Inter';
|
|
122
|
+
font-style: normal;
|
|
123
|
+
font-weight: 800;
|
|
124
|
+
src:
|
|
125
|
+
url('Inter-ExtraBold.woff2') format('woff2'),
|
|
126
|
+
url('Inter-ExtraBold.woff') format('woff');
|
|
127
|
+
}
|
|
128
|
+
@font-face {
|
|
129
|
+
font-family: 'Inter';
|
|
130
|
+
font-style: italic;
|
|
131
|
+
font-weight: 800;
|
|
132
|
+
src:
|
|
133
|
+
url('Inter-ExtraBoldItalic.woff2') format('woff2'),
|
|
134
|
+
url('Inter-ExtraBoldItalic.woff') format('woff');
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
@font-face {
|
|
138
|
+
font-family: 'Inter';
|
|
139
|
+
font-style: normal;
|
|
140
|
+
font-weight: 900;
|
|
141
|
+
src:
|
|
142
|
+
url('Inter-Black.woff2') format('woff2'),
|
|
143
|
+
url('Inter-Black.woff') format('woff');
|
|
144
|
+
}
|
|
145
|
+
@font-face {
|
|
146
|
+
font-family: 'Inter';
|
|
147
|
+
font-style: italic;
|
|
148
|
+
font-weight: 900;
|
|
149
|
+
src:
|
|
150
|
+
url('Inter-BlackItalic.woff2') format('woff2'),
|
|
151
|
+
url('Inter-BlackItalic.woff') format('woff');
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/* -------------------------------------------------------
|
|
155
|
+
Variable font.
|
|
156
|
+
Usage:
|
|
157
|
+
|
|
158
|
+
html { font-family: 'Inter', sans-serif; }
|
|
159
|
+
@supports (font-variation-settings: normal) {
|
|
160
|
+
html { font-family: 'Inter var', sans-serif; }
|
|
161
|
+
}
|
|
162
|
+
*/
|
|
163
|
+
@font-face {
|
|
164
|
+
font-family: 'Inter var';
|
|
165
|
+
font-weight: 100 900;
|
|
166
|
+
font-style: normal;
|
|
167
|
+
font-named-instance: 'Regular';
|
|
168
|
+
src: url('Inter-upright.var.woff2') format('woff2');
|
|
169
|
+
}
|
|
170
|
+
@font-face {
|
|
171
|
+
font-family: 'Inter var';
|
|
172
|
+
font-weight: 100 900;
|
|
173
|
+
font-style: italic;
|
|
174
|
+
font-named-instance: 'Italic';
|
|
175
|
+
src: url('Inter-italic.var.woff2') format('woff2');
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
/* --------------------------------------------------------------------------
|
|
179
|
+
[EXPERIMENTAL] Multi-axis, single variable font.
|
|
180
|
+
|
|
181
|
+
Slant axis is not yet widely supported (as of February 2019) and thus this
|
|
182
|
+
multi-axis single variable font is opt-in rather than the default.
|
|
183
|
+
|
|
184
|
+
When using this, you will probably need to set font-variation-settings
|
|
185
|
+
explicitly, e.g.
|
|
186
|
+
|
|
187
|
+
* { font-variation-settings: "slnt" 0deg }
|
|
188
|
+
.italic { font-variation-settings: "slnt" 10deg }
|
|
189
|
+
|
|
190
|
+
*/
|
|
191
|
+
@font-face {
|
|
192
|
+
font-family: 'Inter var experimental';
|
|
193
|
+
font-weight: 100 900;
|
|
194
|
+
font-style: oblique 0deg 10deg;
|
|
195
|
+
src: url('Inter.var.woff2') format('woff2');
|
|
196
|
+
}
|