@fvc/utils 1.1.0 → 1.1.1

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.
@@ -3,6 +3,7 @@
3
3
  src: url('../fonts/Montserrat/Montserrat-Regular.ttf') format('truetype');
4
4
  font-weight: 400;
5
5
  font-style: normal;
6
+ font-display: swap;
6
7
  }
7
8
 
8
9
  @font-face {
@@ -10,6 +11,7 @@
10
11
  src: url('../fonts/Montserrat/Montserrat-Italic.ttf') format('truetype');
11
12
  font-weight: 400;
12
13
  font-style: italic;
14
+ font-display: swap;
13
15
  }
14
16
 
15
17
  @font-face {
@@ -17,6 +19,7 @@
17
19
  src: url('../fonts/Montserrat/Montserrat-Medium.ttf') format('truetype');
18
20
  font-weight: 500;
19
21
  font-style: normal;
22
+ font-display: swap;
20
23
  }
21
24
 
22
25
  @font-face {
@@ -24,6 +27,7 @@
24
27
  src: url('../fonts/Montserrat/Montserrat-MediumItalic.ttf') format('truetype');
25
28
  font-weight: 500;
26
29
  font-style: italic;
30
+ font-display: swap;
27
31
  }
28
32
 
29
33
  @font-face {
@@ -31,6 +35,7 @@
31
35
  src: url('../fonts/Montserrat/Montserrat-SemiBold.ttf') format('truetype');
32
36
  font-weight: 600;
33
37
  font-style: normal;
38
+ font-display: swap;
34
39
  }
35
40
 
36
41
  @font-face {
@@ -39,6 +44,7 @@
39
44
  format('truetype');
40
45
  font-weight: 600;
41
46
  font-style: italic;
47
+ font-display: swap;
42
48
  }
43
49
 
44
50
  @font-face {
@@ -46,6 +52,7 @@
46
52
  src: url('../fonts/Montserrat/Montserrat-Bold.ttf') format('truetype');
47
53
  font-weight: 700;
48
54
  font-style: normal;
55
+ font-display: swap;
49
56
  }
50
57
 
51
58
  @font-face {
@@ -53,6 +60,7 @@
53
60
  src: url('../fonts/Montserrat/Montserrat-BoldItalic.ttf') format('truetype');
54
61
  font-weight: 700;
55
62
  font-style: italic;
63
+ font-display: swap;
56
64
  }
57
65
 
58
66
  @font-face {
@@ -60,6 +68,7 @@
60
68
  src: url('../fonts/Montserrat/Montserrat-ExtraBold.ttf') format('truetype');
61
69
  font-weight: 800;
62
70
  font-style: normal;
71
+ font-display: swap;
63
72
  }
64
73
 
65
74
  @font-face {
@@ -68,6 +77,7 @@
68
77
  format('truetype');
69
78
  font-weight: 800;
70
79
  font-style: italic;
80
+ font-display: swap;
71
81
  }
72
82
 
73
83
  @font-face {
@@ -75,6 +85,7 @@
75
85
  src: url('../fonts/Montserrat/Montserrat-Black.ttf') format('truetype');
76
86
  font-weight: 900;
77
87
  font-style: normal;
88
+ font-display: swap;
78
89
  }
79
90
 
80
91
  @font-face {
@@ -82,6 +93,7 @@
82
93
  src: url('../fonts/Montserrat/Montserrat-BlackItalic.ttf') format('truetype');
83
94
  font-weight: 900;
84
95
  font-style: italic;
96
+ font-display: swap;
85
97
  }
86
98
 
87
99
  @font-face {
@@ -89,6 +101,7 @@
89
101
  src: url('../fonts/Montserrat/Montserrat-Light.ttf') format('truetype');
90
102
  font-weight: 300;
91
103
  font-style: normal;
104
+ font-display: swap;
92
105
  }
93
106
 
94
107
  @font-face {
@@ -96,6 +109,7 @@
96
109
  src: url('../fonts/Montserrat/Montserrat-LightItalic.ttf') format('truetype');
97
110
  font-weight: 300;
98
111
  font-style: italic;
112
+ font-display: swap;
99
113
  }
