@entur/typography 1.6.11 → 1.6.12

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/CHANGELOG.md CHANGED
@@ -3,6 +3,10 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [1.6.12](https://bitbucket.org/enturas/design-system/compare/@entur/typography@1.6.11...@entur/typography@1.6.12) (2022-04-27)
7
+
8
+ **Note:** Version bump only for package @entur/typography
9
+
6
10
  ## [1.6.11](https://bitbucket.org/enturas/design-system/compare/@entur/typography@1.6.10...@entur/typography@1.6.11) (2022-02-09)
7
11
 
8
12
  **Note:** Version bump only for package @entur/typography
package/dist/styles.css CHANGED
@@ -76,11 +76,16 @@
76
76
  "Helvetica Neue", sans-serif;
77
77
  }
78
78
  html {
79
+ background-color: #ffffff;
79
80
  background-color: #ffffff;
80
81
  background-color: var(--primary-background-color);
81
82
  box-sizing: border-box;
82
83
  color: #181c56;
84
+ color: #181c56;
83
85
  color: var(--primary-text-color);
86
+ font-family: "Nationale", Arial, "Gotham Rounded", -apple-system,
87
+ BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell,
88
+ "Helvetica Neue", sans-serif;
84
89
  font-family: var(--eds-font-family);
85
90
  font-weight: 500;
86
91
  font-size: 1rem;
@@ -107,6 +112,7 @@ html {
107
112
  .eds-h5,
108
113
  .eds-h6 {
109
114
  color: inherit;
115
+ color: #181c56;
110
116
  color: var(--primary-text-color);
111
117
  font-weight: 600;
112
118
  -webkit-font-smoothing: antialiased;
@@ -186,6 +192,7 @@ html {
186
192
 
187
193
  .eds-paragraph {
188
194
  color: inherit;
195
+ color: #181c56;
189
196
  color: var(--primary-text-color);
190
197
  font-size: 1rem;
191
198
  line-height: 1.5rem;
@@ -253,6 +260,7 @@ html {
253
260
 
254
261
  .eds-lead-paragraph {
255
262
  color: inherit;
263
+ color: #181c56;
256
264
  color: var(--primary-text-color);
257
265
  font-size: 1.25rem;
258
266
  line-height: 1.875rem;
@@ -267,6 +275,7 @@ html {
267
275
 
268
276
  .eds-sub-paragraph {
269
277
  color: inherit;
278
+ color: #181c56;
270
279
  color: var(--primary-text-color);
271
280
  font-size: 0.875rem;
272
281
  line-height: 1.25rem;
@@ -279,6 +288,7 @@ html {
279
288
 
280
289
  .eds-small-text {
281
290
  color: inherit;
291
+ color: #181c56;
282
292
  color: var(--primary-text-color);
283
293
  font-size: 0.625rem;
284
294
  line-height: 1rem;
@@ -292,6 +302,7 @@ html {
292
302
 
293
303
  .eds-link, .eds-link:link, .eds-link:visited {
294
304
  color: inherit;
305
+ color: #181c56;
295
306
  color: var(--primary-text-color);
296
307
  font-size: inherit;
297
308
  text-decoration: none;
@@ -302,11 +313,20 @@ html {
302
313
  background-position: 0 100%;
303
314
  }
304
315
  .eds-link:hover {
305
- animation: eds-link-underline 0.3s ease-in;
316
+ -webkit-animation: eds-link-underline 0.3s ease-in;
317
+ animation: eds-link-underline 0.3s ease-in;
306
318
  }
307
319
  .eds-contrast .eds-link {
308
320
  background-image: linear-gradient(120deg, #ffffff 0%, #ffffff 100%);
309
321
  }
322
+ @-webkit-keyframes eds-link-underline {
323
+ from {
324
+ background-size: 0% 0.125rem;
325
+ }
326
+ to {
327
+ background-size: 100% 0.125rem;
328
+ }
329
+ }
310
330
  @keyframes eds-link-underline {
311
331
  from {
312
332
  background-size: 0% 0.125rem;
@@ -332,6 +352,7 @@ html {
332
352
 
333
353
  .eds-label,
334
354
  .eds-sub-label {
355
+ color: #656782;
335
356
  color: #656782;
336
357
  color: var(--primary-label-color);
337
358
  }
@@ -436,6 +457,7 @@ html {
436
457
  }
437
458
  .eds-numbered-list > .eds-list-item::before {
438
459
  color: inherit;
460
+ color: #181c56;
439
461
  color: var(--primary-text-color);
440
462
  position: absolute;
441
463
  font-weight: 600;
@@ -476,6 +498,15 @@ html {
476
498
  text-transform: uppercase;
477
499
  }
478
500
 
501
+ @-webkit-keyframes lineExpand {
502
+ 0% {
503
+ width: 0;
504
+ }
505
+ 100% {
506
+ width: 100%;
507
+ }
508
+ }
509
+
479
510
  @keyframes lineExpand {
480
511
  0% {
481
512
  width: 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/typography",
3
- "version": "1.6.11",
3
+ "version": "1.6.12",
4
4
  "license": "SEE LICENSE IN README.md",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/typography.esm.js",
@@ -28,12 +28,11 @@
28
28
  },
29
29
  "dependencies": {
30
30
  "@entur/utils": "^0.4.3",
31
- "@types/classnames": "^2.3.1",
32
31
  "classnames": "^2.3.1",
33
32
  "normalize-scss": "^7.0.1"
34
33
  },
35
34
  "devDependencies": {
36
- "@entur/tokens": "^3.3.1"
35
+ "@entur/tokens": "^3.3.2"
37
36
  },
38
- "gitHead": "61e643371cfc5653c93160b7c220152e5b2bafeb"
37
+ "gitHead": "7b557782d62c07bdce744f9b084d57177e2202e9"
39
38
  }