@itcenteratunihelsinki/huds-lib 0.8.90 → 0.9.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.
Files changed (83) hide show
  1. package/components/heading.js +2 -2
  2. package/components/hy-adjacent-image-text.js +1 -1
  3. package/components/hy-banner.js +1 -1
  4. package/components/hy-crisis-banner.js +1 -1
  5. package/components/hy-event-item.js +1 -1
  6. package/components/hy-general-list-item2.js +1 -1
  7. package/components/hy-hero-carousel.js +1 -1
  8. package/components/hy-hero.js +1 -1
  9. package/components/hy-ingress.js +1 -1
  10. package/components/hy-link-list.js +1 -1
  11. package/components/hy-list-item.js +1 -1
  12. package/components/hy-opening-hours.js +1 -1
  13. package/components/hy-person-profile.js +1 -1
  14. package/components/hy-prominent-image.js +1 -1
  15. package/components/link-box.js +1 -1
  16. package/components/paragraph-text.js +1 -1
  17. package/components/site-search.js +1 -1
  18. package/dist/cjs/hy-adjacent-image-text.cjs.entry.js +1 -1
  19. package/dist/cjs/hy-banner.cjs.entry.js +1 -1
  20. package/dist/cjs/hy-breadcrumbs_15.cjs.entry.js +4 -4
  21. package/dist/cjs/hy-crisis-banner.cjs.entry.js +1 -1
  22. package/dist/cjs/hy-event-item.cjs.entry.js +1 -1
  23. package/dist/cjs/hy-general-list_2.cjs.entry.js +1 -1
  24. package/dist/cjs/hy-hero-carousel.cjs.entry.js +1 -1
  25. package/dist/cjs/hy-hero.cjs.entry.js +1 -1
  26. package/dist/cjs/hy-link-box_2.cjs.entry.js +1 -1
  27. package/dist/cjs/hy-link-list.cjs.entry.js +1 -1
  28. package/dist/cjs/hy-list-item.cjs.entry.js +1 -1
  29. package/dist/cjs/hy-opening-hours_2.cjs.entry.js +1 -1
  30. package/dist/cjs/hy-paragraph-text.cjs.entry.js +1 -1
  31. package/dist/cjs/hy-person-profile.cjs.entry.js +1 -1
  32. package/dist/cjs/hy-prominent-image.cjs.entry.js +1 -1
  33. package/dist/collection/components/hy-adjacent-image-text/adjacent-image-text.css +25 -23
  34. package/dist/collection/components/hy-banner/hy-banner.css +1 -1
  35. package/dist/collection/components/hy-crisis-banner/hy-crisis-banner.css +2 -2
  36. package/dist/collection/components/hy-event-item/hy-event-item.css +4 -4
  37. package/dist/collection/components/hy-general-list-item/hy-general-list-item.css +43 -25
  38. package/dist/collection/components/hy-heading/heading-fw.css +175 -137
  39. package/dist/collection/components/hy-heading/heading.css +175 -137
  40. package/dist/collection/components/hy-hero/hy-hero.css +48 -56
  41. package/dist/collection/components/hy-hero-carousel/hy-hero-carousel.css +220 -54
  42. package/dist/collection/components/hy-ingress/ingress.css +44 -10
  43. package/dist/collection/components/hy-link-box/link-box.css +18 -17
  44. package/dist/collection/components/hy-link-list/hy-link-list.css +34 -26
  45. package/dist/collection/components/hy-list-item/hy-list-item.css +3 -3
  46. package/dist/collection/components/hy-opening-hours/hy-opening-hours.css +2 -2
  47. package/dist/collection/components/hy-paragraph-text/paragraph-text.css +19 -12
  48. package/dist/collection/components/hy-person-profile/person-profile.css +2 -1
  49. package/dist/collection/components/hy-prominent-image/hy-prominent-image.css +1 -1
  50. package/dist/collection/components/hy-site-header/site-search/site-search.css +1 -1
  51. package/dist/esm/hy-adjacent-image-text.entry.js +1 -1
  52. package/dist/esm/hy-banner.entry.js +1 -1
  53. package/dist/esm/hy-breadcrumbs_15.entry.js +4 -4
  54. package/dist/esm/hy-crisis-banner.entry.js +1 -1
  55. package/dist/esm/hy-event-item.entry.js +1 -1
  56. package/dist/esm/hy-general-list_2.entry.js +1 -1
  57. package/dist/esm/hy-hero-carousel.entry.js +1 -1
  58. package/dist/esm/hy-hero.entry.js +1 -1
  59. package/dist/esm/hy-link-box_2.entry.js +1 -1
  60. package/dist/esm/hy-link-list.entry.js +1 -1
  61. package/dist/esm/hy-list-item.entry.js +1 -1
  62. package/dist/esm/hy-opening-hours_2.entry.js +1 -1
  63. package/dist/esm/hy-paragraph-text.entry.js +1 -1
  64. package/dist/esm/hy-person-profile.entry.js +1 -1
  65. package/dist/esm/hy-prominent-image.entry.js +1 -1
  66. package/dist/fonts/fonts.css +4 -4
  67. package/dist/huds-lib/huds-lib.css +1 -1
  68. package/dist/huds-lib/hy-adjacent-image-text.entry.js +1 -1
  69. package/dist/huds-lib/hy-banner.entry.js +1 -1
  70. package/dist/huds-lib/hy-breadcrumbs_15.entry.js +1 -1
  71. package/dist/huds-lib/hy-crisis-banner.entry.js +1 -1
  72. package/dist/huds-lib/hy-event-item.entry.js +1 -1
  73. package/dist/huds-lib/hy-general-list_2.entry.js +1 -1
  74. package/dist/huds-lib/hy-hero-carousel.entry.js +1 -1
  75. package/dist/huds-lib/hy-hero.entry.js +1 -1
  76. package/dist/huds-lib/hy-link-box_2.entry.js +1 -1
  77. package/dist/huds-lib/hy-link-list.entry.js +1 -1
  78. package/dist/huds-lib/hy-list-item.entry.js +1 -1
  79. package/dist/huds-lib/hy-opening-hours_2.entry.js +1 -1
  80. package/dist/huds-lib/hy-paragraph-text.entry.js +1 -1
  81. package/dist/huds-lib/hy-person-profile.entry.js +1 -1
  82. package/dist/huds-lib/hy-prominent-image.entry.js +1 -1
  83. package/package.json +3 -2
