@arbeidstilsynet/design-theme 0.1.0 → 0.2.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.
@@ -1,8 +1,80 @@
1
1
  @charset "UTF-8";
2
2
  /*
3
- build: v1.4.0
3
+ build: v1.5.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
+ }
6
78
  @layer ds.theme.color-scheme.light {
7
79
  :root, [data-color-scheme="light"] {
8
80
  --ds-color-primary-background-default: #ffffff;
@@ -316,16 +388,6 @@ build: v1.4.0
316
388
  --ds-line-height-sm: 1.3;
317
389
  --ds-line-height-md: 1.5;
318
390
  --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
391
  --ds-letter-spacing-1: -0.01em;
330
392
  --ds-letter-spacing-2: -0.005em;
331
393
  --ds-letter-spacing-3: -0.0025em;
@@ -341,98 +403,127 @@ build: v1.4.0
341
403
  --ds-font-weight-regular: 400;
342
404
  --ds-heading-2xl-font-weight: 500;
343
405
  --ds-heading-2xl-line-height: 1.3;
344
- --ds-heading-2xl-font-size: 3.75rem;
345
406
  --ds-heading-2xl-letter-spacing: -0.01em;
346
407
  --ds-heading-xl-font-weight: 500;
347
408
  --ds-heading-xl-line-height: 1.3;
348
- --ds-heading-xl-font-size: 3rem;
349
409
  --ds-heading-xl-letter-spacing: -0.01em;
350
410
  --ds-heading-lg-font-weight: 500;
351
411
  --ds-heading-lg-line-height: 1.3;
352
- --ds-heading-lg-font-size: 2.25rem;
353
412
  --ds-heading-lg-letter-spacing: -0.005em;
354
413
  --ds-heading-md-font-weight: 500;
355
414
  --ds-heading-md-line-height: 1.3;
356
- --ds-heading-md-font-size: 1.875rem;
357
415
  --ds-heading-md-letter-spacing: -0.0025em;
358
416
  --ds-heading-sm-font-weight: 500;
359
417
  --ds-heading-sm-line-height: 1.3;
360
- --ds-heading-sm-font-size: 1.5rem;
361
418
  --ds-heading-sm-letter-spacing: 0em;
362
419
  --ds-heading-xs-font-weight: 500;
363
420
  --ds-heading-xs-line-height: 1.3;
364
- --ds-heading-xs-font-size: 1.3125rem;
365
421
  --ds-heading-xs-letter-spacing: 0.0015em;
366
422
  --ds-heading-2xs-font-weight: 500;
367
423
  --ds-heading-2xs-line-height: 1.3;
368
- --ds-heading-2xs-font-size: 1.125rem;
369
424
  --ds-heading-2xs-letter-spacing: 0.0015em;
370
425
  --ds-body-xl-font-weight: 400;
371
426
  --ds-body-xl-line-height: 1.5;
372
- --ds-body-xl-font-size: 1.5rem;
373
427
  --ds-body-xl-letter-spacing: 0.005em;
374
428
  --ds-body-lg-font-weight: 400;
375
429
  --ds-body-lg-line-height: 1.5;
376
- --ds-body-lg-font-size: 1.3125rem;
377
430
  --ds-body-lg-letter-spacing: 0.005em;
378
431
  --ds-body-md-font-weight: 400;
379
432
  --ds-body-md-line-height: 1.5;
380
- --ds-body-md-font-size: 1.125rem;
381
433
  --ds-body-md-letter-spacing: 0.005em;
382
434
  --ds-body-sm-font-weight: 400;
383
435
  --ds-body-sm-line-height: 1.5;
384
- --ds-body-sm-font-size: 1rem;
385
436
  --ds-body-sm-letter-spacing: 0.0025em;
386
437
  --ds-body-xs-font-weight: 400;
387
438
  --ds-body-xs-line-height: 1.5;
388
- --ds-body-xs-font-size: 0.75rem;
389
439
  --ds-body-xs-letter-spacing: 0.0015em;
390
440
  --ds-body-short-xl-font-weight: 400;
391
441
  --ds-body-short-xl-line-height: 1.3;
392
- --ds-body-short-xl-font-size: 1.5rem;
393
442
  --ds-body-short-xl-letter-spacing: 0.005em;
394
443
  --ds-body-short-lg-font-weight: 400;
395
444
  --ds-body-short-lg-line-height: 1.3;
396
- --ds-body-short-lg-font-size: 1.3125rem;
397
445
  --ds-body-short-lg-letter-spacing: 0.005em;
398
446
  --ds-body-short-md-font-weight: 400;
399
447
  --ds-body-short-md-line-height: 1.3;
400
- --ds-body-short-md-font-size: 1.125rem;
401
448
  --ds-body-short-md-letter-spacing: 0.005em;
402
449
  --ds-body-short-sm-font-weight: 400;
403
450
  --ds-body-short-sm-line-height: 1.3;
404
- --ds-body-short-sm-font-size: 1rem;
405
451
  --ds-body-short-sm-letter-spacing: 0.0025em;
406
452
  --ds-body-short-xs-font-weight: 400;
407
453
  --ds-body-short-xs-line-height: 1.3;
408
- --ds-body-short-xs-font-size: 0.875rem;
409
454
  --ds-body-short-xs-letter-spacing: 0.0015em;
410
455
  --ds-body-long-xl-font-weight: 400;
411
456
  --ds-body-long-xl-line-height: 1.7;
412
- --ds-body-long-xl-font-size: 1.5rem;
413
457
  --ds-body-long-xl-letter-spacing: 0.005em;
414
458
  --ds-body-long-lg-font-weight: 400;
415
459
  --ds-body-long-lg-line-height: 1.7;
416
- --ds-body-long-lg-font-size: 1.3125rem;
417
460
  --ds-body-long-lg-letter-spacing: 0.005em;
418
461
  --ds-body-long-md-font-weight: 400;
419
462
  --ds-body-long-md-line-height: 1.7;
420
- --ds-body-long-md-font-size: 1.125rem;
421
463
  --ds-body-long-md-letter-spacing: 0.005em;
422
464
  --ds-body-long-sm-font-weight: 400;
423
465
  --ds-body-long-sm-line-height: 1.7;
424
- --ds-body-long-sm-font-size: 1rem;
425
466
  --ds-body-long-sm-letter-spacing: 0.0025em;
426
467
  --ds-body-long-xs-font-weight: 400;
427
468
  --ds-body-long-xs-line-height: 1.7;
428
- --ds-body-long-xs-font-size: 0.875rem;
429
469
  --ds-body-long-xs-letter-spacing: 0.0015em;
430
470
  }
431
471
  }
432
- @layer ds.theme.semantic {
433
- :root {
472
+ @layer ds.theme.size {
473
+ :root, [data-size] {
434
474
  --ds-size-base: 18;
435
475
  --ds-size-step: 4;
476
+
477
+ --ds-size-0: calc(var(--ds-size-unit) * 0);
478
+ --ds-size-1: calc(var(--ds-size-unit) * 1);
479
+ --ds-size-2: calc(var(--ds-size-unit) * 2);
480
+ --ds-size-3: calc(var(--ds-size-unit) * 3);
481
+ --ds-size-4: calc(var(--ds-size-unit) * 4);
482
+ --ds-size-5: calc(var(--ds-size-unit) * 5);
483
+ --ds-size-6: calc(var(--ds-size-unit) * 6);
484
+ --ds-size-7: calc(var(--ds-size-unit) * 7);
485
+ --ds-size-8: calc(var(--ds-size-unit) * 8);
486
+ --ds-size-9: calc(var(--ds-size-unit) * 9);
487
+ --ds-size-10: calc(var(--ds-size-unit) * 10);
488
+ --ds-size-11: calc(var(--ds-size-unit) * 11);
489
+ --ds-size-12: calc(var(--ds-size-unit) * 12);
490
+ --ds-size-13: calc(var(--ds-size-unit) * 13);
491
+ --ds-size-14: calc(var(--ds-size-unit) * 14);
492
+ --ds-size-15: calc(var(--ds-size-unit) * 15);
493
+ --ds-size-18: calc(var(--ds-size-unit) * 18);
494
+ --ds-size-22: calc(var(--ds-size-unit) * 22);
495
+ --ds-size-26: calc(var(--ds-size-unit) * 26);
496
+ --ds-size-30: calc(var(--ds-size-unit) * 30);
497
+ --ds-size-unit: calc(1rem * var(--ds-size-step) / var(--ds-size-base) * var(--ds-size-mode-font-size));
498
+
499
+ @supports (width: round(down, .1em, 1px)) {
500
+ --ds-size-0: round(down, calc(var(--ds-size-unit) * 0), 1px);
501
+ --ds-size-1: round(down, calc(var(--ds-size-unit) * 1), 1px);
502
+ --ds-size-2: round(down, calc(var(--ds-size-unit) * 2), 1px);
503
+ --ds-size-3: round(down, calc(var(--ds-size-unit) * 3), 1px);
504
+ --ds-size-4: round(down, calc(var(--ds-size-unit) * 4), 1px);
505
+ --ds-size-5: round(down, calc(var(--ds-size-unit) * 5), 1px);
506
+ --ds-size-6: round(down, calc(var(--ds-size-unit) * 6), 1px);
507
+ --ds-size-7: round(down, calc(var(--ds-size-unit) * 7), 1px);
508
+ --ds-size-8: round(down, calc(var(--ds-size-unit) * 8), 1px);
509
+ --ds-size-9: round(down, calc(var(--ds-size-unit) * 9), 1px);
510
+ --ds-size-10: round(down, calc(var(--ds-size-unit) * 10), 1px);
511
+ --ds-size-11: round(down, calc(var(--ds-size-unit) * 11), 1px);
512
+ --ds-size-12: round(down, calc(var(--ds-size-unit) * 12), 1px);
513
+ --ds-size-13: round(down, calc(var(--ds-size-unit) * 13), 1px);
514
+ --ds-size-14: round(down, calc(var(--ds-size-unit) * 14), 1px);
515
+ --ds-size-15: round(down, calc(var(--ds-size-unit) * 15), 1px);
516
+ --ds-size-18: round(down, calc(var(--ds-size-unit) * 18), 1px);
517
+ --ds-size-22: round(down, calc(var(--ds-size-unit) * 22), 1px);
518
+ --ds-size-26: round(down, calc(var(--ds-size-unit) * 26), 1px);
519
+ --ds-size-30: round(down, calc(var(--ds-size-unit) * 30), 1px);
520
+ }
521
+ }
522
+
523
+ }
524
+
525
+ @layer ds.theme.semantic {
526
+ :root {
436
527
  --ds-border-radius-base: 0.25rem;
437
528
  --ds-border-radius-scale: 0.25rem;
438
529
  --ds-border-radius-sm: min(var(--ds-border-radius-base)*0.5,var(--ds-border-radius-scale));
@@ -449,50 +540,6 @@ build: v1.4.0
449
540
  --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
541
  --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
542
  --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
- }
496
543
  }
497
544
 
498
545
  }
@@ -810,16 +857,6 @@ build: v1.4.0
810
857
  --ds-line-height-sm: 1.3;
811
858
  --ds-line-height-md: 1.5;
812
859
  --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
860
  --ds-letter-spacing-1: -0.01em;
824
861
  --ds-letter-spacing-2: -0.005em;
825
862
  --ds-letter-spacing-3: -0.0025em;
@@ -835,91 +872,69 @@ build: v1.4.0
835
872
  --ds-font-weight-regular: 400;
836
873
  --ds-heading-2xl-font-weight: 500;
837
874
  --ds-heading-2xl-line-height: 1.3;
838
- --ds-heading-2xl-font-size: 3.75rem;
839
875
  --ds-heading-2xl-letter-spacing: -0.01em;
840
876
  --ds-heading-xl-font-weight: 500;
841
877
  --ds-heading-xl-line-height: 1.3;
842
- --ds-heading-xl-font-size: 3rem;
843
878
  --ds-heading-xl-letter-spacing: -0.01em;
844
879
  --ds-heading-lg-font-weight: 500;
845
880
  --ds-heading-lg-line-height: 1.3;
846
- --ds-heading-lg-font-size: 2.25rem;
847
881
  --ds-heading-lg-letter-spacing: -0.005em;
848
882
  --ds-heading-md-font-weight: 500;
849
883
  --ds-heading-md-line-height: 1.3;
850
- --ds-heading-md-font-size: 1.875rem;
851
884
  --ds-heading-md-letter-spacing: -0.0025em;
852
885
  --ds-heading-sm-font-weight: 500;
853
886
  --ds-heading-sm-line-height: 1.3;
854
- --ds-heading-sm-font-size: 1.5rem;
855
887
  --ds-heading-sm-letter-spacing: 0em;
856
888
  --ds-heading-xs-font-weight: 500;
857
889
  --ds-heading-xs-line-height: 1.3;
858
- --ds-heading-xs-font-size: 1.3125rem;
859
890
  --ds-heading-xs-letter-spacing: 0.0015em;
860
891
  --ds-heading-2xs-font-weight: 500;
861
892
  --ds-heading-2xs-line-height: 1.3;
862
- --ds-heading-2xs-font-size: 1.125rem;
863
893
  --ds-heading-2xs-letter-spacing: 0.0015em;
864
894
  --ds-body-xl-font-weight: 400;
865
895
  --ds-body-xl-line-height: 1.5;
866
- --ds-body-xl-font-size: 1.5rem;
867
896
  --ds-body-xl-letter-spacing: 0.005em;
868
897
  --ds-body-lg-font-weight: 400;
869
898
  --ds-body-lg-line-height: 1.5;
870
- --ds-body-lg-font-size: 1.3125rem;
871
899
  --ds-body-lg-letter-spacing: 0.005em;
872
900
  --ds-body-md-font-weight: 400;
873
901
  --ds-body-md-line-height: 1.5;
874
- --ds-body-md-font-size: 1.125rem;
875
902
  --ds-body-md-letter-spacing: 0.005em;
876
903
  --ds-body-sm-font-weight: 400;
877
904
  --ds-body-sm-line-height: 1.5;
878
- --ds-body-sm-font-size: 1rem;
879
905
  --ds-body-sm-letter-spacing: 0.0025em;
880
906
  --ds-body-xs-font-weight: 400;
881
907
  --ds-body-xs-line-height: 1.5;
882
- --ds-body-xs-font-size: 0.75rem;
883
908
  --ds-body-xs-letter-spacing: 0.0015em;
884
909
  --ds-body-short-xl-font-weight: 400;
885
910
  --ds-body-short-xl-line-height: 1.3;
886
- --ds-body-short-xl-font-size: 1.5rem;
887
911
  --ds-body-short-xl-letter-spacing: 0.005em;
888
912
  --ds-body-short-lg-font-weight: 400;
889
913
  --ds-body-short-lg-line-height: 1.3;
890
- --ds-body-short-lg-font-size: 1.3125rem;
891
914
  --ds-body-short-lg-letter-spacing: 0.005em;
892
915
  --ds-body-short-md-font-weight: 400;
893
916
  --ds-body-short-md-line-height: 1.3;
894
- --ds-body-short-md-font-size: 1.125rem;
895
917
  --ds-body-short-md-letter-spacing: 0.005em;
896
918
  --ds-body-short-sm-font-weight: 400;
897
919
  --ds-body-short-sm-line-height: 1.3;
898
- --ds-body-short-sm-font-size: 1rem;
899
920
  --ds-body-short-sm-letter-spacing: 0.0025em;
900
921
  --ds-body-short-xs-font-weight: 400;
901
922
  --ds-body-short-xs-line-height: 1.3;
902
- --ds-body-short-xs-font-size: 0.875rem;
903
923
  --ds-body-short-xs-letter-spacing: 0.0015em;
904
924
  --ds-body-long-xl-font-weight: 400;
905
925
  --ds-body-long-xl-line-height: 1.7;
906
- --ds-body-long-xl-font-size: 1.5rem;
907
926
  --ds-body-long-xl-letter-spacing: 0.005em;
908
927
  --ds-body-long-lg-font-weight: 400;
909
928
  --ds-body-long-lg-line-height: 1.7;
910
- --ds-body-long-lg-font-size: 1.3125rem;
911
929
  --ds-body-long-lg-letter-spacing: 0.005em;
912
930
  --ds-body-long-md-font-weight: 400;
913
931
  --ds-body-long-md-line-height: 1.7;
914
- --ds-body-long-md-font-size: 1.125rem;
915
932
  --ds-body-long-md-letter-spacing: 0.005em;
916
933
  --ds-body-long-sm-font-weight: 400;
917
934
  --ds-body-long-sm-line-height: 1.7;
918
- --ds-body-long-sm-font-size: 1rem;
919
935
  --ds-body-long-sm-letter-spacing: 0.0025em;
920
936
  --ds-body-long-xs-font-weight: 400;
921
937
  --ds-body-long-xs-line-height: 1.7;
922
- --ds-body-long-xs-font-size: 0.875rem;
923
938
  --ds-body-long-xs-letter-spacing: 0.0015em;
924
939
  }
925
940
  }
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.5.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.5.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.0",
4
4
  "description": "Predefined themes for Designsystemet",
5
5
  "author": "Arbeidstilsynet",
6
6
  "repository": {