@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,13 +1,13 @@
1
1
  @use 'sass:map';
2
- @use './spacers' as spacers;
3
- @use './breakpoints' as breakpoints;
2
+ @import './spacers';
3
+ @import './breakpoints';
4
4
 
5
5
  @mixin title-feature {
6
6
  font-size: 2.375rem;
7
7
  line-height: 2.875rem;
8
8
  font-weight: 600;
9
9
 
10
- @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
10
+ @media (min-width: map.get($grid-breakpoints, md)) {
11
11
  font-size: 4rem;
12
12
  line-height: 5rem;
13
13
  }
@@ -18,7 +18,7 @@
18
18
  line-height: 2.375rem;
19
19
  font-weight: 600;
20
20
 
21
- @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
21
+ @media (min-width: map.get($grid-breakpoints, md)) {
22
22
  font-size: 3rem;
23
23
  line-height: 3.625rem;
24
24
  }
@@ -29,7 +29,7 @@
29
29
  line-height: 1.938rem;
30
30
  font-weight: 600;
31
31
 
32
- @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
32
+ @media (min-width: map.get($grid-breakpoints, md)) {
33
33
  font-size: 2rem;
34
34
  line-height: 2.375rem;
35
35
  }
@@ -40,7 +40,7 @@
40
40
  line-height: 1.813rem;
41
41
  font-weight: 600;
42
42
 
43
- @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
43
+ @media (min-width: map.get($grid-breakpoints, md)) {
44
44
  font-size: 1.625rem;
45
45
  line-height: 2rem;
46
46
  }
@@ -51,7 +51,7 @@
51
51
  line-height: 1.625rem;
52
52
  font-weight: 600;
53
53
 
54
- @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
54
+ @media (min-width: map.get($grid-breakpoints, md)) {
55
55
  font-size: 1.375rem;
56
56
  line-height: 1.813rem;
57
57
  }
@@ -64,7 +64,7 @@
64
64
  font-weight: 600;
65
65
  text-transform: uppercase;
66
66
 
67
- @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
67
+ @media (min-width: map.get($grid-breakpoints, md)) {
68
68
  font-size: 1.125rem;
69
69
  line-height: 1.563rem;
70
70
  }
@@ -75,7 +75,7 @@
75
75
  line-height: 1.375rem;
76
76
  font-weight: 600;
77
77
 
78
- @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
78
+ @media (min-width: map.get($grid-breakpoints, md)) {
79
79
  font-size: 1.125rem;
80
80
  line-height: 1.563rem;
81
81
  }
@@ -85,7 +85,7 @@
85
85
  font-size: 1.125rem;
86
86
  line-height: 1.688rem;
87
87
 
88
- @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
88
+ @media (min-width: map.get($grid-breakpoints, md)) {
89
89
  font-size: 1.25rem;
90
90
  line-height: 1.875rem;
91
91
  }
@@ -96,7 +96,7 @@
96
96
  line-height: 1.625rem;
97
97
  font-weight: 400;
98
98
 
99
- @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
99
+ @media (min-width: map.get($grid-breakpoints, md)) {
100
100
  font-size: 1.5rem;
101
101
  line-height: 1.938rem;
102
102
  }
@@ -107,7 +107,7 @@
107
107
  line-height: 1.438rem;
108
108
  font-weight: 600;
109
109
 
110
- @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
110
+ @media (min-width: map.get($grid-breakpoints, md)) {
111
111
  font-size: 1.5rem;
112
112
  line-height: 1.938rem;
113
113
  }
@@ -118,7 +118,7 @@
118
118
  line-height: 1.375rem;
119
119
  font-weight: 600;
120
120
 
121
- @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
121
+ @media (min-width: map.get($grid-breakpoints, md)) {
122
122
  font-size: 1.25rem;
123
123
  line-height: 1.625rem;
124
124
  }
@@ -129,7 +129,7 @@
129
129
  line-height: 1.375rem;
130
130
  font-weight: 400;
131
131
 
132
- @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
132
+ @media (min-width: map.get($grid-breakpoints, md)) {
133
133
  font-size: 1.25rem;
134
134
  line-height: 1.625rem;
135
135
  }
@@ -140,7 +140,7 @@
140
140
  line-height: 1.2rem;
141
141
  font-weight: 600;
142
142
 
143
- @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
143
+ @media (min-width: map.get($grid-breakpoints, md)) {
144
144
  font-size: 1.125rem;
145
145
  line-height: 1.463rem;
146
146
  }
@@ -151,7 +151,7 @@
151
151
  line-height: 1.2rem;
152
152
  font-weight: 400;
153
153
 
154
- @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
154
+ @media (min-width: map.get($grid-breakpoints, md)) {
155
155
  font-size: 1.125rem;
156
156
  line-height: 1.463rem;
157
157
  }
@@ -161,7 +161,7 @@
161
161
  font-size: 1rem;
162
162
  line-height: 1.5rem;
163
163
 
164
- @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
164
+ @media (min-width: map.get($grid-breakpoints, md)) {
165
165
  font-size: 1.125rem;
166
166
  line-height: 1.4375rem;
167
167
  }
@@ -191,7 +191,7 @@
191
191
  font-size: 1.125rem;
192
192
  line-height: 1.688rem;
193
193
 
194
- @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
194
+ @media (min-width: map.get($grid-breakpoints, md)) {
195
195
  line-height: 1.4375rem;
196
196
  }
197
197
  }