@@ -138,49 +138,90 @@
138
138
  }
139
139
  h2.hy-heading__introduction,
140
140
  h2.hy-heading__landingsection {
141
- font-size: 1.75rem;
142
- line-height: 32px;
143
- font-weight: 700;
144
- letter-spacing: -0.7px;
145
- text-transform: uppercase;
141
+ color: var(--ds-palette-black-95);
142
+ font-family: var(--ds-fontFamily-heading);
143
+ font-size: var(--ds-fontSize-32);
144
+ font-weight: var(--ds-fontWeight-bold);
145
+ letter-spacing: var(--ds-letterSpacing-tight);
146
+ line-height: 36px;
147
+ font-stretch: var(--ds-fontWidth-normal);
148
+ text-transform: none;
149
+ }
150
+ @media (min-width: 60rem) {
151
+ h2.hy-heading__introduction,
152
+ h2.hy-heading__landingsection {
153
+ font-size: var(--ds-fontSize-48);
154
+ line-height: 52px;
155
+ font-stretch: var(--ds-fontWidth-condense);
156
+ }
146
157
  }
147
158
  h1.hy-heading__hero {
148
- font-size: 2rem;
149
- line-height: 38px;
150
- font-weight: 700;
151
- color: var(--grayscale-black);
152
- font-family: var(--main-font-family);
153
- letter-spacing: -0.8px;
154
- margin-bottom: 0;
159
+ color: var(--ds-palette-black-95);
160
+ font-family: var(--ds-fontFamily-heading);
161
+ font-size: var(--ds-fontSize-40);
162
+ font-weight: var(--ds-fontWeight-bold);
163
+ letter-spacing: -1.2px;
164
+ font-stretch: var(--ds-fontWidth-normal);
165
+ line-height: 48px;
166
+ text-transform: uppercase;
155
167
  }
