@kreftforeningen/web-css 1.0.15 → 1.0.18

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/css/theme.css CHANGED
@@ -103,3 +103,17 @@ h5 {
103
103
  h6 {
104
104
  font-size: var(--kf-font-size-md);
105
105
  }
106
+
107
+ /* Text styles */
108
+
109
+ .sr-only {
110
+ position: absolute;
111
+ width: 1px;
112
+ height: 1px;
113
+ padding: 0;
114
+ margin: -1px;
115
+ overflow: hidden;
116
+ clip: rect(0, 0, 0, 0);
117
+ white-space: nowrap;
118
+ border-width: 0;
119
+ }
@@ -4,7 +4,7 @@
4
4
  font-family: "IBM Plex Sans Condensed";
5
5
  font-style: normal;
6
6
  font-weight: 400;
7
- src: url("http://cdn.kreftforeningen.no/fonts/ibm-plex-sans-condensed-v14-latin-regular.woff2")
7
+ src: url("https://cdn.kreftforeningen.no/fonts/ibm-plex-sans-condensed-v14-latin-regular.woff2")
8
8
  format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
9
9
  }
10
10
  /* ibm-plex-sans-condensed-italic - latin */
@@ -13,7 +13,7 @@
13
13
  font-family: "IBM Plex Sans Condensed";
14
14
  font-style: italic;
15
15
  font-weight: 400;
16
- src: url("http://cdn.kreftforeningen.no/fonts/ibm-plex-sans-condensed-v14-latin-italic.woff2")
16
+ src: url("https://cdn.kreftforeningen.no/fonts/ibm-plex-sans-condensed-v14-latin-italic.woff2")
17
17
  format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
18
18
  }
19
19
  /* ibm-plex-sans-condensed-600 - latin */
@@ -22,7 +22,7 @@
22
22
  font-family: "IBM Plex Sans Condensed";
23
23
  font-style: normal;
24
24
  font-weight: 600;
25
- src: url("http://cdn.kreftforeningen.no/fonts/ibm-plex-sans-condensed-v14-latin-600.woff2")
25
+ src: url("https://cdn.kreftforeningen.no/fonts/ibm-plex-sans-condensed-v14-latin-600.woff2")
26
26
  format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
27
27
  }
28
28
  /* ibm-plex-sans-condensed-600italic - latin */
@@ -31,6 +31,6 @@
31
31
  font-family: "IBM Plex Sans Condensed";
32
32
  font-style: italic;
33
33
  font-weight: 600;
34
- src: url("http://cdn.kreftforeningen.no/fonts/ibm-plex-sans-condensed-v14-latin-600italic.woff2")
34
+ src: url("https://cdn.kreftforeningen.no/fonts/ibm-plex-sans-condensed-v14-latin-600italic.woff2")
35
35
  format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
36
36
  }
@@ -4,7 +4,7 @@
4
4
  font-family: "IBM Plex Sans";
5
5
  font-style: normal;
6
6
  font-weight: 400;
7
- src: url("http://cdn.kreftforeningen.no/fonts/ibm-plex-sans-v22-latin-regular.woff2")
7
+ src: url("https://cdn.kreftforeningen.no/fonts/ibm-plex-sans-v22-latin-regular.woff2")
8
8
  format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
9
9
  }
10
10
  /* ibm-plex-sans-italic - latin */
@@ -13,7 +13,7 @@
13
13
  font-family: "IBM Plex Sans";
14
14
  font-style: italic;
15
15
  font-weight: 400;
16
- src: url("http://cdn.kreftforeningen.no/fonts/ibm-plex-sans-v22-latin-italic.woff2")
16
+ src: url("https://cdn.kreftforeningen.no/fonts/ibm-plex-sans-v22-latin-italic.woff2")
17
17
  format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
18
18
  }
19
19
  /* ibm-plex-sans-500 - latin */
@@ -22,7 +22,7 @@
22
22
  font-family: "IBM Plex Sans";
23
23
  font-style: normal;
24
24
  font-weight: 500;
25
- src: url("http://cdn.kreftforeningen.no/fonts/ibm-plex-sans-v22-latin-500.woff2")
25
+ src: url("https://cdn.kreftforeningen.no/fonts/ibm-plex-sans-v22-latin-500.woff2")
26
26
  format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
27
27
  }
28
28
  /* ibm-plex-sans-500italic - latin */
@@ -31,7 +31,7 @@
31
31
  font-family: "IBM Plex Sans";
32
32
  font-style: italic;
33
33
  font-weight: 500;
34
- src: url("http://cdn.kreftforeningen.no/fonts/ibm-plex-sans-v22-latin-500italic.woff2")
34
+ src: url("https://cdn.kreftforeningen.no/fonts/ibm-plex-sans-v22-latin-500italic.woff2")
35
35
  format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
