@arbeidstilsynet/design-theme 0.1.0 → 0.2.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.
@@ -1,8 +1,93 @@
1
1
  @charset "UTF-8";
2
2
  /*
3
- build: v1.4.0
3
+ build: v1.6.0
4
4
  */
5
5
 
6
+ @layer ds.theme.size-mode {
7
+ :root /* small */ {
8
+ --ds-size-mode-font-size--sm: 1;
9
+ }
10
+ }
11
+
12
+ @layer ds.theme.size-mode {
13
+ :root /* medium */ {
14
+ --ds-size-mode-font-size--md: 1.125;
15
+ }
16
+ }
17
+
18
+ @layer ds.theme.size-mode {
19
+ :root /* large */ {
20
+ --ds-size-mode-font-size--lg: 1.3125;
21
+ }
22
+ }
23
+
24
+ @layer ds.theme.size-mode {
25
+ :root, [data-size] {
26
+ --ds-size: var(--ds-size--md);
27
+ --ds-size--sm: var(--ds-size,);
28
+ --ds-size--md: var(--ds-size,);
29
+ --ds-size--lg: var(--ds-size,);
30
+ --ds-size-mode-font-size:
31
+ var(--ds-size--sm, var(--ds-size-mode-font-size--sm))
32
+ var(--ds-size--md, var(--ds-size-mode-font-size--md))
33
+ var(--ds-size--lg, var(--ds-size-mode-font-size--lg));
34
+ }
35
+
36
+ [data-size='sm'] { --ds-size: var(--ds-size--sm); }
37
+ [data-size='md'] { --ds-size: var(--ds-size--md); }
38
+ [data-size='lg'] { --ds-size: var(--ds-size--lg); }
39
+ }
40
+
41
+ @layer ds.theme.type-scale {
42
+ :root, [data-size] {
43
+ --_ds-font-size-factor: calc(var(--ds-size-mode-font-size) / (var(--ds-size-base) / 16));
44
+ --ds-font-size-1: calc(0.75rem * var(--_ds-font-size-factor));
45
+ --ds-font-size-2: calc(0.875rem * var(--_ds-font-size-factor));
46
+ --ds-font-size-3: calc(1rem * var(--_ds-font-size-factor));
47
+ --ds-font-size-4: calc(1.125rem * var(--_ds-font-size-factor));
48
+ --ds-font-size-5: calc(1.3125rem * var(--_ds-font-size-factor));
49
+ --ds-font-size-6: calc(1.5rem * var(--_ds-font-size-factor));
50
+ --ds-font-size-7: calc(1.875rem * var(--_ds-font-size-factor));
51
+ --ds-font-size-8: calc(2.25rem * var(--_ds-font-size-factor));
52
+ --ds-font-size-9: calc(3rem * var(--_ds-font-size-factor));
53
+ --ds-font-size-10: calc(3.75rem * var(--_ds-font-size-factor));
54
+ --ds-heading-2xl-font-size: var(--ds-font-size-10);
55
+ --ds-heading-xl-font-size: var(--ds-font-size-9);
56
+ --ds-heading-lg-font-size: var(--ds-font-size-8);
57
+ --ds-heading-md-font-size: var(--ds-font-size-7);
58
+ --ds-heading-sm-font-size: var(--ds-font-size-6);
59
+ --ds-heading-xs-font-size: var(--ds-font-size-5);
60
+ --ds-heading-2xs-font-size: var(--ds-font-size-4);
61
+ --ds-body-xl-font-size: var(--ds-font-size-6);
62
+ --ds-body-lg-font-size: var(--ds-font-size-5);
63
+ --ds-body-md-font-size: var(--ds-font-size-4);
64
+ --ds-body-sm-font-size: var(--ds-font-size-3);
65
+ --ds-body-xs-font-size: var(--ds-font-size-1);
66
+ --ds-body-short-xl-font-size: var(--ds-font-size-6);
67
+ --ds-body-short-lg-font-size: var(--ds-font-size-5);
68
+ --ds-body-short-md-font-size: var(--ds-font-size-4);
69
+ --ds-body-short-sm-font-size: var(--ds-font-size-3);
70
+ --ds-body-short-xs-font-size: var(--ds-font-size-2);
71
+ --ds-body-long-xl-font-size: var(--ds-font-size-6);
72
+ --ds-body-long-lg-font-size: var(--ds-font-size-5);
73
+ --ds-body-long-md-font-size: var(--ds-font-size-4);
74
+ --ds-body-long-sm-font-size: var(--ds-font-size-3);
75
+ --ds-body-long-xs-font-size: var(--ds-font-size-2);
76
+
77
+ @supports (width: round(down, .1em, 1px)) {
78
+ --ds-font-size-1: round(calc(0.75rem * var(--_ds-font-size-factor)), 1px);
79
+ --ds-font-size-2: round(calc(0.875rem * var(--_ds-font-size-factor)), 1px);
80
+ --ds-font-size-3: round(calc(1rem * var(--_ds-font-size-factor)), 1px);
81
+ --ds-font-size-4: round(calc(1.125rem * var(--_ds-font-size-factor)), 1px);
82
+ --ds-font-size-5: round(calc(1.3125rem * var(--_ds-font-size-factor)), 1px);
83
+ --ds-font-size-6: round(calc(1.5rem * var(--_ds-font-size-factor)), 1px);
84
+ --ds-font-size-7: round(calc(1.875rem * var(--_ds-font-size-factor)), 1px);
85
+ --ds-font-size-8: round(calc(2.25rem * var(--_ds-font-size-factor)), 1px);
86
+ --ds-font-size-9: round(calc(3rem * var(--_ds-font-size-factor)), 1px);
87
+ --ds-font-size-10: round(calc(3.75rem * var(--_ds-font-size-factor)), 1px);
88
+ }
89
+ }
90
+ }
6
91
  @layer ds.theme.color-scheme.light {
7
92
  :root, [data-color-scheme="light"] {
8
93
  --ds-color-primary-background-default: #ffffff;
@@ -151,6 +236,7 @@ build: v1.4.0
151
236
  --ds-color-warning-base-contrast-default: #000000;
152
237
  --ds-color-focus-inner: #ffffff;
153
238
  --ds-color-focus-outer: #000000;
239
+ --ds-link-color-visited: #663299;
154
240
 
155
241
  color-scheme: light;
156
242
  }
@@ -303,6 +389,7 @@ build: v1.4.0
303
389
  --ds-color-warning-base-contrast-default: #000000;
304
390
  --ds-color-focus-inner: #ffffff;
305
391
  --ds-color-focus-outer: #000000;
392
+ --ds-link-color-visited: #663299;
306
393
 
307
394
  color-scheme: light;
308
395
  }
