@helsenorge/designsystem-react 10.6.1 → 10.6.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 (76) hide show
  1. package/CHANGELOG.md +8 -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/styles.module.scss +32 -32
  19. package/components/EyebrowHeader/styles.module.scss +2 -0
  20. package/components/FormGroup/styles.module.scss +9 -9
  21. package/components/FormLayout/styles.module.scss +5 -4
  22. package/components/HelpBubble/styles.module.scss +14 -14
  23. package/components/HelpPanel/styles.module.scss +2 -2
  24. package/components/HelpQuestion/styles.module.scss +20 -20
  25. package/components/HighlightPanel/styles.module.scss +20 -20
  26. package/components/HorizontalScroll/styles.module.scss +3 -4
  27. package/components/Input/styles.module.scss +14 -14
  28. package/components/Label/styles.module.scss +16 -16
  29. package/components/LinkList/styles.module.scss +35 -35
  30. package/components/ListHeader/styles.module.scss +8 -8
  31. package/components/Loader/styles.module.scss +14 -14
  32. package/components/MaxCharacters/styles.module.scss +12 -12
  33. package/components/Modal/styles.module.scss +49 -49
  34. package/components/NotificationPanel/styles.module.scss +40 -40
  35. package/components/Panel/styles.module.scss +60 -60
  36. package/components/PanelList/styles.module.scss +6 -6
  37. package/components/PopMenu/styles.module.scss +16 -16
  38. package/components/PopOver/styles.module.scss +15 -14
  39. package/components/PopOver/styles.module.scss.d.ts +3 -0
  40. package/components/Progressbar/styles.module.scss +4 -4
  41. package/components/PromoPanel/styles.module.scss +31 -31
  42. package/components/RadioButton/styles.module.scss +100 -100
  43. package/components/Select/styles.module.scss +23 -23
  44. package/components/ServiceMessage/styles.module.scss +48 -48
  45. package/components/SharingStatus/styles.module.scss +13 -13
  46. package/components/Slider/styles.module.scss +25 -25
  47. package/components/Spacer/styles.module.scss +14 -14
  48. package/components/StatusDot/styles.module.scss +24 -24
  49. package/components/Step/styles.module.scss +3 -3
  50. package/components/StepButtons/styles.module.scss +11 -11
  51. package/components/Stepper/styles.module.scss +16 -24
  52. package/components/StickyNote/styles.module.scss +3 -3
  53. package/components/Table/styles.module.scss +31 -31
  54. package/components/Tabs/TabList/styles.module.scss +2 -2
  55. package/components/Tabs/TabPanel/styles.module.scss +7 -7
  56. package/components/Tabs/styles.module.scss +3 -3
  57. package/components/Tag/styles.module.scss +16 -16
  58. package/components/TagList/styles.module.scss +4 -4
  59. package/components/Textarea/styles.module.scss +9 -9
  60. package/components/Tile/styles.module.scss +31 -31
  61. package/components/Title/styles.module.scss +8 -8
  62. package/components/Toggle/styles.module.scss +18 -18
  63. package/components/Tooltip/TooltipWord/styles.module.scss +4 -4
  64. package/components/Trigger/styles.module.scss +21 -21
  65. package/components/Validation/styles.module.scss +11 -11
  66. package/package.json +1 -1
  67. package/scss/_body.scss +6 -5
  68. package/scss/_breakpoints.scss +2 -2
  69. package/scss/_font-mixins.scss +22 -22
  70. package/scss/_fonts.scss +2 -0
  71. package/scss/_input.scss +51 -54
  72. package/scss/_print.scss +5 -5
  73. package/scss/_reset.scss +1 -1
  74. package/scss/helsenorge.scss +7 -7
  75. package/scss/layout.module.scss +2 -2
  76. package/scss/typography.module.scss +46 -47
@@ -1,4 +1,4 @@
1
- @use '../../scss/font-mixins' as fonts;
1
+ @import '../../scss/font-mixins';
2
2
 