@@ -200,7 +200,7 @@
200
200
  font-size: 1.125rem;
201
201
  line-height: 1.563rem;
202
202
 
203
- @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
203
+ @media (min-width: map.get($grid-breakpoints, md)) {
204
204
  font-size: 1.25rem;
205
205
  line-height: 1.75rem;
206
206
  }
@@ -211,7 +211,7 @@
211
211
  line-height: 1.375rem;
212
212
  font-weight: 400;
213
213
 
214
- @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
214
+ @media (min-width: map.get($grid-breakpoints, md)) {
215
215
  font-size: 1.25rem;
216
216
  line-height: 1.625rem;
217
217
  }
@@ -222,7 +222,7 @@
222
222
  line-height: 1.375rem;
223
223
  font-weight: 600;
224
224
 
225
- @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
225
+ @media (min-width: map.get($grid-breakpoints, md)) {
226
226
  font-size: 1.25rem;
227
227
  line-height: 1.625rem;
228
228
  }
@@ -233,7 +233,7 @@
233
233
  line-height: 1.375rem;
234
234
  font-weight: 400;
235
235
 
236
- @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
236
+ @media (min-width: map.get($grid-breakpoints, md)) {
237
237
  font-size: 1.25rem;
238
238
  line-height: 1.625rem;
239
239
  }
package/scss/_fonts.scss CHANGED
@@ -1,3 +1,5 @@
1
+ @import './font-settings';
2
+
1
3
  /* latin */