@@ -316,16 +403,6 @@ build: v1.4.0
316
403
  --ds-line-height-sm: 1.3;
317
404
  --ds-line-height-md: 1.5;
318
405
  --ds-line-height-lg: 1.7;
319
- --ds-font-size-1: 0.75rem;
320
- --ds-font-size-2: 0.875rem;
321
- --ds-font-size-3: 1rem;
322
- --ds-font-size-4: 1.125rem;
323
- --ds-font-size-5: 1.3125rem;
324
- --ds-font-size-6: 1.5rem;
325
- --ds-font-size-7: 1.875rem;
326
- --ds-font-size-8: 2.25rem;
327
- --ds-font-size-9: 3rem;
328
- --ds-font-size-10: 3.75rem;
329
406
  --ds-letter-spacing-1: -0.01em;
330
407
  --ds-letter-spacing-2: -0.005em;
331
408
  --ds-letter-spacing-3: -0.0025em;
@@ -341,98 +418,127 @@ build: v1.4.0
341
418
  --ds-font-weight-regular: 400;
342
419
  --ds-heading-2xl-font-weight: 500;
343
420
  --ds-heading-2xl-line-height: 1.3;
344
- --ds-heading-2xl-font-size: 3.75rem;
345
421
  --ds-heading-2xl-letter-spacing: -0.01em;
