@helsenorge/designsystem-react 10.6.1 → 10.6.3

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 (80) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/components/AnchorLink/styles.module.scss +9 -7
  3. package/components/Avatar/styles.module.scss +9 -9
  4. package/components/Badge/styles.module.scss +9 -9
  5. package/components/Button/styles.module.scss +71 -77
  6. package/components/Checkbox/styles.module.scss +104 -104
  7. package/components/Chip/styles.module.scss +22 -21
  8. package/components/Close/styles.module.scss +5 -5
  9. package/components/DictionaryTrigger/styles.module.scss +5 -5
  10. package/components/Drawer/styles.module.scss +27 -27
  11. package/components/Dropdown/styles.module.scss +55 -55
  12. package/components/Duolist/styles.module.scss +4 -5
  13. package/components/EmptyState/styles.module.scss +16 -16
  14. package/components/ErrorWrapper/styles.module.scss +2 -2
  15. package/components/Expander/styles.module.scss +53 -53
  16. package/components/ExpanderHierarchy/expander.module.scss +35 -35
  17. package/components/ExpanderHierarchy/styles.module.scss +5 -4
  18. package/components/ExpanderList/index.js +12 -5
  19. package/components/ExpanderList/index.js.map +1 -1
  20. package/components/ExpanderList/styles.module.scss +32 -32
  21. package/components/EyebrowHeader/styles.module.scss +2 -0
  22. package/components/FormGroup/styles.module.scss +9 -9
  23. package/components/FormLayout/styles.module.scss +5 -4
  24. package/components/HelpBubble/styles.module.scss +14 -14
  25. package/components/HelpPanel/styles.module.scss +2 -2
  26. package/components/HelpQuestion/styles.module.scss +20 -20
  27. package/components/HighlightPanel/styles.module.scss +20 -20
  28. package/components/HorizontalScroll/styles.module.scss +3 -4
  29. package/components/Input/styles.module.scss +14 -14
  30. package/components/Label/styles.module.scss +16 -16
  31. package/components/LinkList/styles.module.scss +35 -35
  32. package/components/ListHeader/styles.module.scss +8 -8
  33. package/components/Loader/styles.module.scss +14 -14
  34. package/components/MaxCharacters/styles.module.scss +12 -12
  35. package/components/Modal/styles.module.scss +49 -49
  36. package/components/NotificationPanel/styles.module.scss +40 -40
  37. package/components/Panel/styles.module.scss +60 -60
  38. package/components/PanelList/styles.module.scss +6 -6
  39. package/components/PopMenu/styles.module.scss +16 -16
  40. package/components/PopOver/styles.module.scss +15 -14
  41. package/components/PopOver/styles.module.scss.d.ts +3 -0
  42. package/components/Progressbar/styles.module.scss +4 -4
  43. package/components/PromoPanel/styles.module.scss +31 -31
  44. package/components/RadioButton/styles.module.scss +100 -100
  45. package/components/Select/styles.module.scss +23 -23
  46. package/components/ServiceMessage/styles.module.scss +48 -48
  47. package/components/SharingStatus/styles.module.scss +13 -13
  48. package/components/Slider/styles.module.scss +25 -25
  49. package/components/Spacer/styles.module.scss +14 -14
  50. package/components/StatusDot/styles.module.scss +24 -24
  51. package/components/Step/styles.module.scss +3 -3
  52. package/components/StepButtons/styles.module.scss +11 -11
  53. package/components/Stepper/styles.module.scss +16 -24
  54. package/components/StickyNote/styles.module.scss +3 -3
  55. package/components/Table/styles.module.scss +31 -31
  56. package/components/Tabs/TabList/styles.module.scss +2 -2
  57. package/components/Tabs/TabPanel/styles.module.scss +7 -7
  58. package/components/Tabs/styles.module.scss +3 -3
  59. package/components/Tag/styles.module.scss +16 -16
  60. package/components/TagList/styles.module.scss +4 -4
  61. package/components/Textarea/styles.module.scss +9 -9
  62. package/components/Tile/styles.module.scss +31 -31
  63. package/components/Title/styles.module.scss +8 -8
  64. package/components/Toggle/styles.module.scss +18 -18
  65. package/components/Tooltip/TooltipWord/styles.module.scss +4 -4
  66. package/components/Trigger/styles.module.scss +21 -21
  67. package/components/Validation/styles.module.scss +11 -11
  68. package/hooks/useBreakpoint.js +3 -1
  69. package/hooks/useBreakpoint.js.map +1 -1
  70. package/package.json +1 -1
  71. package/scss/_body.scss +6 -5
  72. package/scss/_breakpoints.scss +2 -2
  73. package/scss/_font-mixins.scss +22 -22
  74. package/scss/_fonts.scss +2 -0
  75. package/scss/_input.scss +51 -54
  76. package/scss/_print.scss +5 -5
  77. package/scss/_reset.scss +1 -1
  78. package/scss/helsenorge.scss +7 -7
  79. package/scss/layout.module.scss +2 -2
  80. package/scss/typography.module.scss +46 -47