36
36
  }
37
37
  /* ibm-plex-sans-600 - latin */
@@ -40,7 +40,7 @@
40
40
  font-family: "IBM Plex Sans";
41
41
  font-style: normal;
42
42
  font-weight: 600;
43
- src: url("http://cdn.kreftforeningen.no/fonts/ibm-plex-sans-v22-latin-600.woff2")
43
+ src: url("https://cdn.kreftforeningen.no/fonts/ibm-plex-sans-v22-latin-600.woff2")
44
44
  format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
45
45
  }
46
46
  /* ibm-plex-sans-600italic - latin */
@@ -49,7 +49,7 @@
49
49
  font-family: "IBM Plex Sans";
50
50
  font-style: italic;
51
51
  font-weight: 600;
52
- src: url("http://cdn.kreftforeningen.no/fonts/ibm-plex-sans-v22-latin-600italic.woff2")
52
+ src: url("https://cdn.kreftforeningen.no/fonts/ibm-plex-sans-v22-latin-600italic.woff2")
53
53
  format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
54
54
  }
55
55
  /* ibm-plex-sans-700 - latin */
@@ -58,7 +58,7 @@
58
58
  font-family: "IBM Plex Sans";
59
59
  font-style: normal;
60
60
  font-weight: 700;
61
- src: url("http://cdn.kreftforeningen.no/fonts/ibm-plex-sans-v22-latin-700.woff2")
61
+ src: url("https://cdn.kreftforeningen.no/fonts/ibm-plex-sans-v22-latin-700.woff2")
62
62
  format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
63
63
  }
64
64
  /* ibm-plex-sans-700italic - latin */
@@ -67,6 +67,6 @@
67
67
  font-family: "IBM Plex Sans";
68
68
  font-style: italic;
69
69
  font-weight: 700;
70
- src: url("http://cdn.kreftforeningen.no/fonts/ibm-plex-sans-v22-latin-700italic.woff2")
70
+ src: url("https://cdn.kreftforeningen.no/fonts/ibm-plex-sans-v22-latin-700italic.woff2")
71
71
  format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
72
72
  }
@@ -4,7 +4,7 @@
4
4
  font-family: "IBM Plex Serif";
5
5
  font-style: normal;
6
6
  font-weight: 400;
7
- src: url("http://cdn.kreftforeningen.no/fonts/ibm-plex-serif-v19-latin-regular.woff2")
7
+ src: url("https://cdn.kreftforeningen.no/fonts/ibm-plex-serif-v19-latin-regular.woff2")
8
8
  format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
9
9
  }
10
10
  /* ibm-plex-serif-italic - latin */
@@ -13,7 +13,7 @@
13
13
  font-family: "IBM Plex Serif";
14
14
  font-style: italic;
15
15
  font-weight: 400;
16
- src: url("http://cdn.kreftforeningen.no/fonts/ibm-plex-serif-v19-latin-italic.woff2")
16
+ src: url("https://cdn.kreftforeningen.no/fonts/ibm-plex-serif-v19-latin-italic.woff2")
17
17
  format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
18
18
  }
19
19
  /* ibm-plex-serif-600 - latin */
@@ -22,7 +22,7 @@
22
22
  font-family: "IBM Plex Serif";
23
23
  font-style: normal;
24
24
  font-weight: 600;
25
- src: url("http://cdn.kreftforeningen.no/fonts/ibm-plex-serif-v19-latin-600.woff2")
25
+ src: url("https://cdn.kreftforeningen.no/fonts/ibm-plex-serif-v19-latin-600.woff2")
26
26
  format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
27
27
  }
28
28
  /* ibm-plex-serif-600italic - latin */
@@ -31,6 +31,6 @@
31
31
  font-family: "IBM Plex Serif";
32
32
  font-style: italic;
33
33
  font-weight: 600;
34
- src: url("http://cdn.kreftforeningen.no/fonts/ibm-plex-serif-v19-latin-600italic.woff2")
34
+ src: url("https://cdn.kreftforeningen.no/fonts/ibm-plex-serif-v19-latin-600italic.woff2")
35
35
  format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
36
36
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kreftforeningen/web-css",
3
- "version": "1.0.15",
3
+ "version": "1.0.18",
4
4
  "description": "Variables and styles.",
5
5
  "type": "module",
6
6
  "style": "index.css",
@@ -24,7 +24,8 @@
24
24
  "url": "git+https://github.com/kreftforeningen/web-css.git"
25
25
  },
26
26
  "scripts": {
27
- "build": "node extract-css-vars.js"
27
+ "build": "node extract-css-vars.js",
28
+ "release": "npm publish --access public --no-git-checks"
28
29
  },
29
30
  "keywords": [
30
31
  "css"