100
114
 
101
115
  @font-face {
@@ -103,6 +117,7 @@
103
117
  src: url('../fonts/Montserrat/Montserrat-Thin.ttf') format('truetype');
104
118
  font-weight: 100;
105
119
  font-style: normal;
120
+ font-display: swap;
106
121
  }
107
122
 
108
123
  @font-face {
@@ -110,6 +125,7 @@
110
125
  src: url('../fonts/Montserrat/Montserrat-ThinItalic.ttf') format('truetype');
111
126
  font-weight: 100;
112
127
  font-style: italic;
128
+ font-display: swap;
113
129
  }
114
130
 
115
131
  @font-face {
@@ -117,6 +133,7 @@
117
133
  src: url('../fonts/Roboto/Roboto-Regular.ttf') format('truetype');
118
134
  font-weight: 400;
119
135
  font-style: normal;
136
+ font-display: swap;
120
137
  }
121
138
 
122
139
  @font-face {
@@ -124,6 +141,7 @@
124
141
  src: url('../fonts/Roboto/Roboto-Italic.ttf') format('truetype');
125
142
  font-weight: 400;
126
143
  font-style: italic;
144
+ font-display: swap;
127
145
  }
128
146
 
129
147
  @font-face {
@@ -131,6 +149,7 @@
131
149
  src: url('../fonts/Roboto/Roboto-Medium.ttf') format('truetype');
132
150
  font-weight: 500;
133
151
  font-style: normal;
152
+ font-display: swap;
134
153
  }
135
154
 
136
155
  @font-face {
@@ -138,6 +157,7 @@
138
157
  src: url('../fonts/Roboto/Roboto-MediumItalic.ttf') format('truetype');
139
158
  font-weight: 500;
140
159
  font-style: italic;
160
+ font-display: swap;
141
161
  }
142
162
 
143
163
  @font-face {
@@ -145,6 +165,7 @@
145
165
  src: url('../fonts/Roboto/Roboto-SemiBold.ttf') format('truetype');
146
166
  font-weight: 600;
147
167
  font-style: normal;
168
+ font-display: swap;
148
169
  }
149
170
 
150
171
  @font-face {
@@ -152,6 +173,7 @@
152
173
  src: url('../fonts/Roboto/Roboto-SemiBoldItalic.ttf') format('truetype');
153
174
  font-weight: 600;
154
175
  font-style: italic;
176
+ font-display: swap;
155
177
  }
156
178
 
157
179
  @font-face {
@@ -159,6 +181,7 @@
159
181
  src: url('../fonts/Roboto/Roboto-Bold.ttf') format('truetype');
160
182
  font-weight: 700;
161
183
  font-style: normal;
184
+ font-display: swap;
162
185
  }
163
186
 
164
187
  @font-face {
@@ -166,6 +189,7 @@
166
189
  src: url('../fonts/Roboto/Roboto-BoldItalic.ttf') format('truetype');
167
190
  font-weight: 700;
168
191
  font-style: italic;
192
+ font-display: swap;
169
193
  }
170
194
 
171
195
  @font-face {
@@ -173,6 +197,7 @@
173
197
  src: url('../fonts/Roboto/Roboto-Black.ttf') format('truetype');
174
198
  font-weight: 900;
175
199
  font-style: normal;
200
+ font-display: swap;
176
201
  }
177
202
 
178
203
  @font-face {
@@ -180,6 +205,7 @@
180
205
  src: url('../fonts/Roboto/Roboto-BlackItalic.ttf') format('truetype');
181
206
  font-weight: 900;
182
207
  font-style: italic;
208
+ font-display: swap;
183
209
  }
184
210
 
185
211
  @font-face {
@@ -187,6 +213,7 @@
187
213
  src: url('../fonts/Roboto/Roboto-Light.ttf') format('truetype');
188
214
  font-weight: 300;
189
215
  font-style: normal;
216
+ font-display: swap;
190
217
  }
191
218
 
192
219
  @font-face {
@@ -194,6 +221,7 @@
194
221
  src: url('../fonts/Roboto/Roboto-LightItalic.ttf') format('truetype');
195
222
  font-weight: 300;
196
223
  font-style: italic;
224
+ font-display: swap;
197
225
  }