@@ -1,8 +1,8 @@
1
1
  @use 'sass:map';
2
- @use '../../scss/spacers' as spacers;
3
- @use '../../scss/palette' as palette;
4
- @use '../../scss/font-settings' as font-settings;
5
- @use '../../scss/breakpoints' as breakpoints;
2
+ @import '../../scss/spacers';
3
+ @import '../../scss/breakpoints';
4
+ @import '../../scss/palette';
5
+ @import '../../scss/font-settings';
6
6
 
7
7
  .select-wrapper {
8
8
  display: flex;
@@ -12,7 +12,7 @@
12
12
  .select-inner-wrapper {
13
13
  // Grid brukes til å kunne plassere custom ikon fritt over select elementet
14
14
  display: inline-grid;
15
- background-color: palette.$white;
15
+ background-color: $white;
16
16
  align-items: center;
17
17
 
18
18
  // Andre kolonne her styrer plassering av select ikonet
@@ -23,23 +23,23 @@
23
23
  }
24
24
 
25
25
  &:hover {
26
- background: palette.$neutral50;
26
+ background: $neutral50;
27
27
  }
28
28
 
29
29
  &--on-blueberry {
30
30
  &:hover {
31
- background-color: palette.$blueberry50;
31
+ background-color: $blueberry50;
32
32
  }
33
33
  }
34
34
 
35
35
  &--invalid {
36
36
  &:hover {
37
- background-color: palette.$cherry50;
37
+ background-color: $cherry50;
38
38
  }
39
39
  }
40
40
 
41
41
  &--disabled {
42
- color: palette.$neutral700;
42
+ color: $neutral700;
43
43
  background: transparent;
44
44
 
45
45
  &:hover {
@@ -56,26 +56,26 @@
56
56
  background-color: transparent;
57
57
  grid-column: 1 / 3;
58
58
  grid-row: 1;
59
- padding-left: spacers.getSpacer(xs);
59
+ padding-left: getSpacer(xs);
60
60
  border: none;
61
- outline: palette.$neutral700 solid 2px;
61
+ outline: $neutral700 solid 2px;
62
62
  outline-offset: -2px;
63
63
  font-family: inherit;
64
- font-size: font-settings.$font-size-sm;
65
- line-height: font-settings.$lineheight-size-sm;
64
+ font-size: $font-size-sm;
65
+ line-height: $lineheight-size-sm;
66
66
  border-radius: 0;
67
67
 
68
- @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
68
+ @media (min-width: map.get($grid-breakpoints, md)) {
69
69
  height: 3.125rem;
70
- font-size: font-settings.$font-size-md;
70
+ font-size: $font-size-md;
71
71
  }
72
72
 
73
73
  &--on-blueberry {
74
- outline-color: palette.$blueberry500;
74
+ outline-color: $blueberry500;
75
75
  }
76
76
 
77
77
  &--invalid {
78
- outline-color: palette.$cherry600;
78
+ outline-color: $cherry600;
79
79
  }
80
80
 
81
81
  :hover > & {
@@ -84,22 +84,22 @@
84
84
  }
85
85
 
86
86
  &:focus {
87
- outline: palette.$black solid 4px;
87
+ outline: $black solid 4px;
88
88
  outline-offset: -2px;
89
89
  }
90
90
 
91
91
  &:disabled {
92
- outline: palette.$neutral600 dashed 2px;
92
+ outline: $neutral600 dashed 2px;
93
93
  outline-offset: -2px;
94
94
  }
95
95
 
96
96
  & > option {
97
- background: palette.$white;
97
+ background: $white;
98
98
  font-family: inherit;
99
- font-size: font-settings.$font-size-sm;
99
+ font-size: $font-size-sm;
100
100
 
101
- @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
102
- font-size: font-settings.$font-size-md;
101
+ @media (min-width: map.get($grid-breakpoints, md)) {
102
+ font-size: $font-size-md;
103
103
  }
104
104
  }
105
105
  }
@@ -1,8 +1,8 @@
1
1
  @use 'sass:map';
2
- @use '../../scss/spacers' as spacers;
3
- @use '../../scss/palette' as palette;
4
- @use '../../scss/font-settings' as font-settings;
2
+ @import '../../scss/spacers';
3
+ @import '../../scss/palette';
5
4
  @import '../../scss/breakpoints';
5
+ @import '../../scss/font-settings';
6
6
  @import '../../scss/grid';
7
7
 
8
8
  .service-message {
@@ -16,54 +16,54 @@
16
16
  }
17
17
 
18
18
  &--success {
19
- background-color: palette.$kiwi50;
19
+ background-color: $kiwi50;
20
20
 
21
21
  &:hover {
22
- background-color: rgba-to-rgb(rgba(palette.$kiwi500, 0.1), palette.$kiwi50);
22
+ background-color: rgba-to-rgb(rgba($kiwi500, 0.1), $kiwi50);
23
23
  }
24
24
 
25
25
  &#{$servicemessage},
26
26
  &#{$servicemessage}__label-container {
27
- border-color: palette.$kiwi900;
27
+ border-color: $kiwi900;
28
28
  }
29
29
  }
30
30
 
31
31
  &--info {
32
- background-color: palette.$blueberry50;
32
+ background-color: $blueberry50;
33
33
 
34
34
  &:hover {
35
- background-color: rgba-to-rgb(rgba(palette.$blueberry500, 0.1), palette.$blueberry50);
35
+ background-color: rgba-to-rgb(rgba($blueberry500, 0.1), $blueberry50);
36
36
  }
37
37
 
38
38
  &#{$servicemessage},
39
39
  &#{$servicemessage}__label-container {
40
- border-color: palette.$blueberry700;
40
+ border-color: $blueberry700;
41
41
  }
42
42
  }
