@internetstiftelsen/styleguide 3.0.10 → 3.0.11

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": "3.0.10",
3
+ "version": "3.0.11",
4
4
  "main": "dist/components.js",
5
5
  "ports": {
6
6
  "fractal": "3000"
@@ -166,8 +166,11 @@ strong {
166
166
  // Address styling not present in Safari and Chrome.
167
167
  //
168
168
 
169
+ em,
170
+ i,
169
171
  dfn {
170
- font-style: italic;
172
+ font-family: 'HK Grotesk Light Italic';
173
+ font-style: normal;
171
174
  }
172
175
 
173
176
  h1,
@@ -41,6 +41,16 @@
41
41
  font-display: swap;
42
42
  }
43
43
 
44
+ @font-face {
45
+ font-family: 'HK Grotesk Light Italic';
46
+ font-style: normal;
47
+ font-weight: normal;
48
+ src:
49
+ url('https://static.internetstiftelsen.se/internetstiftelsen/fonts/HKGrotesk-LightItalic.woff2') format('woff2'),
50
+ url('https://static.internetstiftelsen.se/internetstiftelsen/fonts/HKGrotesk-LightItalic.woff') format('woff');
51
+ font-display: swap;
52
+ }
53
+
44
54
  @font-face {
45
55
  font-family: 'Roboto Mono Regular';
46
56
  font-style: normal;
@@ -12,6 +12,7 @@ module.exports = {
12
12
  blockquote: 'Välkommen till Internetmuseum!
 Här tar vi dig med på en resa genom den svenska internethistorien.',
13
13
  quotee: 'Frank Zappa',
14
14
  link: 'lorem non turpis condimentum iaculis',
15
- strong: 'Den här texten är bold'
15
+ strong: 'Den här texten är bold',
16
+ italic: 'den här texten är italic',
16
17
  }
17
18
  }
@@ -9,7 +9,7 @@
9
9
  }
10
10
 
11
11
  .u-style-italic {
12
- font-style: italic !important;
12
+ font-family: 'HK Grotesk Light Italic' !important;
13
13
  }
14
14
 
15
15
  .u-style-no-italic {