346
422
  --ds-heading-xl-font-weight: 500;
347
423
  --ds-heading-xl-line-height: 1.3;
348
- --ds-heading-xl-font-size: 3rem;
349
424
  --ds-heading-xl-letter-spacing: -0.01em;
350
425
  --ds-heading-lg-font-weight: 500;
351
426
  --ds-heading-lg-line-height: 1.3;
352
- --ds-heading-lg-font-size: 2.25rem;
353
427
  --ds-heading-lg-letter-spacing: -0.005em;
354
428
  --ds-heading-md-font-weight: 500;
355
429
  --ds-heading-md-line-height: 1.3;
356
- --ds-heading-md-font-size: 1.875rem;
357
430
  --ds-heading-md-letter-spacing: -0.0025em;
358
431
  --ds-heading-sm-font-weight: 500;
359
432
  --ds-heading-sm-line-height: 1.3;
360
- --ds-heading-sm-font-size: 1.5rem;
361
433
  --ds-heading-sm-letter-spacing: 0em;
362
434
  --ds-heading-xs-font-weight: 500;
363
435
  --ds-heading-xs-line-height: 1.3;
364
- --ds-heading-xs-font-size: 1.3125rem;
365
436
  --ds-heading-xs-letter-spacing: 0.0015em;
366
437
  --ds-heading-2xs-font-weight: 500;
367
438
  --ds-heading-2xs-line-height: 1.3;
368
- --ds-heading-2xs-font-size: 1.125rem;
369
439
  --ds-heading-2xs-letter-spacing: 0.0015em;
370
440
  --ds-body-xl-font-weight: 400;
371
441
  --ds-body-xl-line-height: 1.5;
372
- --ds-body-xl-font-size: 1.5rem;
373
442
  --ds-body-xl-letter-spacing: 0.005em;
374
443
  --ds-body-lg-font-weight: 400;
375
444
  --ds-body-lg-line-height: 1.5;
376
- --ds-body-lg-font-size: 1.3125rem;
377
445
  --ds-body-lg-letter-spacing: 0.005em;
378
446
  --ds-body-md-font-weight: 400;
379
447
  --ds-body-md-line-height: 1.5;
380
- --ds-body-md-font-size: 1.125rem;
381
448
  --ds-body-md-letter-spacing: 0.005em;
382
449
  --ds-body-sm-font-weight: 400;
383
450
  --ds-body-sm-line-height: 1.5;
384
- --ds-body-sm-font-size: 1rem;
385
451
  --ds-body-sm-letter-spacing: 0.0025em;
386
452
  --ds-body-xs-font-weight: 400;
387
453
  --ds-body-xs-line-height: 1.5;
388
- --ds-body-xs-font-size: 0.75rem;
389
454
  --ds-body-xs-letter-spacing: 0.0015em;
390
455
  --ds-body-short-xl-font-weight: 400;
391
456
  --ds-body-short-xl-line-height: 1.3;
392
- --ds-body-short-xl-font-size: 1.5rem;
393
457
  --ds-body-short-xl-letter-spacing: 0.005em;
394
458
  --ds-body-short-lg-font-weight: 400;
395
459
  --ds-body-short-lg-line-height: 1.3;
396
- --ds-body-short-lg-font-size: 1.3125rem;
397
460
  --ds-body-short-lg-letter-spacing: 0.005em;
398
461
  --ds-body-short-md-font-weight: 400;
399
462
  --ds-body-short-md-line-height: 1.3;
400
- --ds-body-short-md-font-size: 1.125rem;
401
463
  --ds-body-short-md-letter-spacing: 0.005em;
402
464
  --ds-body-short-sm-font-weight: 400;
403
465
  --ds-body-short-sm-line-height: 1.3;
404
- --ds-body-short-sm-font-size: 1rem;
405
466
  --ds-body-short-sm-letter-spacing: 0.0025em;
406
467
  --ds-body-short-xs-font-weight: 400;