156
- @media (min-width: 1024px) {
168
+ @media (min-width: 60rem) {
157
169
  h1.hy-heading__hero {
158
- font-size: 2.875rem;
159
- line-height: 54px;
160
- letter-spacing: -1.15px;
170
+ font-size: var(--ds-fontSize-56);
171
+ letter-spacing: var(--ds-letterSpacing-tight);
172
+ line-height: 64px;
173
+ font-stretch: var(--ds-fontWidth-condense);
161
174
  }
162
175
  }
163
- @media (min-width: 1601px) {
164
- h1.hy-heading__hero {
165
- font-size: 3.25rem;
166
- line-height: 60px;
167
- letter-spacing: -1.3px;
168
- }
176
+ .hy-heading__container__common h2.hy-heading__introduction,
177
+ .hy-heading__container__common h2.hy-heading__landingsection {
178
+ color: var(--ds-palette-black-95);
179
+ font-family: var(--ds-fontFamily-heading);
180
+ font-size: var(--ds-fontSize-32);
181
+ font-weight: var(--ds-fontWeight-bold);
182
+ letter-spacing: var(--ds-letterSpacing-tight);
183
+ line-height: 36px;
184
+ font-stretch: var(--ds-fontWidth-normal);
185
+ text-transform: none;
169
186
  }
170
- @media (min-width: 30rem) {
187
+ @media (min-width: 60rem) {
171
188
  .hy-heading__container__common h2.hy-heading__introduction,
172
189
  .hy-heading__container__common h2.hy-heading__landingsection {
173
- font-size: 2.125rem;
174
- line-height: 40px;
175
- letter-spacing: -0.85px;
190
+ font-size: var(--ds-fontSize-48);
191
+ line-height: 52px;
192
+ font-stretch: var(--ds-fontWidth-condense);
176
193
  }
177
194
  }
178
- @media (min-width: 1601px) {
179
- .hy-heading__container__common h2.hy-heading__introduction,
180
- .hy-heading__container__common h2.hy-heading__landingsection {
181
- font-size: 2.625rem;
182
- line-height: 48px;
183
- letter-spacing: -1.05px;
195
+ .hy-heading__container__common h2.hy-heading__contentsection {
196
+ color: var(--ds-palette-black-95);
197
+ font-family: var(--ds-fontFamily-heading);
198
+ font-size: var(--ds-fontSize-24);
199
+ font-weight: var(--ds-fontWeight-bold);
200
+ letter-spacing: var(--ds-letterSpacing-normal);
201
+ line-height: 28px;
202
+ text-transform: none;
203
+ }
204
+ @media (min-width: 60rem) {
205
+ .hy-heading__container__common h2.hy-heading__contentsection {
206
+ font-size: var(--ds-fontSize-32);
207
+ font-weight: var(--ds-fontWeight-semiboldPlus);
208
+ letter-spacing: var(--ds-letterSpacing-tight);
209
+ line-height: 36px;
210
+ }
211
+ }
212
+ .hy-heading__container__common h3.hy-heading {
213
+ color: var(--ds-palette-black-95);
214
+ font-family: var(--ds-fontFamily-heading);
215
+ font-size: var(--ds-fontSize-20);
216
+ font-weight: var(--ds-fontWeight-semiboldPlus);
217
+ letter-spacing: var(--ds-letterSpacing-normal);
218
+ line-height: 28px;
219
+ text-transform: none;
220
+ }
221
+ @media (min-width: 60rem) {
222
+ .hy-heading__container__common h3.hy-heading {
223
+ font-size: var(--ds-fontSize-24);
224
+ line-height: 24px;
184
225
  }
185
226
  }
186
227
  .hy-heading__container__common h2.hy-heading__introduction {
@@ -258,20 +299,23 @@ h1.hy-heading__hero {
258
299
  letter-spacing: -1.05px;
259
300
  }
260
301
  }
261
- @media (min-width: 30rem) {
262
- .hy-heading__container__large h2.hy-heading__introduction,
263
- .hy-heading__container__large h2.hy-heading__landingsection {
264
- font-size: 2.125rem;
265
- line-height: 40px;
266
- letter-spacing: -0.85px;
267
- }
302
+ .hy-heading__container__large h2.hy-heading__introduction,
303
+ .hy-heading__container__large h2.hy-heading__landingsection {
304
+ color: var(--ds-palette-black-95);
305
+ font-family: var(--ds-fontFamily-heading);
306
+ font-size: var(--ds-fontSize-32);
307
+ font-weight: var(--ds-fontWeight-bold);
308
+ letter-spacing: var(--ds-letterSpacing-tight);
309
+ line-height: 36px;
310
+ font-stretch: var(--ds-fontWidth-normal);
311
+ text-transform: none;
268
312
  }
269
- @media (min-width: 75.0625rem) {
313
+ @media (min-width: 60rem) {
270
314
  .hy-heading__container__large h2.hy-heading__introduction,
271
315
  .hy-heading__container__large h2.hy-heading__landingsection {
272
- font-size: 2.625rem;
273
- line-height: 48px;
274
- letter-spacing: -1.05px;
316
+ font-size: var(--ds-fontSize-48);
317
+ line-height: 52px;
318
+ font-stretch: var(--ds-fontWidth-condense);
275
319
  }
276
320
  }
277
321
  @media (min-width: 75.0625rem) {
@@ -313,12 +357,23 @@ h1.hy-heading__hero {
313
357
  letter-spacing: -1.3px;
314
358
  }
315
359
  }
316
- @media (min-width: 75.0625rem) {
360
+ .hy-heading__container__large h1.hy-heading__frontpage,
361
+ .hy-heading__container__large h1.hy-heading__landing_major {
362
+ color: var(--ds-palette-black-95);
363
+ font-family: var(--ds-fontFamily-heading);
364
+ font-size: var(--ds-fontSize-32);
365
+ font-weight: var(--ds-fontWeight-bold);
366
+ letter-spacing: var(--ds-letterSpacing-tight);
367
+ line-height: 36px;
368
+ font-stretch: var(--ds-fontWidth-normal);
369
+ text-transform: none;
370
+ }
371
+ @media (min-width: 60rem) {
317
372
  .hy-heading__container__large h1.hy-heading__frontpage,
318
373
  .hy-heading__container__large h1.hy-heading__landing_major {
319
- font-size: 3.5rem;
320
- line-height: 64px;
321
- letter-spacing: -1.4px;
374
+ font-size: var(--ds-fontSize-48);
375
+ line-height: 52px;
376
+ font-stretch: var(--ds-fontWidth-condense);
322
377
  }
323
378
  }
324
379
  .hy-heading__container__large h2.hy-heading__group_footer_info {
@@ -361,29 +416,20 @@ h1.hy-heading__hero {
361
416
  }
362
417
  }
363
418
  h3.hy-heading__landingsection {
364
- font-size: 1.625rem;
365
- line-height: 32px;
366
- letter-spacing: -0.8px;
367
- }
368
- @media (min-width: 30rem) {
369
- h3.hy-heading__landingsection {
370
- font-size: 2rem;
371
- line-height: 32px;
372
- letter-spacing: -1px;
373
- }
374
- }
375
- @media (min-width: 75.0625rem) {
376
- h3.hy-heading__landingsection {
377
- font-size: 2.5rem;
378
- line-height: 48px;
379
- letter-spacing: -1.2px;
380
- }
419
+ color: var(--ds-palette-black-95);
420
+ font-family: var(--ds-fontFamily-heading);
421
+ font-size: var(--ds-fontSize-24);
422
+ font-weight: var(--ds-fontWeight-bold);
423
+ letter-spacing: var(--ds-letterSpacing-normal);
424
+ line-height: 28px;
425
+ text-transform: none;
381
426
  }
382
- @media (min-width: 1601px) {
427
+ @media (min-width: 60rem) {
383
428
  h3.hy-heading__landingsection {
384
- font-size: 2.5rem;
385
- line-height: 48px;
386
- letter-spacing: -1.2px;
429
+ font-size: var(--ds-fontSize-32);
430
+ font-weight: var(--ds-fontWeight-semiboldPlus);
431
+ letter-spacing: var(--ds-letterSpacing-tight);
432
+ line-height: 36px;
387
433
  }
388
434
  }
389
435
  h1,
@@ -408,104 +454,96 @@ h6.negative {
408
454
  color: var(--grayscale-white);
409
455
  }
410
456
  h1 {
411
- font-size: 2rem;
412
- line-height: 38px;
413
- letter-spacing: -0.8px;
414
- text-transform: uppercase;
457
+ color: var(--ds-palette-black-95);
458
+ font-family: var(--ds-fontFamily-heading);
459
+ font-size: var(--ds-fontSize-32);
460
+ font-weight: var(--ds-fontWeight-bold);
461
+ letter-spacing: var(--ds-letterSpacing-tight);
462
+ line-height: 36px;
463
+ font-stretch: var(--ds-fontWidth-normal);
464
+ text-transform: none;
415
465
  }
416
- @media (min-width: 30rem) {
417
- h1 {
418
- font-size: 2.875rem;
419
- line-height: 54px;
420
- letter-spacing: -1.15px;
421
- }
422
- }
423
- @media (min-width: 1601px) {
466
+ @media (min-width: 60rem) {
424
467
  h1 {
425
- font-size: 3.25rem;
426
- line-height: 60px;
427
- letter-spacing: -1.3px;
428
- }
429
- }
430
- @media (min-width: 75.0625rem) {
431
- .hy-heading__container__large h1 {
432
- font-size: 3.25rem;
433
- line-height: 60px;
434
- letter-spacing: -1.3px;
468
+ font-size: var(--ds-fontSize-48);
469
+ line-height: 52px;
470
+ font-stretch: var(--ds-fontWidth-condense);
435
471
  }
436
472
  }
437
473
  h2 {
438
- font-size: 1.625rem;
439
- line-height: 32px;
440
- font-weight: 700;
441
- letter-spacing: -0.52px;
474
+ color: var(--ds-palette-black-95);
475
+ font-family: var(--ds-fontFamily-heading);
476
+ font-size: var(--ds-fontSize-24);
477
+ font-weight: var(--ds-fontWeight-bold);
478
+ letter-spacing: var(--ds-letterSpacing-normal);
479
+ line-height: 28px;
480
+ text-transform: none;
442
481
  }
443
- @media (min-width: 30rem) {
482
+ @media (min-width: 60rem) {
444
483
  h2 {
445
- font-size: 1.875rem;
484
+ font-size: var(--ds-fontSize-32);
485
+ font-weight: var(--ds-fontWeight-semiboldPlus);
486
+ letter-spacing: var(--ds-letterSpacing-tight);
446
487
  line-height: 36px;
447
- letter-spacing: -0.6px;
448
- }
449
- }
450
- @media (min-width: 1601px) {
451
- .hy-heading__container__common h2 {
452
- font-size: 2.125rem;
453
- line-height: 40px;
454
- letter-spacing: -0.68px;
455
- }
456
- }
457
- @media (min-width: 75.0625rem) {
458
- .hy-heading__container__large h2 {
459
- font-size: 2.125rem;
460
- line-height: 40px;
461
- letter-spacing: -0.68px;
462
488
  }
463
489
  }
464
490
  h3 {
465
- font-size: 1.375rem;
491
+ color: var(--ds-palette-black-95);
492
+ font-family: var(--ds-fontFamily-heading);
493
+ font-size: var(--ds-fontSize-20);
494
+ font-weight: var(--ds-fontWeight-semiboldPlus);
495
+ letter-spacing: var(--ds-letterSpacing-normal);
466
496
  line-height: 28px;
467
- letter-spacing: -0.7px;
497
+ text-transform: none;
468
498
  }
469
- @media (min-width: 30rem) {
499
+ @media (min-width: 60rem) {
470
500
  h3 {
471
- font-size: 1.625rem;
472
- line-height: 32px;
473
- letter-spacing: -0.8px;
501
+ font-size: var(--ds-fontSize-24);
502
+ line-height: 24px;
474
503
  }
475
504
  }
476
505
  h4 {
477
- font-size: 1.125rem;
478
- line-height: 24px;
479
- letter-spacing: -0.56px;
506
+ color: var(--ds-palette-black-95);
507
+ font-family: var(--ds-fontFamily-heading);
508
+ font-size: var(--ds-fontSize-18);
509
+ font-weight: var(--ds-fontWeight-semibold);
510
+ letter-spacing: var(--ds-letterSpacing-normal);
511
+ line-height: 20px;
512
+ text-transform: none;
480
513
  }
481
- @media (min-width: 30rem) {
514
+ @media (min-width: 60rem) {
482
515
  h4 {
483
- font-size: 1.375rem;
484
- line-height: 28px;
485
- letter-spacing: -0.69px;
516
+ font-size: var(--ds-fontSize-20);
517
+ line-height: 24px;
486
518
  }
487
519
  }
488
520
  h5 {
489
- font-size: 1rem;
490
- line-height: 20px;
491
- letter-spacing: -0.5px;
521
+ color: var(--ds-palette-black-95);
522
+ font-family: var(--ds-fontFamily-heading);
523
+ font-size: var(--ds-fontSize-16);
524
+ font-weight: var(--ds-fontWeight-bold);
525
+ letter-spacing: var(--ds-letterSpacing-normal);
526
+ line-height: 18px;
527
+ text-transform: uppercase;
492
528
  }
493
- @media (min-width: 30rem) {
529
+ @media (min-width: 60rem) {
494
530
  h5 {
495
- font-size: 1.125rem;
496
- line-height: 24px;
497
- letter-spacing: -0.56px;
531
+ font-size: var(--ds-fontSize-18);
532
+ line-height: 20px;
498
533
  }
499
534
  }
500
535
  h6 {
501
- font-size: 0.875rem;
502
- line-height: 16px;
503
- letter-spacing: -0.44px;
536
+ color: var(--ds-palette-black-95);
537
+ font-family: var(--ds-fontFamily-heading);
538
+ font-size: var(--ds-fontSize-16);
539
+ font-weight: var(--ds-fontWeight-bold);
540
+ letter-spacing: var(--ds-letterSpacing-normal);
541
+ line-height: 18px;
542
+ text-transform: uppercase;
504
543
  }
505
- @media (min-width: 30rem) {
544
+ @media (min-width: 60rem) {
506
545
  h6 {
507
- font-size: 1rem;
546
+ font-size: var(--ds-fontSize-18);
508
547
  line-height: 20px;
509
- letter-spacing: -0.5px;
510
548
  }
511
549
  }
@@ -53,7 +53,7 @@
53
53
  }
54
54
  .hy-hero--full-image {
55
55
  --dark-bg: rgba(0, 0, 0, 0.55);
56
- --light-bg: rgba(255, 255, 255, 0.5);
56
+ --light-bg: rgba(255, 255, 255, 0.95);
57
57
  --dark-text: var(--brand-main-nearly-black);
58
58
  --light-text: var(--grayscale-white);
59
59
  border-bottom: 1px solid var(--grayscale-medium-dark);
@@ -410,39 +410,43 @@ h2.hy-hero__title {
410
410
  color: var(--grayscale-black) !important;
411
411
  }
412
412
  h2.hy-hero__title.hy-heading__hero {
413
- font-size: 2.25rem;
414
- line-height: 33px;
415
- font-weight: 700;
416
- color: var(--grayscale-black);
417
- font-family: var(--main-font-family);
413
+ color: var(--ds-palette-black-95);
414
+ font-family: var(--ds-fontFamily-heading);
415
+ font-size: var(--ds-fontSize-32);
416
+ font-weight: var(--ds-fontWeight-bold);
417
+ letter-spacing: var(--ds-letterSpacing-tight);
418
+ line-height: 36px;
419
+ font-stretch: var(--ds-fontWidth-normal);
420
+ text-transform: none;
418
421
  letter-spacing: -0.8px;
419
422
  margin-bottom: 0;
420
423
  text-transform: none;
421
424
  text-wrap: balance;
422
425
  }
423
- @media (min-width: 1024px) {
424
- h2.hy-hero__title.hy-heading__hero {
425
- font-size: 2.25rem;
426
- line-height: 40px;
427
- letter-spacing: -1.15px;
428
- }
429
- }
430
- @media (min-width: 1601px) {
426
+ @media (min-width: 60rem) {
431
427
  h2.hy-hero__title.hy-heading__hero {
432
- font-size: 2.375rem;
433
- line-height: 48px;
434
- letter-spacing: -1.3px;
428
+ font-size: var(--ds-fontSize-48);
429
+ line-height: 52px;
430
+ font-stretch: var(--ds-fontWidth-condense);
435
431
  }
436
432
  }
437
433
  .hy-hero__description {
438
- font-size: 1rem;
439
- line-height: 24px;
440
- font-family: var(--main-font-family);
434
+ color: inherit;
435
+ font-family: var(--ds-fontFamily-body);
436
+ font-size: var(--ds-fontSize-18);
437
+ font-weight: var(--ds-fontWeight-regular);
438
+ letter-spacing: var(--ds-letterSpacing-wide);
439
+ line-height: var(--ds-lineHeight-large);
441
440
  margin: 16px 0 0 0;
442
441
  padding: 0;
443
442
  position: relative;
444
443
  text-wrap: pretty;
445
444
  }
445
+ @media (min-width: 60rem) {
446
+ .hy-hero__description {
447
+ font-size: var(--ds-fontSize-20);
448
+ }
449
+ }
446
450
  @media (min-width: 1601px) {
447
451
  .hy-hero__description {
448
452
  font-size: 1.0625rem;
@@ -500,29 +504,22 @@ h2.hy-hero__title.hy-heading__hero {
500
504
  **/
501
505
  .hy-hero.hy-hero--group_landing.hy-hero--generic_site_group h2.hy-hero__title.hy-heading__hero,
502
506
  .hy-hero.hy-hero--research_group h2.hy-hero__title.hy-heading__hero {
503
- font-size: 2rem;
504
- line-height: 38px;
505
- font-weight: 700;
506
- color: var(--grayscale-black);
507
- font-family: var(--main-font-family);
508
- letter-spacing: -0.8px;
507
+ color: var(--ds-palette-black-95);
508
+ font-family: var(--ds-fontFamily-heading);
509
+ font-size: var(--ds-fontSize-32);
510
+ font-weight: var(--ds-fontWeight-bold);
511
+ letter-spacing: var(--ds-letterSpacing-tight);
512
+ line-height: 36px;
513
+ font-stretch: var(--ds-fontWidth-normal);
514
+ text-transform: none;
509
515
  margin-bottom: 0;
510
- text-transform: uppercase;
511
516
  }
512
- @media (min-width: 1024px) {
513
- .hy-hero.hy-hero--group_landing.hy-hero--generic_site_group h2.hy-hero__title.hy-heading__hero,
514
- .hy-hero.hy-hero--research_group h2.hy-hero__title.hy-heading__hero {
515
- font-size: 2.875rem;
516
- line-height: 54px;
517
- letter-spacing: -1.15px;
518
- }
519
- }
520
- @media (min-width: 1601px) {
517
+ @media (min-width: 60rem) {
521
518
  .hy-hero.hy-hero--group_landing.hy-hero--generic_site_group h2.hy-hero__title.hy-heading__hero,
522
519
  .hy-hero.hy-hero--research_group h2.hy-hero__title.hy-heading__hero {
523
- font-size: 3.25rem;
524
- line-height: 60px;
525
- letter-spacing: -1.3px;
520
+ font-size: var(--ds-fontSize-48);
521
+ line-height: 52px;
522
+ font-stretch: var(--ds-fontWidth-condense);
526
523
  }
527
524
  }
528
525
  /**
@@ -535,27 +532,22 @@ h2.hy-hero__title.hy-heading__hero {
535
532
  }
536
533
  }
537
534
  .hy-hero.hy-hero--front_page h2.hy-hero__title.hy-heading__hero {
538
- font-size: 2rem;
539
- line-height: 38px;
540
- font-weight: 700;
541
- color: var(--grayscale-black);
542
- font-family: var(--main-font-family);
535
+ color: var(--ds-palette-black-95);
536
+ font-family: var(--ds-fontFamily-heading);
537
+ font-size: var(--ds-fontSize-32);
538
+ font-weight: var(--ds-fontWeight-bold);
539
+ letter-spacing: var(--ds-letterSpacing-tight);
540
+ line-height: 36px;
541
+ font-stretch: var(--ds-fontWidth-normal);
542
+ text-transform: none;
543
543
  letter-spacing: -0.8px;
544
544
  margin-bottom: 0;
545
- text-transform: uppercase;
546
- }
547
- @media (min-width: 1024px) {
548
- .hy-hero.hy-hero--front_page h2.hy-hero__title.hy-heading__hero {
549
- font-size: 2.875rem;
550
- line-height: 54px;
551
- letter-spacing: -1.15px;
552
- }
553
545
  }
554
- @media (min-width: 1601px) {
546
+ @media (min-width: 60rem) {
555
547
  .hy-hero.hy-hero--front_page h2.hy-hero__title.hy-heading__hero {
556
- font-size: 3.25rem;
557
- line-height: 60px;
558
- letter-spacing: -1.3px;
548
+ font-size: var(--ds-fontSize-48);
549
+ line-height: 52px;
550
+ font-stretch: var(--ds-fontWidth-condense);
559
551
  }
560
552
  }
561
553
  @media (min-width: 75.0625rem) {