43
43
 
44
44
  &--warn {
45
- background-color: palette.$banana50;
45
+ background-color: $banana50;
46
46
 
47
47
  &:hover {
48
- background-color: rgba-to-rgb(rgba(palette.$banana500, 0.1), palette.$banana50);
48
+ background-color: rgba-to-rgb(rgba($banana500, 0.1), $banana50);
49
49
  }
50
50
 
51
51
  &#{$servicemessage},
52
52
  &#{$servicemessage}__label-container {
53
- border-color: palette.$banana700;
53
+ border-color: $banana700;
54
54
  }
55
55
  }
56
56
 
57
57
  &--error {
58
- background-color: palette.$cherry50;
58
+ background-color: $cherry50;
59
59
 
60
60
  &:hover {
61
- background-color: rgba-to-rgb(rgba(palette.$cherry500, 0.1), palette.$cherry50);
61
+ background-color: rgba-to-rgb(rgba($cherry500, 0.1), $cherry50);
62
62
  }
63
63
 
64
64
  &#{$servicemessage},
65
65
  &#{$servicemessage}__label-container {
66
- border-color: palette.$cherry700;
66
+ border-color: $cherry700;
67
67
  }
68
68
  }
69
69
 
@@ -83,16 +83,16 @@
83
83
 
84
84
  &__label-container {
85
85
  position: relative;
86
- padding-top: spacers.getSpacer(3xs);
87
- padding-bottom: spacers.getSpacer(3xs);
86
+ padding-top: getSpacer(3xs);
87
+ padding-bottom: getSpacer(3xs);
88
88
 
89
89
  @media (min-width: map.get($grid-breakpoints, lg)) {
90
- padding-top: spacers.getSpacer(2xs);
91
- padding-bottom: spacers.getSpacer(2xs);
90
+ padding-top: getSpacer(2xs);
91
+ padding-bottom: getSpacer(2xs);
92
92
  }
93
93
 
94
94
  &--has-expander:has(:focus-visible) {
95
- box-shadow: inset 0 0 0 2px palette.$black;
95
+ box-shadow: inset 0 0 0 2px $black;
96
96
  }
97
97
  }