3
3
  .title {
4
4
  overflow-wrap: break-word;
@@ -7,30 +7,30 @@
7
7
  margin-right: 0;
8
8
 
9
9
  &--feature {
10
- @include fonts.title-feature;
10
+ @include title-feature;
11
11
  }
12
12
 
13
13
  &--title1 {
14
- @include fonts.title1;
14
+ @include title1;
15
15
  }
16
16
 
17
17
  &--title2 {
18
- @include fonts.title2;
18
+ @include title2;
19
19
  }
20
20
 
21
21
  &--title3 {
22
- @include fonts.title3;
22
+ @include title3;
23
23
  }
24
24
 
25
25
  &--title4 {
26
- @include fonts.title4;
26
+ @include title4;
27
27
  }
28
28
 
29
29
  &--title5 {
30
- @include fonts.title5;
30
+ @include title5;
31
31
  }
32
32
 
33
33
  &--title6 {
34
- @include fonts.title6;
34
+ @include title6;
35
35
  }
36
36
  }
@@ -1,10 +1,10 @@
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/font-mixins' as fonts;
6
- @use '../../scss/breakpoints' as breakpoints;
7
- @import '../../scss/supernova/styles/colors.css';
2
+ @import '../../scss/spacers';
3
+ @import '../../scss/breakpoints';
4
+ @import '../../scss/palette';
5
+ @import '../../scss/font-settings';
6
+ @import '../../scss/supernova/styles/colors';
7
+ @import '../../scss/font-mixins';
8
8
 
9
9
  .toggle-container {
10
10
  display: flex;
@@ -22,39 +22,39 @@
22
22
  }
23
23
 