407
468
  --ds-body-short-xs-line-height: 1.3;
408
- --ds-body-short-xs-font-size: 0.875rem;
409
469
  --ds-body-short-xs-letter-spacing: 0.0015em;
410
470
  --ds-body-long-xl-font-weight: 400;
411
471
  --ds-body-long-xl-line-height: 1.7;
412
- --ds-body-long-xl-font-size: 1.5rem;
413
472
  --ds-body-long-xl-letter-spacing: 0.005em;
414
473
  --ds-body-long-lg-font-weight: 400;
415
474
  --ds-body-long-lg-line-height: 1.7;
416
- --ds-body-long-lg-font-size: 1.3125rem;
417
475
  --ds-body-long-lg-letter-spacing: 0.005em;
418
476
  --ds-body-long-md-font-weight: 400;
419
477
  --ds-body-long-md-line-height: 1.7;
420
- --ds-body-long-md-font-size: 1.125rem;
421
478
  --ds-body-long-md-letter-spacing: 0.005em;
422
479
  --ds-body-long-sm-font-weight: 400;
423
480
  --ds-body-long-sm-line-height: 1.7;
424
- --ds-body-long-sm-font-size: 1rem;
425
481
  --ds-body-long-sm-letter-spacing: 0.0025em;
426
482
  --ds-body-long-xs-font-weight: 400;
427
483
  --ds-body-long-xs-line-height: 1.7;
428
- --ds-body-long-xs-font-size: 0.875rem;
429
484
  --ds-body-long-xs-letter-spacing: 0.0015em;
430
485
  }
431
486
  }