198
226
 
199
227
  @font-face {
@@ -201,6 +229,7 @@
201
229
  src: url('../fonts/Roboto/Roboto-ExtraLight.ttf') format('truetype');
202
230
  font-weight: 200;
203
231
  font-style: normal;
232
+ font-display: swap;
204
233
  }
205
234
 
206
235
  @font-face {
@@ -208,6 +237,7 @@
208
237
  src: url('../fonts/Roboto/Roboto-ExtraLightItalic.ttf') format('truetype');
209
238
  font-weight: 200;
210
239
  font-style: italic;
240
+ font-display: swap;
211
241
  }
212
242
 
213
243
  @font-face {
@@ -215,6 +245,7 @@
215
245
  src: url('../fonts/Roboto/Roboto-Thin.ttf') format('truetype');
216
246
  font-weight: 100;
217
247
  font-style: normal;
248
+ font-display: swap;
218
249
  }
219
250
 
220
251
  @font-face {
@@ -222,4 +253,5 @@
222
253
  src: url('../fonts/Roboto/Roboto-ThinItalic.ttf') format('truetype');
223
254
  font-weight: 100;
224
255
  font-style: italic;
256
+ font-display: swap;
225
257
  }
@@ -39,30 +39,38 @@
39
39
 
40
40
  /* Green */
41
41
  --green-100: #d8fcd2;
42
- --green-400: #400fa2;
43
- --green-600: #200661;
44
- --green-700: #268061;
42
+ --green-300-30: #93c3b0;
43
+ --green-300-50: #93c3b0;
44
+ --green-300: #93c3b0;
45
+ --green-400: #40dfa2;
46
+ --green-600: #268661;
47
+ --green-700: #268661;
48
+ --green-800: #396f65;
45
49
 
46
50
  /* Yellow-green */
47
- --yellow-green-400: #c0dc39;
51
+ --yellow-green-400: #cddc39;
48
52
  --yellow-green-500: #afb42b;
49
53
 
50
54
  /* Red */
51
- --red-400: #f9daab;
55
+ --red-100: #f5ece6;
56
+ --red-300-40: #f9cbd1;
57
+ --red-300-60: #f9cbd1;
58
+ --red-300: #f9cbd1;
59
+ --red-400: #ff9da9;
52
60
  --red-600: #ff1f48;
53
61
  --red-800: #b00020;
54
62
 
55
63
  /* Orange */
56
- --orange-100: #f8ece8;
64
+ --orange-100: #f5ece6;
57
65
  --orange-200: #fff59b;
58
- --orange-600: #dd1323;
66
+ --orange-600: #dd9323;
59
67
 
60
68
  /* Neutrals */
61
69
  --neutral-0: #ffffff;
62
70
  --neutral-1000: #000000;
63
71
 
64
72
  /* Black */
65
- --black-1000: #2a2b37;
73
+ --black-1000: #2a2d37;
66
74
 
67
75
  /* Text */
68
76
  --body-text-color-1000: #2a2d37;
@@ -71,7 +79,7 @@
71
79
  --white-text-color-0: #ffffff;
72
80
  --link-on-dark-bg-color-400: #40dfa2;
73
81
  --link-on-light-bg-color-500: #395ca6;
74
- --menu-2nd-level-color-200: #daddec;
82
+ --menu-2nd-level-color-200: hsl(230, 32%, 89%);
75
83
  --warning-text-color-800: #b00020;
76
84
  --warning-text-on-dark-bg-color-400: #ff9da9;
77
85
  --button-text-color-500: #268661;
@@ -1,2 +1,2 @@
1
- export { cssVarResolver } from './cssVarResolver/cssVarResolver';
2
- export { isNumeric } from './isNumeric/isNumeric';
1
+ export { cssVarResolver } from './cssVarResolver';
2
+ export { isNumeric } from './isNumeric';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fvc/utils",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "main": "./dist/lib/index.js",
5
5
  "types": "./dist/lib/utils/src/index.d.ts",
6
6
  "exports": {