@digdir/designsystemet-css 0.10.0 → 0.11.0-alpha.2

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 (79) hide show
  1. package/accordion.css +89 -81
  2. package/alert.css +48 -44
  3. package/box.css +37 -37
  4. package/button.css +133 -196
  5. package/card.css +129 -91
  6. package/checkbox.css +118 -86
  7. package/chip.css +93 -93
  8. package/combobox.css +138 -125
  9. package/dist/accordion.css +1 -1
  10. package/dist/alert.css +1 -1
  11. package/dist/box.css +1 -1
  12. package/dist/button.css +1 -1
  13. package/dist/card.css +1 -1
  14. package/dist/checkbox.css +1 -1
  15. package/dist/chip.css +1 -1
  16. package/dist/combobox.css +1 -1
  17. package/dist/divider.css +1 -1
  18. package/dist/dropdownmenu.css +1 -1
  19. package/dist/error-message.css +1 -1
  20. package/dist/error-summary.css +1 -1
  21. package/dist/fieldset.css +1 -1
  22. package/dist/heading.css +1 -1
  23. package/dist/helptext.css +1 -1
  24. package/dist/index.css +1 -1
  25. package/dist/ingress.css +1 -1
  26. package/dist/label.css +1 -1
  27. package/dist/link.css +1 -1
  28. package/dist/list.css +1 -1
  29. package/dist/modal.css +1 -1
  30. package/dist/native-select.css +1 -1
  31. package/dist/pagination.css +1 -1
  32. package/dist/paragraph.css +1 -1
  33. package/dist/popover.css +1 -1
  34. package/dist/radio.css +1 -1
  35. package/dist/search.css +1 -1
  36. package/dist/skeleton.css +1 -1
  37. package/dist/skiplink.css +1 -1
  38. package/dist/spinner.css +1 -1
  39. package/dist/switch.css +1 -1
  40. package/dist/table.css +1 -1
  41. package/dist/tabs.css +1 -1
  42. package/dist/tag.css +1 -1
  43. package/dist/textarea.css +1 -1
  44. package/dist/textfield.css +1 -1
  45. package/dist/togglegroup.css +1 -1
  46. package/dist/tooltip.css +1 -1
  47. package/dist/utils.css +1 -1
  48. package/divider.css +8 -8
  49. package/dropdownmenu.css +20 -19
  50. package/error-message.css +19 -19
  51. package/error-summary.css +12 -8
  52. package/fieldset.css +13 -13
  53. package/heading.css +27 -27
  54. package/helptext.css +22 -21
  55. package/index.css +5 -5
  56. package/ingress.css +18 -18
  57. package/label.css +17 -17
  58. package/link.css +46 -18
  59. package/list.css +10 -10
  60. package/modal.css +35 -33
  61. package/native-select.css +62 -45
  62. package/package.json +2 -2
  63. package/pagination.css +32 -32
  64. package/paragraph.css +37 -37
  65. package/popover.css +43 -40
  66. package/radio.css +88 -81
  67. package/search.css +66 -61
  68. package/skeleton.css +14 -14
  69. package/skiplink.css +32 -8
  70. package/spinner.css +15 -23
  71. package/switch.css +121 -91
  72. package/table.css +54 -50
  73. package/tabs.css +44 -46
  74. package/tag.css +42 -42
  75. package/textarea.css +34 -32
  76. package/textfield.css +64 -62
  77. package/togglegroup.css +11 -10
  78. package/tooltip.css +11 -18
  79. package/utils.css +11 -11
