@internetstiftelsen/styleguide 2.22.3-beta.0.23 → 2.22.3-beta.0.26

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@internetstiftelsen/styleguide",
3
- "version": "2.22.3-beta.0.23",
3
+ "version": "2.22.3-beta.0.26",
4
4
  "main": "dist/components.js",
5
5
  "ports": {
6
6
  "fractal": "3000"
package/src/components.js CHANGED
@@ -26,4 +26,3 @@ import './molecules/context-menu/context-menu';
26
26
  import './molecules/alert/alert';
27
27
  import './molecules/continue-video-guide/continue-video-guide';
28
28
  import './organisms/video-guide/video-guide';
29
- import './organisms/timeline/timeline';
@@ -1,5 +1,7 @@
1
1
  @charset 'UTF-8';
2
2
 
3
+ @use "sass:math";
4
+
3
5
  // Grid only
4
6
  //
5
7
  // Includes relevant variables and mixins for the flexbox grid
@@ -83,15 +85,15 @@
83
85
  }
84
86
 
85
87
  @include bp-up(sm) {
86
- $bp-gap: $gap * 1.25;
87
-
88
88
  margin: rhythm($margin * 1.25) 0 0;
89
89
 
90
90
  &:not(.asymmetric-reversed) {
91
+ $bp-gap: $gap * 1.25;
91
92
  @include make-asymmetric-cols($bp-gap);
92
93
  }
93
94
 
94
95
  &.asymmetric-reversed {
96
+ $bp-gap: math.div($gap, 2);
95
97
  @include make-asymmetric-cols($bp-gap, true);
96
98
  }
97
99
  }
@@ -103,30 +105,32 @@
103
105
  }
104
106
 
105
107
  @include bp-up(lg) {
106
- $bp-gap: $gap * 1.5;
108
+
107
109
 
108
110
  margin: rhythm($margin * 1.5) 0 0;
109
111
 
110
112
  &:not(.asymmetric-reversed) {
113
+ $bp-gap: $gap * 1.5;
111
114
  @include make-asymmetric-cols($bp-gap);
112
115
  }
113
116
 
114
117
  &.asymmetric-reversed {
118
+ $bp-gap: $gap;
115
119
  @include make-asymmetric-cols($bp-gap, true);
116
120
  margin-bottom: calc(180px);
117
121
  }
118
122
  }
119
123
 
120
124
  @include bp-up(xl) {
121
- $bp-gap: $gap * 2;
122
-
123
125
  margin: rhythm($margin * 2) 0 0;
124
126
 
125
127
  &:not(.asymmetric-reversed) {
128
+ $bp-gap: $gap * 2;
126
129
  @include make-asymmetric-cols($bp-gap);
127
130
  }
128
131
 
129
132
  &.asymmetric-reversed {
133
+ $bp-gap: $gap;
130
134
  @include make-asymmetric-cols($bp-gap, true);
131
135
  margin-bottom: calc(216px);
132
136
  }
@@ -191,12 +191,16 @@ html {
191
191
  h4,
192
192
  p,
193
193
  a,
194
- li {
194
+ li,
195
+ dt,
196
+ dd {
195
197
  color: $color-snow;
196
198
  }
197
199
 
198
200
  p a,
199
201
  li a,
202
+ dt a,
203
+ dd a,
200
204
  h1 a,
201
205
  h2 a,
202
206
  h3 a,