432
- @layer ds.theme.semantic {
433
- :root {
487
+ @layer ds.theme.size {
488
+ :root, [data-size] {
434
489
  --ds-size-base: 18;
435
490
  --ds-size-step: 4;
491
+
492
+ --ds-size-0: calc(var(--ds-size-unit) * 0);
493
+ --ds-size-1: calc(var(--ds-size-unit) * 1);
494
+ --ds-size-2: calc(var(--ds-size-unit) * 2);
495
+ --ds-size-3: calc(var(--ds-size-unit) * 3);
496
+ --ds-size-4: calc(var(--ds-size-unit) * 4);
497
+ --ds-size-5: calc(var(--ds-size-unit) * 5);
498
+ --ds-size-6: calc(var(--ds-size-unit) * 6);
499
+ --ds-size-7: calc(var(--ds-size-unit) * 7);
500
+ --ds-size-8: calc(var(--ds-size-unit) * 8);
501
+ --ds-size-9: calc(var(--ds-size-unit) * 9);
502
+ --ds-size-10: calc(var(--ds-size-unit) * 10);
503
+ --ds-size-11: calc(var(--ds-size-unit) * 11);
504
+ --ds-size-12: calc(var(--ds-size-unit) * 12);
505
+ --ds-size-13: calc(var(--ds-size-unit) * 13);
506
+ --ds-size-14: calc(var(--ds-size-unit) * 14);
507
+ --ds-size-15: calc(var(--ds-size-unit) * 15);
508
+ --ds-size-18: calc(var(--ds-size-unit) * 18);
509
+ --ds-size-22: calc(var(--ds-size-unit) * 22);
510
+ --ds-size-26: calc(var(--ds-size-unit) * 26);
511
+ --ds-size-30: calc(var(--ds-size-unit) * 30);
512
+ --ds-size-unit: calc(1rem * var(--ds-size-step) / var(--ds-size-base) * var(--ds-size-mode-font-size));
513
+
514
+ @supports (width: round(down, .1em, 1px)) {
515
+ --ds-size-0: round(down, calc(var(--ds-size-unit) * 0), 1px);
516
+ --ds-size-1: round(down, calc(var(--ds-size-unit) * 1), 1px);
517
+ --ds-size-2: round(down, calc(var(--ds-size-unit) * 2), 1px);
518
+ --ds-size-3: round(down, calc(var(--ds-size-unit) * 3), 1px);
519
+ --ds-size-4: round(down, calc(var(--ds-size-unit) * 4), 1px);
520
+ --ds-size-5: round(down, calc(var(--ds-size-unit) * 5), 1px);
521
+ --ds-size-6: round(down, calc(var(--ds-size-unit) * 6), 1px);
522
+ --ds-size-7: round(down, calc(var(--ds-size-unit) * 7), 1px);
523
+ --ds-size-8: round(down, calc(var(--ds-size-unit) * 8), 1px);
524
+ --ds-size-9: round(down, calc(var(--ds-size-unit) * 9), 1px);
525
+ --ds-size-10: round(down, calc(var(--ds-size-unit) * 10), 1px);
526
+ --ds-size-11: round(down, calc(var(--ds-size-unit) * 11), 1px);
527
+ --ds-size-12: round(down, calc(var(--ds-size-unit) * 12), 1px);
528
+ --ds-size-13: round(down, calc(var(--ds-size-unit) * 13), 1px);
529
+ --ds-size-14: round(down, calc(var(--ds-size-unit) * 14), 1px);
530
+ --ds-size-15: round(down, calc(var(--ds-size-unit) * 15), 1px);
531
+ --ds-size-18: round(down, calc(var(--ds-size-unit) * 18), 1px);
532
+ --ds-size-22: round(down, calc(var(--ds-size-unit) * 22), 1px);
533
+ --ds-size-26: round(down, calc(var(--ds-size-unit) * 26), 1px);
534
+ --ds-size-30: round(down, calc(var(--ds-size-unit) * 30), 1px);
535
+ }
536
+ }
537
+
538
+ }
539
+
540
+ @layer ds.theme.semantic {
541
+ :root {
436
542
  --ds-border-radius-base: 0.25rem;
437
543
  --ds-border-radius-scale: 0.25rem;
438
544
  --ds-border-radius-sm: min(var(--ds-border-radius-base)*0.5,var(--ds-border-radius-scale));
@@ -448,51 +554,7 @@ build: v1.4.0
448
554
  --ds-shadow-md: 0 0 1px 0 rgba(0,0,0,0.14), 0 2px 4px 0 rgba(0,0,0,0.12), 0 4px 8px 0 rgba(0,0,0,0.12);
449
555
  --ds-shadow-lg: 0 0 1px 0 rgba(0,0,0,0.13), 0 3px 5px 0 rgba(0,0,0,0.13), 0 6px 12px 0 rgba(0,0,0,0.14);
450
556
  --ds-shadow-xl: 0 0 1px 0 rgba(0,0,0,0.12), 0 4px 8px 0 rgba(0,0,0,0.16), 0 12px 24px 0 rgba(0,0,0,0.16);
451
- --ds-disabled-opacity: 30%;
452
-
453
- --ds-size-0: calc(var(--ds-size-step) / var(--ds-size-base) * 1em *0);
454
- --ds-size-1: calc(var(--ds-size-step) / var(--ds-size-base) * 1em *1);
455
- --ds-size-2: calc(var(--ds-size-step) / var(--ds-size-base) * 1em *2);
456
- --ds-size-3: calc(var(--ds-size-step) / var(--ds-size-base) * 1em *3);
457
- --ds-size-4: calc(var(--ds-size-step) / var(--ds-size-base) * 1em *4);
458
- --ds-size-5: calc(var(--ds-size-step) / var(--ds-size-base) * 1em *5);
459
- --ds-size-6: calc(var(--ds-size-step) / var(--ds-size-base) * 1em *6);
460
- --ds-size-7: calc(var(--ds-size-step) / var(--ds-size-base) * 1em *7);
461
- --ds-size-8: calc(var(--ds-size-step) / var(--ds-size-base) * 1em *8);
462
- --ds-size-9: calc(var(--ds-size-step) / var(--ds-size-base) * 1em *9);
463
- --ds-size-10: calc(var(--ds-size-step) / var(--ds-size-base) * 1em *10);
464
- --ds-size-11: calc(var(--ds-size-step) / var(--ds-size-base) * 1em *11);
465
- --ds-size-12: calc(var(--ds-size-step) / var(--ds-size-base) * 1em *12);
466
- --ds-size-13: calc(var(--ds-size-step) / var(--ds-size-base) * 1em *13);
467
- --ds-size-14: calc(var(--ds-size-step) / var(--ds-size-base) * 1em *14);
468
- --ds-size-15: calc(var(--ds-size-step) / var(--ds-size-base) * 1em *15);
469
- --ds-size-18: calc(var(--ds-size-step) / var(--ds-size-base) * 1em *18);
470
- --ds-size-22: calc(var(--ds-size-step) / var(--ds-size-base) * 1em *22);
471
- --ds-size-26: calc(var(--ds-size-step) / var(--ds-size-base) * 1em *26);
472
- --ds-size-30: calc(var(--ds-size-step) / var(--ds-size-base) * 1em *30);
473
-
474
- @supports (width: round(down, .1em, 1px)) {
475
- --ds-size-0: round(down, calc(var(--ds-size-step) / var(--ds-size-base) * 1em *0), 1px);
476
- --ds-size-1: round(down, calc(var(--ds-size-step) / var(--ds-size-base) * 1em *1), 1px);
477
- --ds-size-2: round(down, calc(var(--ds-size-step) / var(--ds-size-base) * 1em *2), 1px);
478
- --ds-size-3: round(down, calc(var(--ds-size-step) / var(--ds-size-base) * 1em *3), 1px);
479
- --ds-size-4: round(down, calc(var(--ds-size-step) / var(--ds-size-base) * 1em *4), 1px);
480
- --ds-size-5: round(down, calc(var(--ds-size-step) / var(--ds-size-base) * 1em *5), 1px);
481
- --ds-size-6: round(down, calc(var(--ds-size-step) / var(--ds-size-base) * 1em *6), 1px);
482
- --ds-size-7: round(down, calc(var(--ds-size-step) / var(--ds-size-base) * 1em *7), 1px);
483
- --ds-size-8: round(down, calc(var(--ds-size-step) / var(--ds-size-base) * 1em *8), 1px);
484
- --ds-size-9: round(down, calc(var(--ds-size-step) / var(--ds-size-base) * 1em *9), 1px);
485
- --ds-size-10: round(down, calc(var(--ds-size-step) / var(--ds-size-base) * 1em *10), 1px);
486
- --ds-size-11: round(down, calc(var(--ds-size-step) / var(--ds-size-base) * 1em *11), 1px);
487
- --ds-size-12: round(down, calc(var(--ds-size-step) / var(--ds-size-base) * 1em *12), 1px);
488
- --ds-size-13: round(down, calc(var(--ds-size-step) / var(--ds-size-base) * 1em *13), 1px);
489
- --ds-size-14: round(down, calc(var(--ds-size-step) / var(--ds-size-base) * 1em *14), 1px);
490
- --ds-size-15: round(down, calc(var(--ds-size-step) / var(--ds-size-base) * 1em *15), 1px);
491
- --ds-size-18: round(down, calc(var(--ds-size-step) / var(--ds-size-base) * 1em *18), 1px);
492
- --ds-size-22: round(down, calc(var(--ds-size-step) / var(--ds-size-base) * 1em *22), 1px);
493
- --ds-size-26: round(down, calc(var(--ds-size-step) / var(--ds-size-base) * 1em *26), 1px);
494
- --ds-size-30: round(down, calc(var(--ds-size-step) / var(--ds-size-base) * 1em *30), 1px);
495
- }
557
+ --ds-opacity-disabled: 30%;
496
558
  }
497
559
 
498
560
  }
@@ -645,6 +707,7 @@ build: v1.4.0
645
707
  --ds-color-warning-base-contrast-default: #ffffff;
646
708
  --ds-color-focus-inner: #1b1b1b;
647
709
  --ds-color-focus-outer: #e5e5e5;
710
+ --ds-link-color-visited: #b49acd;
648
711
 
649
712
  color-scheme: dark;
650
713
  }
@@ -797,6 +860,7 @@ build: v1.4.0
797
860
  --ds-color-warning-base-contrast-default: #ffffff;
798
861
  --ds-color-focus-inner: #1b1b1b;
799
862
  --ds-color-focus-outer: #e5e5e5;
863
+ --ds-link-color-visited: #b49acd;
800
864
 
801
865
  color-scheme: dark;
802
866
  }