2
4
  @font-face {
3
5
  font-family: 'Source Sans Pro';
package/scss/_input.scss CHANGED
@@ -1,8 +1,5 @@
1
1
  @use 'sass:map';
2
- @use './palette' as palette;
3
- @use './spacers' as spacers;
4
- @use './font-settings' as font-settings;
5
- @use './breakpoints' as breakpoints;
2
+ @import './font-settings';
6
3
 
7
4
  @mixin input-wrapper {
8
5
  width: 100%;
@@ -10,11 +7,11 @@
10
7
 
11
8
  @mixin input-container {
12
9
  display: flex;
13
- font-size: font-settings.$font-size-sm;
10
+ font-size: $font-size-sm;
14
11
  width: 100%;
15
- border: 2px solid palette.$neutral700;
12
+ border: 2px solid $neutral700;
16
13
  outline: none;
17
- background: palette.$white;
14
+ background: $white;
18
15
 
19
16
  svg:first-of-type {
20
17
  padding-left: 0.375rem;
@@ -25,79 +22,79 @@
25
22
  }
26
23
 
27
24
  &--large {
28
- padding: spacers.getSpacer(2xs) 0;
25
+ padding: getSpacer(2xs) 0;
29
26
 
30
27
  svg:first-of-type {
31
- padding-left: spacers.getSpacer(2xs);
28
+ padding-left: getSpacer(2xs);
32
29
  }
33
30
 
34
31
  svg:last-of-type {
35
- padding-right: spacers.getSpacer(2xs);
32
+ padding-right: getSpacer(2xs);
36
33
  }
37
34
  }
38
35
 
39
36
  &:focus-within {
40
- background: palette.$white;
41
- border-color: palette.$neutral900;
42
- box-shadow: 0 0 0 2px palette.$neutral900;
37
+ background: $white;
38
+ border-color: $neutral900;
39
+ box-shadow: 0 0 0 2px $neutral900;
43
40
  }
44
41
 
45
42
  &:hover {
46
- background: palette.$neutral50;
47
- border-color: palette.$neutral700;
48
- box-shadow: 0 0 0 1px palette.$neutral700;
43
+ background: $neutral50;
44
+ border-color: $neutral700;
45
+ box-shadow: 0 0 0 1px $neutral700;
49
46
 
50
47
  &:focus-within {
51
- border-color: palette.$black;
52
- box-shadow: 0 0 0 2px palette.$black;
48
+ border-color: $black;
49
+ box-shadow: 0 0 0 2px $black;
53
50
  }
54
51
  }
55
52
 
56
53
  &--on-blueberry {
57
- border-color: palette.$blueberry500;
54
+ border-color: $blueberry500;
58
55
 
59
56
  &:hover {
60
- background: palette.$blueberry50;
61
- box-shadow: 0 0 0 1px palette.$blueberry500;
62
- border-color: palette.$blueberry500;
57
+ background: $blueberry50;
58
+ box-shadow: 0 0 0 1px $blueberry500;
59
+ border-color: $blueberry500;
63
60
  }
64
61
 
65
62
  &:focus-within {
66
- background: palette.$white;
67
- border-color: palette.$neutral900;
68
- box-shadow: 0 0 0 2px palette.$neutral900;
63
+ background: $white;
64
+ border-color: $neutral900;
65
+ box-shadow: 0 0 0 2px $neutral900;
69
66
  }
70
67
  }
71
68
 
72
69
  &--on-dark {
73
- border-color: palette.$blueberry900;
70
+ border-color: $blueberry900;
74
71
 
75
72
  &:hover {
76
- background: palette.$blueberry50;
77
- border-color: palette.$blueberry900;
78
- box-shadow: 0 0 0 1px palette.$blueberry900;
73
+ background: $blueberry50;
74
+ border-color: $blueberry900;
75
+ box-shadow: 0 0 0 1px $blueberry900;
79
76
  }
80
77
 
81
78
  &:focus-within {
82
- background: palette.$white;
83
- border-color: palette.$neutral900;
84
- box-shadow: 0 0 0 2px palette.$neutral900;
79
+ background: $white;
80
+ border-color: $neutral900;
81
+ box-shadow: 0 0 0 2px $neutral900;
85
82
  }
86
83
  }
87
84
 
88
85
  &--invalid {
89
- border-color: palette.$cherry600;
86
+ border-color: $cherry600;
90
87
 
91
88
  &:hover {
92
- background: palette.$cherry100;
93
- border-color: palette.$cherry600;
94
- box-shadow: 0 0 0 2px palette.$cherry600;
89
+ background: $cherry100;
90
+ border-color: $cherry600;
91
+ box-shadow: 0 0 0 2px $cherry600;
95
92
  }
96
93
 
97
94
  &:focus-within {
98
- background: palette.$white;
99
- border-color: palette.$neutral900;
100
- box-shadow: 0 0 0 2px palette.$neutral900;
95
+ background: $white;
96
+ border-color: $neutral900;
97
+ box-shadow: 0 0 0 2px $neutral900;
101
98
  }
102
99
  }
103
100
 
@@ -105,32 +102,32 @@
105
102
  background: transparent;
106
103
 
107
104
  &:hover {
108
- background: palette.$neutral100;
105
+ background: $neutral100;
109
106
  }
110
107
 
111
108
  &:focus-within {
112
- background: palette.$white;
109
+ background: $white;
113
110
  }
114
111
  }
115
112
  &--transparent#{&}--on-blueberry {
116
113
  &:hover {
117
- background: palette.$blueberry100;
114
+ background: $blueberry100;
118
115
  }
119
116
 
120
117
  &:focus-within {
121
- background: palette.$white;
118
+ background: $white;
122
119
  }
123
120
  }
124
121
 
125
122
  &--disabled {
126
123
  background: transparent;
127
- border-color: palette.$neutral600;
124
+ border-color: $neutral600;
128
125
  border-style: dashed;
129
- color: palette.$neutral700;
126
+ color: $neutral700;
130
127
 
131
128
  &:hover {
132
129
  background: transparent;
133
- border-color: palette.$neutral600;
130
+ border-color: $neutral600;
134
131
  box-shadow: none;
135
132
  }
136
133
  }
@@ -138,31 +135,31 @@
138
135
  &__input {
139
136
  line-height: 1.625rem;
140
137
  font-family: inherit;
141
- font-size: font-settings.$font-size-sm;
142
- padding: 0 spacers.getSpacer(2xs);
138
+ font-size: $font-size-sm;
139
+ padding: 0 getSpacer(2xs);
143
140
  border: none;
144
141
  outline: none;
145
142
  background-color: transparent;
146
143
  width: 100%;
147
144
 
148
- @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
149
- font-size: font-settings.$font-size-md;
145
+ @media (min-width: map.get($grid-breakpoints, md)) {
146
+ font-size: $font-size-md;
150
147
  }
151
148
 
152
149
  &::placeholder {
153
- color: palette.$neutral500;
150
+ color: $neutral500;
154
151
  }
155
152
 
156
153
  &--disabled {
157
- color: palette.$neutral700;
154
+ color: $neutral700;
158
155
  }
159
156
 
160
157
  &:first-child {
161
- padding-left: spacers.getSpacer(s);
158
+ padding-left: getSpacer(s);
162
159
  }
163
160
 
164
161
  &:last-child {
165
- padding-right: spacers.getSpacer(s);
162
+ padding-right: getSpacer(s);
166
163
  }
167
164
  }
168
165
  }