package/heading.css CHANGED
@@ -1,61 +1,61 @@
1
- @layer fds.typography.heading {
2
- .fds-heading {
3
- --fdsc-bottom-spacing: var(--fds-spacing-6);
1
+ @layer ds.typography.heading {
2
+ .ds-heading {
3
+ --dsc-bottom-spacing: var(--ds-spacing-6);
4
4
 
5
5
  margin: 0;
6
- color: var(--fds-semantic-text-neutral-default);
6
+ color: var(--ds-color-neutral-text-default);
7
7
  }
8
8
 
9
- .fds-heading--spacing {
10
- margin-bottom: var(--fdsc-bottom-spacing);
9
+ .ds-heading--spacing {
10
+ margin-bottom: var(--dsc-bottom-spacing);
11
11
  }
12
12
 
13
- .fds-heading--2xl {
14
- --fdsc-bottom-spacing: var(--fds-spacing-7);
13
+ .ds-heading--2xl {
14
+ --dsc-bottom-spacing: var(--ds-spacing-7);
15
15
 
16
- font: var(--fds-typography-heading-2xlarge);
16
+ font: var(--ds-typography-heading-2xl);
17
17
  font-family: inherit;
18
18
  }
19
19
 
20
- .fds-heading--xl {
21
- --fdsc-bottom-spacing: var(--fds-spacing-6);
20
+ .ds-heading--xl {
21
+ --dsc-bottom-spacing: var(--ds-spacing-6);
22
22
 
23
- font: var(--fds-typography-heading-xlarge);
23
+ font: var(--ds-typography-heading-xl);
24
24
  font-family: inherit;
25
25
  }
26
26
 
27
- .fds-heading--lg {
28
- --fdsc-bottom-spacing: var(--fds-spacing-5);
27
+ .ds-heading--lg {
28
+ --dsc-bottom-spacing: var(--ds-spacing-5);
29
29
 
30
- font: var(--fds-typography-heading-large);
30
+ font: var(--ds-typography-heading-lg);
31
31
  font-family: inherit;
32
32
  }
33
33
 
34
- .fds-heading--md {
35
- --fdsc-bottom-spacing: var(--fds-spacing-4);
34
+ .ds-heading--md {
35
+ --dsc-bottom-spacing: var(--ds-spacing-4);
36
36
 
37
- font: var(--fds-typography-heading-medium);
37
+ font: var(--ds-typography-heading-md);
38
38
  font-family: inherit;
39
39
  }
40
40
 
41
- .fds-heading--sm {
42
- --fdsc-bottom-spacing: var(--fds-spacing-3);
41
+ .ds-heading--sm {
42
+ --dsc-bottom-spacing: var(--ds-spacing-3);
43
43
 
44
- font: var(--fds-typography-heading-small);
44
+ font: var(--ds-typography-heading-sm);
45
45
  font-family: inherit;
46
46
  }
47
47
 
48
- .fds-heading--xs {
49
- --fdsc-bottom-spacing: var(--fds-spacing-2);
48
+ .ds-heading--xs {
49
+ --dsc-bottom-spacing: var(--ds-spacing-2);
50
50
 
51
- font: var(--fds-typography-heading-xsmall);
51
+ font: var(--ds-typography-heading-xs);
52
52
  font-family: inherit;
53
53
  }
54
54
 
55
- .fds-heading--2xs {
56
- --fdsc-bottom-spacing: var(--fds-spacing-1);
55
+ .ds-heading--2xs {
56
+ --dsc-bottom-spacing: var(--ds-spacing-1);
57
57
 
58
- font: var(--fds-typography-heading-xxsmall);
58
+ font: var(--ds-typography-heading-2xs);
59
59
  font-family: inherit;
60
60
  }
61
61
  }
package/helptext.css CHANGED
@@ -1,5 +1,5 @@
1
- @layer fds.helptext {
2
- .fds-helptext__button {
1
+ @layer ds.helptext {
2
+ .ds-helptext__button {
3
3
  background-color: transparent;
4
4
  border-radius: 50px;
5
5
  padding: 0 !important;
@@ -11,48 +11,49 @@
11
11
  }
12
12
 
13
13
  @media print {
14
- .fds-helptext__button {
14
+ .ds-helptext__button {
15
15
  display: none;
16
16
  }
17
17
  }
18
18
 
19
- .fds-helptext__icon--filled {
19
+ .ds-helptext__icon--filled {
20
20
  display: none;
21
21
  }
22
22
 
23
- .fds-helptext__icon {
24
- color: var(--fds-semantic-text-action-default);
25
- width: var(--fds-sizing-7);
26
- height: var(--fds-sizing-7);
23
+ .ds-helptext__icon {
24
+ color: var(--ds-color-accent-base-default);
25
+ width: var(--ds-sizing-7);
26
+ height: var(--ds-sizing-7);
27
27
  }
28
28
 
29
- .fds-helptext__button:where(:hover, :focus, [data-state^='open']) > .fds-helptext__icon {
29
+ .ds-helptext__button:where(:hover, :focus, [data-state^='open']) > .ds-helptext__icon {
30
30
  display: none;
31
31
  }
32
32
 
33
- .fds-helptext__button:where(:hover, :focus, [data-state^='open']) > .fds-helptext__icon--filled {
33
+ .ds-helptext__button:where(:hover, :focus, [data-state^='open']) > .ds-helptext__icon--filled {
34
34
  display: inline-block;
35
35
  }
36
36
 
37
- .fds-helptext__content {
38
- font: var(--fds-typography-paragraph-medium);
37
+ .ds-helptext__content {
38
+ font: var(--ds-typography-paragraph-md);
39
+ color: var(--ds-color-neutral-text-default);
39
40
  font-family: inherit;
40
41
  width: fit-content;
41
42
  max-width: 700px;
42
43
  }
43
44
 
44
- .fds-helptext--sm .fds-helptext__icon {
45
- width: var(--fds-sizing-6);
46
- height: var(--fds-sizing-6);
45
+ .ds-helptext--sm .ds-helptext__icon {
46
+ width: var(--ds-sizing-6);
47
+ height: var(--ds-sizing-6);
47
48
  }
48
49
 
49
- .fds-helptext--md .fds-helptext__icon {
50
- width: var(--fds-sizing-7);
51
- height: var(--fds-sizing-7);
50
+ .ds-helptext--md .ds-helptext__icon {
51
+ width: var(--ds-sizing-7);
52
+ height: var(--ds-sizing-7);
52
53
  }
53
54
 
54
- .fds-helptext--lg .fds-helptext__icon {
55
- width: var(--fds-sizing-8);
56
- height: var(--fds-sizing-8);
55
+ .ds-helptext--lg .ds-helptext__icon {
56
+ width: var(--ds-sizing-8);
57
+ height: var(--ds-sizing-8);
57
58
  }
58
59
  }
package/index.css CHANGED
@@ -1,21 +1,21 @@
1
1
  @charset "UTF-8";
2
2
 
3
- @layer fds.typography, fds.utils, fds.box, fds.btn;
3
+ @layer ds.typography, ds.utils, ds.box, ds.btn;
4
4
 
5
5
  /** Import order defines ordinal specificity for layers */
6
+ @import url('./label.css');
7
+ @import url('./heading.css');
8
+ @import url('./paragraph.css');
9
+ @import url('./ingress.css');
6
10
  @import url('./button.css');
7
11
  @import url('./utils.css');
8
12
  @import url('./box.css');
9
13
  @import url('./alert.css');
10
- @import url('./ingress.css');
11
14
  @import url('./skiplink.css');
12
15
  @import url('./accordion.css');
13
16
  @import url('./switch.css');
14
17
  @import url('./checkbox.css');
15
18
  @import url('./error-message.css');
16
- @import url('./label.css');
17
- @import url('./heading.css');
18
- @import url('./paragraph.css');
19
19
  @import url('./radio.css');
20
20
  @import url('./search.css');
21
21
  @import url('./native-select.css');
package/ingress.css CHANGED
@@ -1,40 +1,40 @@
1
- @layer fds.typography.ingress {
2
- .fds-ingress {
3
- --fdsc-bottom-spacing: var(--fds-spacing-5);
1
+ @layer ds.typography.ingress {
2
+ .ds-ingress {
3
+ --dsc-bottom-spacing: var(--ds-spacing-5);
4
4
 
5
5
  margin: 0;
6
- color: var(--fds-semantic-text-neutral-default);
6
+ color: var(--ds-color-neutral-text-default);
7
7
  }
8
8
 
9
- .fds-ingress--spacing {
10
- margin-bottom: var(--fdsc-bottom-spacing);
9
+ .ds-ingress--spacing {
10
+ margin-bottom: var(--dsc-bottom-spacing);
11
11
  }
12
12
 
13
- .fds-ingress--md {
14
- --fdsc-bottom-spacing: var(--fds-spacing-5);
13
+ .ds-ingress--md {
14
+ --dsc-bottom-spacing: var(--ds-spacing-5);
15
15
 
16
- font: var(--fds-typography-ingress-medium);
16
+ font: var(--ds-typography-ingress-md);
17
17
  font-family: inherit;
18
18
  }
19
19
 
20
- .fds-ingress--lg {
21
- --fdsc-bottom-spacing: var(--fds-spacing-6);
20
+ .ds-ingress--lg {
21
+ --dsc-bottom-spacing: var(--ds-spacing-6);
22
22
 
23
- font: var(--fds-typography-ingress-large);
23
+ font: var(--ds-typography-ingress-lg);
24
24
  font-family: inherit;
25
25
  }
26
26
 
27
- .fds-ingress--sm {
28
- --fdsc-bottom-spacing: var(--fds-spacing-7);
27
+ .ds-ingress--sm {
28
+ --dsc-bottom-spacing: var(--ds-spacing-7);
29
29
 
30
- font: var(--fds-typography-ingress-small);
30
+ font: var(--ds-typography-ingress-sm);
31
31
  font-family: inherit;
32
32
  }
33
33
 
34
- .fds-ingress--xs {
35
- --fdsc-bottom-spacing: var(--fds-spacing-8);
34
+ .ds-ingress--xs {
35
+ --dsc-bottom-spacing: var(--ds-spacing-8);
36
36
 
37
- font: var(--fds-typography-ingress-xsmall);
37
+ font: var(--ds-typography-ingress-xs);
38
38
  font-family: inherit;
39
39
  }
40
40
  }
package/label.css CHANGED
@@ -1,46 +1,46 @@
1
- @layer fds.typography.label {
2
- .fds-label {
3
- --fdsc-bottom-spacing: var(--fds-spacing-1);
1
+ @layer ds.typography.label {
2
+ .ds-label {
3
+ --dsc-bottom-spacing: var(--ds-spacing-1);
4
4
 
5
5
  display: inline-block;
6
6
  margin: 0;
7
7
  padding: 0;
8
- color: var(--fds-semantic-text-neutral-default);
8
+ color: var(--ds-color-neutral-text-default);
9
9
  }
10
10
 
11
- .fds-label--spacing {
12
- margin-bottom: var(--fdsc-bottom-spacing);
11
+ .ds-label--spacing {
12
+ margin-bottom: var(--dsc-bottom-spacing);
13
13
  }
14
14
 
15
- .fds-label--lg {
16
- font: var(--fds-typography-label-large);
15
+ .ds-label--lg {
16
+ font: var(--ds-typography-label-lg);
17
17
  font-family: inherit;
18
18
  }
19
19
 
20
- .fds-label--md {
21
- font: var(--fds-typography-label-medium);
20
+ .ds-label--md {
21
+ font: var(--ds-typography-label-md);
22
22
  font-family: inherit;
23
23
  }
24
24
 
25
- .fds-label--sm {
26
- font: var(--fds-typography-label-small);
25
+ .ds-label--sm {
26
+ font: var(--ds-typography-label-sm);
27
27
  font-family: inherit;
28
28
  }
29
29
 
30
- .fds-label--xs {
31
- font: var(--fds-typography-label-xsmall);
30
+ .ds-label--xs {
31
+ font: var(--ds-typography-label-xs);
32
32
  font-family: inherit;
33
33
  }
34
34
 
35
- .fds-label--regular-weight {
35
+ .ds-label--regular-weight {
36
36
  font-weight: 400;
37
37
  }
38
38
 
39
- .fds-label--medium-weight {
39
+ .ds-label--medium-weight {
40
40
  font-weight: 500;
41
41
  }
42
42
 
43
- .fds-label--semibold-weight {
43
+ .ds-label--semibold-weight {
44
44
  font-weight: 600;
45
45
  }
46
46
  }
package/link.css CHANGED
@@ -1,36 +1,64 @@
1
- @layer fds.link {
2
- .fds-link {
3
- color: var(--fds-semantic-text-action-default);
1
+ @layer ds.link {
2
+ .ds-link {
3
+ --dsc-link-color: var(--ds-color-accent-text-subtle);
4
+ --dsc-link-color-hover: var(--ds-color-accent-text-default);
5
+ --dsc-link-color-active: var(--ds-color-accent-text-default);
6
+ --dsc-link-color-active-background: var(--ds-color-accent-surface-default);
7
+ --dsc-link-color-visited: var(--ds-global-purple-12);
8
+ --dsc-link-color-focus: var(--ds-color-accent-text-default);
9
+ --dsc-link-color-focus-background: var(--ds-color-neutral-surface-default);
10
+
11
+ position: relative;
12
+ color: var(--dsc-link-color);
4
13
  cursor: pointer;
5
14
  text-decoration: underline;
6
15
  text-decoration-thickness: max(1px, 0.0625rem);
7
- text-underline-offset: max(4px, 0.25rem);
16
+ text-underline-offset: max(5px, 0.25rem);
8
17
  display: inline-flex;
9
18
  align-items: center;
10
- gap: var(--fds-spacing-1);
19
+ gap: var(--ds-spacing-1);
20
+ }
21
+
22
+ .ds-link__accent {
23
+ --dsc-link-color: var(--ds-color-accent-text-subtle);
24
+ --dsc-link-color-hover: var(--ds-color-accent-text-default);
25
+ --dsc-link-color-active: var(--ds-color-accent-text-default);
26
+ --dsc-link-color-active-background: var(--ds-color-accent-surface-default);
27
+ --dsc-link-color-visited: var(--ds-global-purple-12);
28
+ --dsc-link-color-focus: var(--ds-focus-inner);
29
+ --dsc-link-color-focus-background: var(--ds-focus-outer);
11
30
  }
12
31
 
13
- .fds-link:visited {
14
- color: var(--fds-semantic-text-visited-default);
32
+ .ds-link__neutral {
33
+ --dsc-link-color: var(--ds-color-neutral-text-default);
34
+ --dsc-link-color-hover: var(--ds-color-neutral-text-subtle);
35
+ --dsc-link-color-active: var(--ds-color-neutral-text-subtle);
36
+ --dsc-link-color-active-background: var(--ds-color-neutral-surface-default);
37
+ --dsc-link-color-visited: var(--ds-global-purple-12);
38
+ --dsc-link-color-focus: var(--ds-focus-inner);
39
+ --dsc-link-color-focus-background: var(--ds-focus-outer);
40
+ }
41
+
42
+ .ds-link:visited {
43
+ color: var(--dsc-link-color-visited);
15
44
  text-decoration: none;
16
45
  }
17
46
 
18
- .fds-link:hover {
19
- color: var(--fds-semantic-text-action-hover);
47
+ .ds-link:hover {
48
+ color: var(--dsc-link-color-hover);
20
49
  text-decoration-thickness: max(2px, 0.125rem, 0.12em);
21
50
  }
22
51
 
23
- .fds-link:focus-visible {
24
- background: var(--fds-semantic-border-focus-outline);
25
- box-shadow: 0 max(3px, 0.1875rem, 0.18em) var(--fds-semantic-border-focus-boxshadow);
26
- color: var(--fds-semantic-text-action-active);
52
+ .ds-link:focus-visible {
53
+ color: var(--dsc-link-color-focus);
54
+ background: var(--dsc-link-color-focus-background);
27
55
  outline: none;
28
- text-decoration: none;
29
56
  }
30
57
 
31
- .fds-link--inverted:not(:focus-visible, :active),
32
- .fds-link--inverted:not(:focus-visible, :active):hover,
33
- .fds-link--inverted:not(:focus-visible, :active):visited {
34
- color: white;
58
+ .ds-link:active {
59
+ color: var(--dsc-link-color-active);
60
+ background: var(--dsc-link-color-active-background);
61
+ border-radius: var(--ds-border-radius-md);
62
+ outline: none;
35
63
  }
36
64
  }
package/list.css CHANGED
@@ -1,18 +1,18 @@
1
- @layer fds.list {
2
- .fds-list--sm {
3
- padding-left: var(--fds-spacing-4);
1
+ @layer ds.list {
2
+ .ds-list--sm {
3
+ padding-left: var(--ds-spacing-4);
4
4
  }
5
5
 
6
- .fds-list--md,
7
- .fds-list--lg {
8
- padding-left: var(--fds-spacing-6);
6
+ .ds-list--md,
7
+ .ds-list--lg {
8
+ padding-left: var(--ds-spacing-6);
9
9
  }
10
10
 
11
- .fds-list__item {
12
- margin-bottom: var(--fds-spacing-2);
11
+ .ds-list__item {
12
+ margin-bottom: var(--ds-spacing-2);
13
13
  }
14
14
 
15
- .fds-list__item > .fds-list {
16
- margin-top: var(--fds-spacing-2);
15
+ .ds-list__item > .ds-list {
16
+ margin-top: var(--ds-spacing-2);
17
17
  }
18
18
  }
package/modal.css CHANGED
@@ -1,35 +1,37 @@
1
- @layer fds.modal {
2
- .fds-modal {
1
+ @layer ds.modal {
2
+ .ds-modal {
3
3
  padding: 0;
4
4
  width: 100%;
5
5
  max-width: 650px;
6
6
  border: none;
7
- border-radius: var(--fds-border_radius-medium);
8
- box-shadow: var(--fds-shadow-xlarge);
7
+ border-radius: var(--ds-border-radius-md);
8
+ box-shadow: var(--ds-shadow-xl);
9
+ background-color: var(--ds-color-neutral-background-default);
10
+ color: var(--ds-color-neutral-text-default);
9
11
  }
10
12
 
11
- .fds-modal::backdrop {
13
+ .ds-modal::backdrop {
12
14
  background-color: rgb(0 0 0 / 0.5);
13
15
  animation: fade-in 300ms ease-in-out;
14
16
  }
15
17
 
16
- .fds-modal[open] {
18
+ .ds-modal[open] {
17
19
  animation:
18
20
  slide-in 300ms ease-in-out,
19
21
  fade-in 300ms ease-in-out;
20
22
  }
21
23
 
22
- .fds-modal > hr {
23
- margin: var(--fds-spacing-3) 0 !important;
24
- border-color: var(--fds-semantic-border-divider-subtle);
24
+ .ds-modal > hr {
25
+ margin: var(--ds-spacing-3) 0 !important;
26
+ border-color: var(--ds-color-neutral-border-subtle);
25
27
  }
26
28
 
27
- .fds-modal--lock-scroll {
29
+ .ds-modal--lock-scroll {
28
30
  overflow: hidden;
29
31
  }
30
32
 
31
33
  @media (max-width: 650px) {
32
- .fds-modal {
34
+ .ds-modal {
33
35
  min-width: 100%;
34
36
  max-width: 100%;
35
37
  border-radius: 0;
@@ -37,11 +39,11 @@
37
39
  }
38
40
 
39
41
  @media (prefers-reduced-motion: reduce) {
40
- .fds-modal[open] {
42
+ .ds-modal[open] {
41
43
  animation: none;
42
44
  }
43
45
 
44
- .fds-modal::backdrop {
46
+ .ds-modal::backdrop {
45
47
  animation: none;
46
48
  }
47
49
  }
@@ -66,40 +68,40 @@
66
68
  }
67
69
  }
68
70
 
69
- .fds-modal__header {
71
+ .ds-modal__header {
70
72
  display: flex;
71
73
  justify-content: space-between;
72
74
  flex-direction: column;
73
- padding-top: var(--fds-spacing-6);
74
- padding-bottom: var(--fds-spacing-2);
75
- padding-left: var(--fds-spacing-6);
76
- padding-right: var(--fds-spacing-18);
77
- gap: var(--fds-spacing-1);
78
- color: var(--fds-semantic-text-neutral-default);
75
+ padding-top: var(--ds-spacing-6);
76
+ padding-bottom: var(--ds-spacing-2);
77
+ padding-left: var(--ds-spacing-6);
78
+ padding-right: var(--ds-spacing-18);
79
+ gap: var(--ds-spacing-1);
80
+ color: var(--ds-color-neutral-text-default);
79
81
  }
80
82
 
81
- .fds-modal__header--no-button {
82
- padding-right: var(--fds-spacing-6);
83
+ .ds-modal__header--no-button {
84
+ padding-right: var(--ds-spacing-6);
83
85
  }
84
86
 
85
- .fds-modal__header__button {
87
+ .ds-modal__header__button {
86
88
  position: absolute;
87
- top: var(--fds-spacing-3);
88
- right: var(--fds-spacing-3);
89
+ top: var(--ds-spacing-3);
90
+ right: var(--ds-spacing-3);
89
91
  }
90
92
 
91
- .fds-modal__footer {
93
+ .ds-modal__footer {
92
94
  display: flex;
93
95
  align-items: center;
94
- gap: var(--fds-spacing-4);
95
- padding-top: var(--fds-spacing-3);
96
- padding-bottom: var(--fds-spacing-6);
97
- padding-left: var(--fds-spacing-6);
98
- padding-right: var(--fds-spacing-6);
96
+ gap: var(--ds-spacing-4);
97
+ padding-top: var(--ds-spacing-3);
98
+ padding-bottom: var(--ds-spacing-6);
99
+ padding-left: var(--ds-spacing-6);
100
+ padding-right: var(--ds-spacing-6);
99
101
  }
100
102
 
101
- .fds-modal__content {
102
- padding: var(--fds-spacing-2) var(--fds-spacing-6);
103
+ .ds-modal__content {
104
+ padding: var(--ds-spacing-2) var(--ds-spacing-6);
103
105
  max-height: 80vh;
104
106
  overflow-y: auto;
105
107
  }