@@ -810,16 +874,6 @@ build: v1.4.0
810
874
  --ds-line-height-sm: 1.3;
811
875
  --ds-line-height-md: 1.5;
812
876
  --ds-line-height-lg: 1.7;
813
- --ds-font-size-1: 0.75rem;
814
- --ds-font-size-2: 0.875rem;
815
- --ds-font-size-3: 1rem;
816
- --ds-font-size-4: 1.125rem;
817
- --ds-font-size-5: 1.3125rem;
818
- --ds-font-size-6: 1.5rem;
819
- --ds-font-size-7: 1.875rem;
820
- --ds-font-size-8: 2.25rem;
821
- --ds-font-size-9: 3rem;
822
- --ds-font-size-10: 3.75rem;
823
877
  --ds-letter-spacing-1: -0.01em;
824
878
  --ds-letter-spacing-2: -0.005em;
825
879
  --ds-letter-spacing-3: -0.0025em;
@@ -835,91 +889,69 @@ build: v1.4.0
835
889
  --ds-font-weight-regular: 400;
836
890
  --ds-heading-2xl-font-weight: 500;
837
891
  --ds-heading-2xl-line-height: 1.3;
838
- --ds-heading-2xl-font-size: 3.75rem;
839
892
  --ds-heading-2xl-letter-spacing: -0.01em;