98
98
 
@@ -100,21 +100,21 @@
100
100
  display: flex;
101
101
  width: 100%;
102
102
  align-items: center;
103
- gap: spacers.getSpacer(2xs);
103
+ gap: getSpacer(2xs);
104
104
 
105
105
  @media (min-width: map.get($grid-breakpoints, md)) {
106
- gap: spacers.getSpacer(m);
106
+ gap: getSpacer(m);
107
107
  }
108
108
  }
109
109
 
110
110
  &__title {
111
111
  width: 100%;
112
112
  font-weight: 700;
113
- font-size: font-settings.$font-size-xs;
113
+ font-size: $font-size-xs;
114
114
  line-height: 1.25rem;
115
115
 
116
116
  @media (min-width: map.get($grid-breakpoints, md)) {
117
- font-size: font-settings.$font-size-sm;
117
+ font-size: $font-size-sm;
118
118
  }
119
119
  }
120
120
 
@@ -130,43 +130,43 @@
130
130
  }
131
131
 
132
132
  &__content {
133
- margin-left: calc(38px + spacers.getSpacer(2xs));
134
- margin-right: calc(38px + spacers.getSpacer(2xs));
135
- padding-top: spacers.getSpacer(xs);
136
- padding-bottom: spacers.getSpacer(xs);
133
+ margin-left: calc(38px + getSpacer(2xs));
134
+ margin-right: calc(38px + getSpacer(2xs));
135
+ padding-top: getSpacer(xs);
136
+ padding-bottom: getSpacer(xs);
137
137
 
138
138
  @media (min-width: map.get($grid-breakpoints, md)) {
139
- margin-left: calc(38px + spacers.getSpacer(m));
140
- margin-right: calc(38px + spacers.getSpacer(m));
139
+ margin-left: calc(38px + getSpacer(m));
140
+ margin-right: calc(38px + getSpacer(m));
141
141
  }
142
142
 
143
143
  @media (min-width: map.get($grid-breakpoints, lg)) {
144
- margin-left: calc(48px + spacers.getSpacer(m));
145
- margin-right: calc(48px + spacers.getSpacer(m));
146
- padding-top: spacers.getSpacer(2xs);
147
- padding-bottom: spacers.getSpacer(s);
144
+ margin-left: calc(48px + getSpacer(m));
145
+ margin-right: calc(48px + getSpacer(m));
146
+ padding-top: getSpacer(2xs);
147
+ padding-bottom: getSpacer(s);
148
148
  }
149
149
  }
150
150
 
