@internetstiftelsen/styleguide 2.23.16 → 2.23.17

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.23.16",
3
+ "version": "2.23.17",
4
4
  "main": "dist/components.js",
5
5
  "ports": {
6
6
  "fractal": "3000"
@@ -217,6 +217,10 @@
217
217
 
218
218
  @include b(a-tag) {
219
219
  @include tag;
220
+
221
+ [class*=text] {
222
+ color: $color-cyberspace;
223
+ }
220
224
  }
221
225
 
222
226
  @include bp-up(md) {
@@ -9,7 +9,8 @@ module.exports = {
9
9
  has_buttons: false,
10
10
  has_tags: true,
11
11
  hero_image: '/assets/images/hero.jpg',
12
- has_link: true
12
+ has_link: true,
13
+ has_pre_heading: false,
13
14
  },
14
15
  variants: [
15
16
  {
@@ -56,6 +57,19 @@ module.exports = {
56
57
  has_buttons: false,
57
58
  }
58
59
  },
60
+ {
61
+ name: 'Pre heading',
62
+ context: {
63
+ has_pre_heading: true,
64
+ pre_heading: 'Publicerad 11 oktober 2022',
65
+ no_image_class: true,
66
+ has_radius: false,
67
+ limited_width: false,
68
+ has_video: false,
69
+ has_image: true,
70
+ has_buttons: true,
71
+ }
72
+ },
59
73
  {
60
74
  name: 'Event hero',
61
75
  context: {