@internetstiftelsen/styleguide 2.22.3-beta.0.28 → 2.22.3-beta.0.29

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.28",
3
+ "version": "2.22.3-beta.0.29",
4
4
  "main": "dist/components.js",
5
5
  "ports": {
6
6
  "fractal": "3000"
@@ -1,6 +1,19 @@
1
1
  @charset "UTF-8";
2
2
 
3
+ @keyframes smoothscroll1 {
4
+ from, to { scroll-behavior: smooth; }
5
+ }
6
+
7
+ @keyframes smoothscroll2 {
8
+ from, to { scroll-behavior: smooth; }
9
+ }
10
+
3
11
  html {
12
+ animation: smoothscroll1 1s;
13
+ }
14
+
15
+ html:focus-within {
16
+ animation-name: smoothscroll2;
4
17
  scroll-behavior: smooth;
5
18
  }
6
19
 
@@ -193,7 +206,8 @@ html {
193
206
  a,
194
207
  li,
195
208
  dt,
196
- dd {
209
+ dd,
210
+ :not(div) a {
197
211
  color: $color-snow;
198
212
  }
199
213