840
893
  --ds-heading-xl-font-weight: 500;
841
894
  --ds-heading-xl-line-height: 1.3;
842
- --ds-heading-xl-font-size: 3rem;
843
895
  --ds-heading-xl-letter-spacing: -0.01em;
844
896
  --ds-heading-lg-font-weight: 500;
845
897
  --ds-heading-lg-line-height: 1.3;
846
- --ds-heading-lg-font-size: 2.25rem;
847
898
  --ds-heading-lg-letter-spacing: -0.005em;
848
899
  --ds-heading-md-font-weight: 500;
849
900
  --ds-heading-md-line-height: 1.3;
850
- --ds-heading-md-font-size: 1.875rem;
851
901
  --ds-heading-md-letter-spacing: -0.0025em;
852
902
  --ds-heading-sm-font-weight: 500;
853
903
  --ds-heading-sm-line-height: 1.3;
854
- --ds-heading-sm-font-size: 1.5rem;
855
904
  --ds-heading-sm-letter-spacing: 0em;
856
905
  --ds-heading-xs-font-weight: 500;
857
906
  --ds-heading-xs-line-height: 1.3;
858
- --ds-heading-xs-font-size: 1.3125rem;
859
907
  --ds-heading-xs-letter-spacing: 0.0015em;
860
908
  --ds-heading-2xs-font-weight: 500;
861
909
  --ds-heading-2xs-line-height: 1.3;
862
- --ds-heading-2xs-font-size: 1.125rem;
863
910
  --ds-heading-2xs-letter-spacing: 0.0015em;
864
911
  --ds-body-xl-font-weight: 400;
865
912
  --ds-body-xl-line-height: 1.5;
866
- --ds-body-xl-font-size: 1.5rem;
867
913
  --ds-body-xl-letter-spacing: 0.005em;
868
914
  --ds-body-lg-font-weight: 400;
869
915
  --ds-body-lg-line-height: 1.5;
870
- --ds-body-lg-font-size: 1.3125rem;
871
916
  --ds-body-lg-letter-spacing: 0.005em;
872
917
  --ds-body-md-font-weight: 400;
873
918
  --ds-body-md-line-height: 1.5;
874
- --ds-body-md-font-size: 1.125rem;
875
919
  --ds-body-md-letter-spacing: 0.005em;