24
24
  &__label {
25
- @include fonts.label;
25
+ @include label;
26
26
 
27
27
  color: var(--core-color-neutral-900);
28
- margin-left: spacers.getSpacer(xs);
28
+ margin-left: getSpacer(xs);
29
29
 
30
- @media (min-width: map.get(breakpoints.$grid-breakpoints, sm)) {
31
- margin-left: spacers.getSpacer(s);
30
+ @media (min-width: map.get($grid-breakpoints, sm)) {
31
+ margin-left: getSpacer(s);
32
32
  }
33
33
 
34
34
  &__text--subdued {
35
- @include fonts.label-subdued;
35
+ @include label-subdued;
36
36
  }
37
37
 
38
38
  &--toggle-right {
39
39
  margin-left: 0;
40
- margin-right: spacers.getSpacer(xs);
40
+ margin-right: getSpacer(xs);
41
41
 
42
- @media (min-width: map.get(breakpoints.$grid-breakpoints, sm)) {
43
- margin-right: spacers.getSpacer(s);
42
+ @media (min-width: map.get($grid-breakpoints, sm)) {
43
+ margin-right: getSpacer(s);
44
44
  }
45
45
  }
46
46
  }
47
47
 
48
48
  &__sublabel {
49
- font-size: font-settings.$font-size-xs;
49
+ font-size: $font-size-xs;
50
50
  line-height: 1.25rem;
51
51
  color: var(--core-color-neutral-800);
52
52
  margin-left: 3.9rem;
53
53
  text-align: left;
54
54
 
55
- @media (min-width: map.get(breakpoints.$grid-breakpoints, sm)) {
56
- font-size: font-settings.$font-size-sm;
57
- line-height: font-settings.$lineheight-size-xs;
55
+ @media (min-width: map.get($grid-breakpoints, sm)) {
56
+ font-size: $font-size-sm;
57
+ line-height: $lineheight-size-xs;
58
58
  text-align: left;
59
59
  margin-left: 4.1rem;
60
60
  }
@@ -1,5 +1,5 @@
1
- @use '../../../scss/palette' as palette;
2
- @use '../../../scss/spacers' as spacers;
1
+ @import '../../../scss/palette';
2
+ @import '../../../scss/spacers';
3
3
 
4
4
  .word {
5
5
  all: unset;
@@ -8,11 +8,11 @@
8
8
  cursor: help;
9
9
 
10
10
  // bruker border istedet for text-decoration for å komme rundt text-decoraton-thickness begrensninger i safari
11
- border-bottom: 0.2rem dotted palette.$plum400;
11
+ border-bottom: 0.2rem dotted $plum400;
12
12
  line-height: 1.4rem;
13
13
 
14
14
  &:focus-visible {
15
- box-shadow: 0 0 0 spacers.getSpacer(4xs) palette.$black;
15
+ box-shadow: 0 0 0 getSpacer(4xs) $black;
16
16
  outline: none;
17
17
  }
18
18
  }
@@ -1,6 +1,6 @@
1
1
  @use 'sass:map';
2
- @use '../../scss/palette' as palette;
3
- @use '../../scss/icon' as icon;
2
+ @import '../../scss/palette';
3
+ @import '../../scss/icon';
4
4
 
5
5
  $trigger-medium-size: 24.18px;
6
6
  $trigger-medium-click-area: 44px;
@@ -24,8 +24,8 @@ $trigger-large-size: 30.61px;
24
24
  &--medium {
25
25
  height: $trigger-medium-size;
26
26
  width: $trigger-medium-size;
27
- margin-left: calc((map.get(icon.$icon-sizes, xs) - $trigger-medium-size) / 2);
28
- margin-right: calc((map.get(icon.$icon-sizes, xs) - $trigger-medium-size) / 2);
27
+ margin-left: calc((map.get($icon-sizes, xs) - $trigger-medium-size) / 2);
28
+ margin-right: calc((map.get($icon-sizes, xs) - $trigger-medium-size) / 2);
29
29
 
30
30
  &::after {
31
31
  // Increase the clickable area
@@ -41,8 +41,8 @@ $trigger-large-size: 30.61px;
41
41
  &--large {
42
42
  height: $trigger-large-size;
43
43
  width: $trigger-large-size;
44
- margin-left: calc((map.get(icon.$icon-sizes, sm) - $trigger-large-size) / 2);
45
- margin-right: calc((map.get(icon.$icon-sizes, sm) - $trigger-large-size) / 2);
44
+ margin-left: calc((map.get($icon-sizes, sm) - $trigger-large-size) / 2);
45
+ margin-right: calc((map.get($icon-sizes, sm) - $trigger-large-size) / 2);
46
46
  }
47
47
 
48
48
  $variant-map: (
@@ -52,56 +52,56 @@ $trigger-large-size: 30.61px;
52
52
 
53
53
  @each $variant, $color in $variant-map {
54
54
  &--#{$variant} {
55
- box-shadow: inset 0 0 0 1.6px map.get(palette.$palette-map, #{$color}600);
55
+ box-shadow: inset 0 0 0 1.6px map.get($palette-map, #{$color}600);
56
56
 
57
57
  &:hover,
58
58
  &#{$trigger}--hovered {
59
- box-shadow: inset 0 0 0 1.6px map.get(palette.$palette-map, #{$color}800);
60
- background-color: rgba(map.get(palette.$palette-map, #{$color}600), 0.1);
59
+ box-shadow: inset 0 0 0 1.6px map.get($palette-map, #{$color}800);
60
+ background-color: rgba(map.get($palette-map, #{$color}600), 0.1);
61
61
  }
62
62
 
63
63
  &:focus-visible {
64
- box-shadow: inset 0 0 0 1.6px palette.$black;
65
- outline: 1.6px solid palette.$black;
64
+ box-shadow: inset 0 0 0 1.6px $black;
65
+ outline: 1.6px solid $black;
66
66
  }
67
67
 
68
68
  &#{$trigger}--selected {
69
- box-shadow: inset 0 0 0 1.6px map.get(palette.$palette-map, #{$color}800);
70
- background-color: rgba(map.get(palette.$palette-map, #{$color}600), 0.1);
69
+ box-shadow: inset 0 0 0 1.6px map.get($palette-map, #{$color}800);
70
+ background-color: rgba(map.get($palette-map, #{$color}600), 0.1);
71
71
 
72
72
  &:hover,
73
73
  &#{$trigger}--hovered {
74
- background-color: rgba(map.get(palette.$palette-map, #{$color}600), 0.2);
74
+ background-color: rgba(map.get($palette-map, #{$color}600), 0.2);
75
75
  }
76
76
 
77
77
  &:focus {
78
- background-color: rgba(map.get(palette.$palette-map, #{$color}600), 0.1);
78
+ background-color: rgba(map.get($palette-map, #{$color}600), 0.1);
79
79
  }
80
80
  }
81
81
  }
82
82
  }
83
83
 
84
84
  &--ondark {
85
- box-shadow: inset 0 0 0 1.6px palette.$white;
85
+ box-shadow: inset 0 0 0 1.6px $white;
86
86
 
87
87
  &:hover {
88
- background-color: rgba(palette.$plum50, 0.2);
88
+ background-color: rgba($plum50, 0.2);
89
89
  }
90
90
 
91
91
  &:focus-visible {
92
- outline: 1.6px solid palette.$white;
92
+ outline: 1.6px solid $white;
93
93
  }
94
94
 
95
95
  &#{$trigger}--selected {
96
- background-color: rgba(palette.$plum50, 0.1);
96
+ background-color: rgba($plum50, 0.1);
97
97
 
98
98
  &:hover,
99
99
  &#{$trigger}--hovered {
100
- background-color: rgba(palette.$plum50, 0.2);
100
+ background-color: rgba($plum50, 0.2);
101
101
  }
102
102
 
103
103
  &:focus-visible {
104
- background-color: rgba(palette.$plum50, 0.1);
104
+ background-color: rgba($plum50, 0.1);
105
105
  }
106
106
  }
107
107
  }
@@ -1,32 +1,32 @@
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/breakpoints';
3
+ @import '../../scss/spacers';
4
+ @import '../../scss/palette';
5
+ @import '../../scss/font-settings';
6
6
 
7
7
  .validation {
8
8
  &__error-wrapper {
9
- margin-bottom: spacers.getSpacer(2xs);
9
+ margin-bottom: getSpacer(2xs);
10
10
 
11
- @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
12
- margin-bottom: spacers.getSpacer(m);
11
+ @media (min-width: map.get($grid-breakpoints, md)) {
12
+ margin-bottom: getSpacer(m);
13
13
  }
14
14
  }
15
15
 
16
16
  &__summary {
17
- color: palette.$cherry600;
17
+ color: $cherry600;
18
18
 
19
19
  &--visible {
20
- margin: spacers.getSpacer(l) 0 spacers.getSpacer(s);
20
+ margin: getSpacer(l) 0 getSpacer(s);
21
21
  }
22
22
  }
23
23
 
24
24
  &__errors {
25
- font-size: font-settings.$font-size-sm;
25
+ font-size: $font-size-sm;
26
26
  font-weight: 600;
27
27
 
28
28
  &--visible {
29
- margin: spacers.getSpacer(l) 0 spacers.getSpacer(s);
29
+ margin: getSpacer(l) 0 getSpacer(s);
30
30
  }
31
31
  }
32
32
  }
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "url": "git+https://github.com/helsenorge/designsystem.git"
8
8
  },
9
9
  "homepage": "https://helsenorge.design",
10
- "version": "10.6.1",
10
+ "version": "10.6.2",
11
11
  "author": "Helsenorge",
12
12
  "license": "MIT",
13
13
  "dependencies": {
package/scss/_body.scss CHANGED
@@ -1,11 +1,12 @@
1
1
  @use 'sass:map';
2
- @use './palette' as palette;
3
- @use './font-mixins' as fonts;
2
+ @import './palette';
3
+ @import './breakpoints';
4
+ @import './font-mixins';
4
5
 
5
6
  body {
6
7
  font-family: 'Source Sans Pro', Arial, Verdana, sans-serif;
7
- background-color: palette.$white;
8
- color: palette.$black;
8
+ background-color: $white;
9
+ color: $black;
9
10
 
10
- @include fonts.body;
11
+ @include body;
11
12
  }
@@ -1,7 +1,7 @@
1
1
  @use 'sass:map';
2
- @use 'spacers' as spacers;
2
+ @import 'spacers';
3
3
 
4
- $grid-gutter-width: map.get(spacers.$spacers, 5);
4
+ $grid-gutter-width: map.get($spacers, 5);
5
5
  $grid-columns: 12;
6
6
  $grid-breakpoints: (
7
7
  xxs: 0,
@@ -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';