@internetstiftelsen/styleguide 5.0.3 → 5.0.5

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.
@@ -10,6 +10,6 @@ function track(data) {
10
10
 
11
11
  window._mtm.push(data);
12
12
  } else {
13
- console.log('GTM not loaded', data);
13
+ console.log('Matomo not loaded', data);
14
14
  }
15
15
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@internetstiftelsen/styleguide",
3
- "version": "5.0.3",
3
+ "version": "5.0.5",
4
4
  "main": "dist/components.js",
5
5
  "ports": {
6
6
  "fractal": "3000"
@@ -1,9 +1,10 @@
1
1
  export default function track(data) {
2
-
2
+
3
3
  if (window._mtm) {
4
-
4
+
5
5
  window._mtm.push(data);
6
6
  } else {
7
- console.log('GTM not loaded', data);
7
+ console.log('Matomo not loaded', data);
8
8
  }
9
9
  }
10
+
@@ -354,8 +354,7 @@
354
354
  }
355
355
 
356
356
  @include bem.e(text) {
357
- color: colors.$color-snow;
358
- text-shadow: 0 0 func.rhythm(2) colors.$color-jade-dark;
357
+ color: colors.$color-cyberspace;
359
358
  }
360
359
 
361
360
  @include bem.e(icon) {
@@ -451,7 +450,7 @@
451
450
 
452
451
  @include bem.e(text) {
453
452
  color: colors.$color-snow;
454
- text-shadow: 0 0 func.rhythm(2) colors.$color-peacock-dark;
453
+ text-shadow: 0 0 func.rhythm(1) colors.$color-peacock-dark;
455
454
  }
456
455
 
457
456
  @include bem.e(icon) {
@@ -84,7 +84,7 @@ $footer-font-size: 18px; /* To ensure all footers on all sites have the same fon
84
84
  @extend %normalize-links;
85
85
 
86
86
  color: colors.$color-jade;
87
- text-decoration: none;
87
+ text-decoration: underline;
88
88
 
89
89
  &:hover,
90
90
  &:focus {