876
920
  --ds-body-sm-font-weight: 400;
877
921
  --ds-body-sm-line-height: 1.5;
878
- --ds-body-sm-font-size: 1rem;
879
922
  --ds-body-sm-letter-spacing: 0.0025em;
880
923
  --ds-body-xs-font-weight: 400;
881
924
  --ds-body-xs-line-height: 1.5;
882
- --ds-body-xs-font-size: 0.75rem;
883
925
  --ds-body-xs-letter-spacing: 0.0015em;
884
926
  --ds-body-short-xl-font-weight: 400;
885
927
  --ds-body-short-xl-line-height: 1.3;
886
- --ds-body-short-xl-font-size: 1.5rem;
887
928
  --ds-body-short-xl-letter-spacing: 0.005em;
888
929
  --ds-body-short-lg-font-weight: 400;
889
930
  --ds-body-short-lg-line-height: 1.3;
890
- --ds-body-short-lg-font-size: 1.3125rem;
891
931
  --ds-body-short-lg-letter-spacing: 0.005em;
892
932
  --ds-body-short-md-font-weight: 400;
893
933
  --ds-body-short-md-line-height: 1.3;
894
- --ds-body-short-md-font-size: 1.125rem;
895
934
  --ds-body-short-md-letter-spacing: 0.005em;
896
935
  --ds-body-short-sm-font-weight: 400;
897
936
  --ds-body-short-sm-line-height: 1.3;
898
- --ds-body-short-sm-font-size: 1rem;
899
937
  --ds-body-short-sm-letter-spacing: 0.0025em;
900
938
  --ds-body-short-xs-font-weight: 400;
901
939
  --ds-body-short-xs-line-height: 1.3;
902
- --ds-body-short-xs-font-size: 0.875rem;
903
940
  --ds-body-short-xs-letter-spacing: 0.0015em;
904
941
  --ds-body-long-xl-font-weight: 400;
905
942
  --ds-body-long-xl-line-height: 1.7;
906
- --ds-body-long-xl-font-size: 1.5rem;
907
943
  --ds-body-long-xl-letter-spacing: 0.005em;
908
944
  --ds-body-long-lg-font-weight: 400;
909
945
  --ds-body-long-lg-line-height: 1.7;
910
- --ds-body-long-lg-font-size: 1.3125rem;
911
946
  --ds-body-long-lg-letter-spacing: 0.005em;
912
947
  --ds-body-long-md-font-weight: 400;
913
948
  --ds-body-long-md-line-height: 1.7;
914
- --ds-body-long-md-font-size: 1.125rem;
915
949
  --ds-body-long-md-letter-spacing: 0.005em;
916
950
  --ds-body-long-sm-font-weight: 400;
917
951
  --ds-body-long-sm-line-height: 1.7;
918
- --ds-body-long-sm-font-size: 1rem;
919
952
  --ds-body-long-sm-letter-spacing: 0.0025em;
920
953
  --ds-body-long-xs-font-weight: 400;
921
954
  --ds-body-long-xs-line-height: 1.7;
922
- --ds-body-long-xs-font-size: 0.875rem;
923
955
  --ds-body-long-xs-letter-spacing: 0.0015em;
924
956
  }
925
957
  }
package/brand/colors.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /* This file is deprecated and will be removed in a future release. Use types.d.ts instead */
2
- /* build: v1.4.0 */
2
+ /* build: v1.6.0 */
3
3
  import type {} from '@digdir/designsystemet/types';
4
4
 
5
5
  // Augment types based on theme
package/brand/types.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- /* build: v1.4.0 */
1
+ /* build: v1.6.0 */
2
2
  import type {} from '@digdir/designsystemet/types';
3
3
 
4
4
  // Augment types based on theme
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arbeidstilsynet/design-theme",
3
- "version": "0.1.0",
3
+ "version": "0.2.1",
4
4
  "description": "Predefined themes for Designsystemet",
5
5
  "author": "Arbeidstilsynet",
6
6
  "repository": {