151
151
  &__info {
152
- font-size: font-settings.$font-size-xs;
152
+ font-size: $font-size-xs;
153
153
  line-height: 1.25rem;
154
154
  margin: 0;
155
155
 
156
156
  @media (min-width: map.get($grid-breakpoints, lg)) {
157
- margin-top: spacers.getSpacer(xs);
157
+ margin-top: getSpacer(xs);
158
158
  line-height: 1.625rem;
159
- font-size: font-settings.$font-size-sm;
159
+ font-size: $font-size-sm;
160
160
  }
161
161
 
162
162
  &--extra {
163
163
  font-size: 0.875rem;
164
- margin-top: spacers.getSpacer(2xs);
164
+ margin-top: getSpacer(2xs);
165
165
 
166
166
  @media (min-width: map.get($grid-breakpoints, lg)) {
167
- margin-top: spacers.getSpacer(xs);
168
- font-size: font-settings.$font-size-xs;
169
- line-height: font-settings.$lineheight-size-xs;
167
+ margin-top: getSpacer(xs);
168
+ font-size: $font-size-xs;
169
+ line-height: $lineheight-size-xs;
170
170
  }
171
171
  }
172
172
  }
@@ -175,15 +175,15 @@
175
175
  display: flex;
176
176
  justify-content: space-between;
177
177
  flex-flow: column wrap;
178
- gap: spacers.getSpacer(2xs);
179
- margin-top: spacers.getSpacer(2xs);
178
+ gap: getSpacer(2xs);
179
+ margin-top: getSpacer(2xs);
180
180
 
181
181
  @media (min-width: map.get($grid-breakpoints, sm)) {
182
182
  flex-direction: row;
183
183
  }
184
184
 
185
185
  @media (min-width: map.get($grid-breakpoints, lg)) {
186
- margin-top: spacers.getSpacer(s);
186
+ margin-top: getSpacer(s);
187
187
  }
188
188
  }
189
189
 
@@ -192,15 +192,15 @@
192
192
  align-items: center;
193
193
  border: none;
194
194
  width: fit-content;
195
- color: palette.$blueberry700;
195
+ color: $blueberry700;
196
196
  font-weight: 600;
197
- font-size: font-settings.$font-size-xs;
197
+ font-size: $font-size-xs;
198
198
  line-height: 1.25rem;
199
199
  background-color: transparent;
200
200
  text-decoration: none;
201
201
  padding: 0.5rem;
202
202
  margin-left: -0.5rem;
203
- gap: spacers.getSpacer(xs);
203
+ gap: getSpacer(xs);
204
204
 
205
205
  &:hover,
206
206
  &:active {
@@ -208,7 +208,7 @@
208
208
  }
209
209
 
210
210
  &:focus-visible {
211
- box-shadow: 0 0 0 2px palette.$black;
211
+ box-shadow: 0 0 0 2px $black;
212
212
  background-color: transparent;
213
213
  border: 0;
214
214
  outline: none;
@@ -1,19 +1,19 @@
1
1
  @use 'sass:map';
2
- @use '../../scss/spacers' as spacers;
3
- @use '../../scss/palette' as palette;
4
- @use '../../scss/font-settings' as font-settings;
5
- @use '../../scss/screen-reader' as *;
6
- @use '../../scss/breakpoints' as breakpoints;
2
+ @import '../../scss/spacers';
3
+ @import '../../scss/breakpoints';
4
+ @import '../../scss/palette';
5
+ @import '../../scss/font-settings';
6
+ @import '../../scss/screen-reader';
7
7
 
8
8
  $dot-size: 1.765rem;
9
9
 
10
10
  .sharing-status {
11
11
  display: inline-flex;
12
12
  align-items: center;
13
- font-size: font-settings.$font-size-sm;
13
+ font-size: $font-size-sm;
14
14
  line-height: 1.25rem;
15
15
  font-weight: 600;
16
- gap: spacers.getSpacer(2xs);
16
+ gap: getSpacer(2xs);
17
17
 
18
18
  &__dot {
19
19
  display: inline-flex;
@@ -26,15 +26,15 @@ $dot-size: 1.765rem;
26
26
  min-height: $dot-size;
27
27
 
28
28
  &--kiwi {
29
- background: palette.$kiwi900;
29
+ background: $kiwi900;
30
30
  }
31
31
 
32
32
  &--cherry {
33
- background: palette.$cherry500;
33
+ background: $cherry500;
34
34
  }
35
35
 
36
36
  &--neutral {
37
- background: palette.$neutral700;
37
+ background: $neutral700;
38
38
  }
39
39
  }
40
40
 
@@ -46,15 +46,15 @@ $dot-size: 1.765rem;
46
46
  }
47
47
 
48
48
  &--kiwi {
49
- color: palette.$kiwi900;
49
+ color: $kiwi900;
50
50
  }
51
51
 
52
52
  &--cherry {
53
- color: palette.$cherry500;
53
+ color: $cherry500;
54
54
  }
55
55
 
56
56
  &--neutral {
57
- color: palette.$neutral700;
57
+ color: $neutral700;
58
58
  }
59
59
  }