package/scss/_print.scss CHANGED
@@ -1,6 +1,6 @@
1
1
  @use 'sass:map';
2
- @use 'palette' as palette;
3
- @use 'breakpoints' as breakpoints;
2
+ @import 'palette';
3
+ @import 'breakpoints';
4
4
 
5
5
  @media print {
6
6
  *,
@@ -15,11 +15,11 @@
15
15
  }
16
16
 
17
17
  body {
18
- min-width: map.get(breakpoints.$grid-breakpoints, lg) !important;
18
+ min-width: map.get($grid-breakpoints, lg) !important;
19
19
  }
20
20
 
21
21
  .container {
22
- min-width: map.get(breakpoints.$grid-breakpoints, lg) !important;
22
+ min-width: map.get($grid-breakpoints, lg) !important;
23
23
  }
24
24
 
25
25
  abbr[title]::after {
@@ -32,7 +32,7 @@
32
32
 
33
33
  pre,
34
34
  blockquote {
35
- border: 1px solid palette.$neutral500;
35
+ border: 1px solid $neutral500;
36
36
  page-break-inside: avoid;
37
37
  }
38
38
 
package/scss/_reset.scss CHANGED
@@ -1,4 +1,4 @@
1
- @import 'normalize.css/normalize.css';
1
+ @import 'normalize.css/normalize';
2
2
 
3
3
  /** Fiks for iOS og Safari 15 */
4
4
  button,
@@ -1,8 +1,8 @@
1
- @use 'reset' as *;
2
- @use 'spacers' as *;
3
- @use 'breakpoints' as *;
4
- @use 'palette' as *;
5
- @use 'fonts' as *;
6
- @use 'body' as *;
7
- @use 'print' as *;
1
+ @import 'reset';
2
+ @import 'spacers';
3
+ @import 'breakpoints';
8
4
  @import 'bootstrap/scss/bootstrap-grid';
5
+ @import 'palette';
6
+ @import 'fonts';
7
+ @import 'body';
8
+ @import 'print';
@@ -1,4 +1,4 @@
1
- @use './breakpoints' as *;
1
+ @import './breakpoints';
2
2
 
3
3
  /*
4
4
  Denne filen er ment til å importeres som en css module:
@@ -8,7 +8,7 @@ import designsystemlayout from './scss/layout.scss'
8
8
 
9
9
  .container-breakout {
10
10
  // This is a copy of how bootstrap's row class sets margins inside a container
11
- // https://github.com/twbs/bootstrap/blob/e5643aaa89eb67327a5b4abe7db976f0ea276b70/scss/mixins/_scss#L16C1-L17C30
11
+ // https://github.com/twbs/bootstrap/blob/e5643aaa89eb67327a5b4abe7db976f0ea276b70/scss/mixins/_grid.scss#L16C1-L17C30
12
12
  margin-right: -$grid-gutter-width * 0.5;
13
13
  margin-left: -$grid-gutter-width * 0.5;
14
14
  }
@@ -1,10 +1,9 @@
1
1
  @use 'sass:map';
2
- @use './spacers' as spacers;
3
- @use './palette' as palette;
4
- @use './font-mixins' as fonts;
5
- @use './font-settings' as font-settings;
6
- @use './breakpoints' as breakpoints;
7
- @use './fonts' as *;
2
+ @import './spacers';
3
+ @import './breakpoints';
4
+ @import './fonts';
5
+ @import './palette';
6
+ @import './font-mixins';
8
7
 
9
8
  /*
10
9
  Denne filen er ment til å importeres som en css module:
@@ -13,123 +12,123 @@ import designsystemtypography from './scss/typography.scss'
13
12
  */
14
13
 
15
14
  .title-feature {
16
- @include fonts.title-feature;
15
+ @include title-feature;
17
16
  }
18
17
 
19
18
  .focused-content {
20
- font-size: font-settings.$font-size-sm;
21
- line-height: font-settings.$lineheight-size-sm;
19
+ font-size: $font-size-sm;
20
+ line-height: $lineheight-size-sm;
22
21
  }
23
22
 
24
23
  .title1 {
25
- @include fonts.title1;
24
+ @include title1;
26
25
  }
27
26
 
28
27
  .title2 {
29
- @include fonts.title2;
28
+ @include title2;
30
29
  }
31
30
 
32
31
  .title3 {
33
- @include fonts.title3;
32
+ @include title3;
34
33
  }
35
34
 
36
35
  .title4 {
37
- @include fonts.title4;
36
+ @include title4;
38
37
  }
39
38
 
40
39
  .title5 {
41
- @include fonts.title5;
40
+ @include title5;
42
41
  }
43
42
 
44
43
  .title6 {
45
- @include fonts.title6;
44
+ @include title6;
46
45
  }
47
46
 
48
47
  .body {
49
- @include fonts.body;
48
+ @include body;
50
49
  }
51
50
 
52
51
  .preamble {
53
- @include fonts.preamble;
52
+ @include preamble;
54
53
  }
55
54
 
56
55
  .legend {
57
- @include fonts.legend;
56
+ @include legend;
58
57
  }
59
58
 
60
59
  .label {
61
- @include fonts.label;
60
+ @include label;
62
61
  }
63
62
 
64
63
  .label-subdued {
65
- @include fonts.label-subdued;
64
+ @include label-subdued;
66
65
  }
67
66
 
68
67
  .sublabel {
69
- @include fonts.sublabel;
68
+ @include sublabel;
70
69
  }
71
70
 
72
71
  .sublabel-subdued {
73
- @include fonts.sublabel-subdued;
72
+ @include sublabel-subdued;
74
73
  }
75
74
 
76
75
  .compact-data {
77
- @include fonts.compact-data;
76
+ @include compact-data;
78
77
  }
79
78
 
80
79
  .table-cell {
81
- @include fonts.table-cell;
80
+ @include table-cell;
82
81
  }
83
82
 
84
83
  .strong {
85
- font-size: font-settings.$font-size-sm;
86
- line-height: font-settings.$lineheight-size-sm;
84
+ font-size: $font-size-sm;
85
+ line-height: $lineheight-size-sm;
87
86
 
88
- @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
89
- font-size: font-settings.$font-size-md;
90
- line-height: font-settings.$lineheight-size-md;
87
+ @media (min-width: map.get($grid-breakpoints, md)) {
88
+ font-size: $font-size-md;
89
+ line-height: $lineheight-size-md;
91
90
  }
92
91
  }
93
92
 
94
93
  .form {
95
- font-size: font-settings.$font-size-sm;
96
- line-height: font-settings.$lineheight-size-sm;
94
+ font-size: $font-size-sm;
95
+ line-height: $lineheight-size-sm;
97
96
 
98
- @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
99
- font-size: font-settings.$font-size-md;
97
+ @media (min-width: map.get($grid-breakpoints, md)) {
98
+ font-size: $font-size-md;
100
99
  }
101
100
  }
102
101
 
103
102
  .status-timestamp {
104
- @include fonts.status-timestamp;
103
+ @include status-timestamp;
105
104
  }
106
105
 
107
106
  .image-caption {
108
- @include fonts.image-caption;
107
+ @include image-caption;
109
108
  }
110
109
 
111
110
  .image-credit {
112
- @include fonts.image-credit;
111
+ @include image-credit;
113
112
  }
114
113
 
115
114
  .input-text {
116
- @include fonts.input-text;
115
+ @include input-text;
117
116
  }
118
117
 
119
118
  .input-text-large {
120
- @include fonts.input-text-large;
119
+ @include input-text-large;
121
120
  }
122
121
 
123
122
  .text-list {
124
- @include fonts.text-list;
123
+ @include text-list;
125
124
  }
126
125
 
127
126
  .definition-list-type {
128
- @include fonts.definition-list-type;
127
+ @include definition-list-type;
129
128
  }
130
129
 
131
130
  .definition-list-data {
132
- @include fonts.definition-list-data;
131
+ @include definition-list-data;
133
132
  }
134
133
 
135
134
  .anchorlink-wrapper {
@@ -139,24 +138,24 @@ import designsystemtypography from './scss/typography.scss'
139
138
  overflow-wrap: break-word;
140
139
  word-break: break-word;
141
140
  text-align: left;
142
- color: palette.$blueberry600;
141
+ color: $blueberry600;
143
142
  border: 0.15rem solid transparent;
144
143
  text-decoration: underline;
145
144
  text-underline-offset: 0.16rem;
146
- text-decoration-color: palette.$blueberry400;
145
+ text-decoration-color: $blueberry400;
147
146
  text-decoration-thickness: 0.0625rem;
148
147
  padding: 0.1rem;
149
148
 
150
149
  &:hover {
151
150
  cursor: pointer;
152
- color: palette.$blueberry700;
153
- background-color: palette.$blueberry50;
154
- text-decoration-color: palette.$blueberry600;
151
+ color: $blueberry700;
152
+ background-color: $blueberry50;
153
+ text-decoration-color: $blueberry600;
155
154
  }
156
155
 
157
156
  &:focus {
158
157
  outline: none;
159
- border: 0.15rem solid palette.$black;
158
+ border: 0.15rem solid $black;
160
159
  }
161
160
 
162
161
  &[target='_blank'] {