@kreftforeningen/web-css 1.0.16 → 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.
Files changed (2) hide show
  1. package/css/theme.css +14 -0
  2. package/package.json +3 -2
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
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kreftforeningen/web-css",
3
- "version": "1.0.16",
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"