60
60
  }
@@ -1,11 +1,11 @@
1
- @use '../../scss/spacers' as spacers;
2
- @use '../../scss/palette' as palette;
3
- @use '../../scss/screen-reader' as *;
4
- @use '../../scss/breakpoints' as breakpoints;
5
- @import '../../scss/supernova/styles/colors.css';
1
+ @import '../../scss/spacers';
2
+ @import '../../scss/breakpoints';
3
+ @import '../../scss/palette';
4
+ @import '../../scss/screen-reader';
5
+ @import '../../scss/supernova/styles/colors';
6
6
 
7
7
  $track-height-offset: 1rem;
8
- $mark-size: spacers.getSpacer(l);
8
+ $mark-size: getSpacer(l);
9
9
 
10
10
  .sr-only-slider {
11
11
  @include sr-only;
@@ -14,7 +14,7 @@ $mark-size: spacers.getSpacer(l);
14
14
  .slider {
15
15
  display: flex;
16
16
  flex-direction: column;
17
- row-gap: spacers.getSpacer(s);
17
+ row-gap: getSpacer(s);
18
18
  width: 100%;
19
19
  position: relative;
20
20
  outline: none !important;
@@ -26,8 +26,8 @@ $mark-size: spacers.getSpacer(l);
26
26
  &__content-container {
27
27
  display: flex;
28
28
  flex-direction: column;
29
- row-gap: spacers.getSpacer(s);
30
- padding: 0 spacers.getSpacer(s);
29
+ row-gap: getSpacer(s);
30
+ padding: 0 getSpacer(s);
31
31
  }
32
32
 
33
33
  &__emoji-container,
@@ -58,23 +58,23 @@ $mark-size: spacers.getSpacer(l);
58
58
  }
59
59
 
60
60
  &__track {
61
- padding: 0 spacers.getSpacer(s);
62
- border-top: 2px solid palette.$black;
61
+ padding: 0 getSpacer(s);
62
+ border-top: 2px solid $black;
63
63
  position: relative;
64
64
  top: $track-height-offset;
65
65
 
66
66
  &--disabled {
67
- border-color: palette.$neutral600;
67
+ border-color: $neutral600;
68
68
  }
69
69
 
70
70
  &__step {
71
71
  position: absolute;
72
72
  left: -1px;
73
73
  width: 2px;
74
- height: spacers.getSpacer(xs);
74
+ height: getSpacer(xs);
75
75
  bottom: 0;
76
76
  top: (calc($track-height-offset / 2) * -1) + 0.05rem;
77
- background-color: palette.$black;
77
+ background-color: $black;
78
78
  }
79
79
  }
80
80
 
@@ -84,8 +84,8 @@ $mark-size: spacers.getSpacer(l);
84
84
  align-items: center;
85
85
  width: $mark-size;
86
86
  height: $mark-size;
87
- background-color: palette.$white;
88
- border: 0.15rem solid palette.$black;
87
+ background-color: $white;
88
+ border: 0.15rem solid $black;
89
89
  border-radius: 10rem;
90
90
  position: absolute;
91
91
  z-index: 9;
@@ -93,12 +93,12 @@ $mark-size: spacers.getSpacer(l);
93
93
  cursor: pointer;
94
94
 
95
95
  &--focused {
96
- outline: 0.15rem solid palette.$black;
96
+ outline: 0.15rem solid $black;
97
97
  }
98
98
 
99
99
  &--focused#{&}--selected {
100
100
  &::after {
101
- background-color: palette.$blueberry700;
101
+ background-color: $blueberry700;
102
102
  }
103
103
  }
104
104
 
@@ -107,12 +107,12 @@ $mark-size: spacers.getSpacer(l);
107
107
  content: '';
108
108
  width: 1.25rem;
109
109
  height: 1.25rem;
110
- border: 0.1rem solid palette.$black;
110
+ border: 0.1rem solid $black;
111
111
  border-radius: 10rem;
112
- background-color: palette.$blueberry600;
112
+ background-color: $blueberry600;
113
113
 
114
114
  :hover > & {
115
- background-color: palette.$blueberry700;
115
+ background-color: $blueberry700;
116
116
  }
117
117
  }
118
118
  }
@@ -122,15 +122,15 @@ $mark-size: spacers.getSpacer(l);
122
122
  }
123
123
 
124
124
  &--disabled {
125
- border-color: palette.$neutral500;
125
+ border-color: $neutral500;
126
126
  cursor: default;
127
127
 
128
128
  &::after {
129
- border-color: palette.$neutral500;
130
- background-color: palette.$neutral200;
129
+ border-color: $neutral500;
130
+ background-color: $neutral200;
131
131
 
132
132
  :hover > & {
133
- background-color: palette.$neutral200;
133
+ background-color: $neutral200;
134
134
  }
135
135
  }
136
136
  }
@@ -1,4 +1,4 @@
1
- @use '../../scss/spacers' as spacers;
1
+ @import '../../scss/spacers';
2
2
 
3
3
  .spacer {
4
4
  display: block;
@@ -6,54 +6,54 @@
6
6
  height: 0.125rem;
7
7
 
8
8
  &--4xs {
9
- height: spacers.getSpacer(4xs);
9
+ height: getSpacer(4xs);
10
10
  }
11
11
 
12
12
  &--3xs {
13
- height: spacers.getSpacer(3xs);
13
+ height: getSpacer(3xs);
14
14
  }
15
15
 
16
16
  &--2xs {
17
- height: spacers.getSpacer(2xs);
17
+ height: getSpacer(2xs);
18
18
  }
19
19
 
20
20
  &--xs {
21
- height: spacers.getSpacer(xs);
21
+ height: getSpacer(xs);
22
22
  }
23
23
 
24
24
  &--s {
25
- height: spacers.getSpacer(s);
25
+ height: getSpacer(s);
26
26
  }
27
27
 
28
28
  &--m {
29
- height: spacers.getSpacer(m);
29
+ height: getSpacer(m);
30
30
  }
31
31
 
32
32
  &--l {
33
- height: spacers.getSpacer(l);
33
+ height: getSpacer(l);
34
34
  }
35
35
 
36
36
  &--xl {
37
- height: spacers.getSpacer(xl);
37
+ height: getSpacer(xl);
38
38
  }
39
39
 
40
40
  &--2xl {
41
- height: spacers.getSpacer(2xl);
41
+ height: getSpacer(2xl);
42
42
  }
43
43
 
44
44
  &--3xl {
45
- height: spacers.getSpacer(3xl);
45
+ height: getSpacer(3xl);
46
46
  }
47
47
 
48
48
  &--4xl {
49
- height: spacers.getSpacer(4xl);
49
+ height: getSpacer(4xl);
50
50
  }
51
51
 
52
52
  &--5xl {
53
- height: spacers.getSpacer(5xl);
53
+ height: getSpacer(5xl);
54
54
  }
55
55
 
56
56
  &--6xl {
57
- height: spacers.getSpacer(6xl);
57
+ height: getSpacer(6xl);
58
58
  }
59
59
  }