@kreftforeningen/web-css 1.0.16 → 1.0.19

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 +33 -21
  2. package/package.json +3 -2
package/css/theme.css CHANGED
@@ -30,32 +30,30 @@ body {
30
30
  background-color: var(--kf-color-gray-950);
31
31
  }
32
32
 
33
- /* Link styles */
33
+ /* Typography styles */
34
34
 
35
- a {
36
- color: var(--kf-color-blue-700);
37
- text-decoration: underline;
38
- transition: color 0.2s ease-in-out;
39
- }
40
-
41
- a:hover {
42
- color: var(--kf-color-blue-800);
43
- }
44
-
45
- a:active {
46
- color: var(--kf-color-blue-800);
47
- }
35
+ .typography {
36
+ & a {
37
+ color: var(--kf-color-blue-700);
38
+ text-decoration: underline;
39
+ transition: color 0.2s ease-in-out;
40
+ }
48
41
 
49
- .dark a {
50
- color: var(--kf-color-blue-200);
42
+ & a:hover,
43
+ & a:active {
44
+ color: var(--kf-color-blue-800);
45
+ }
51
46
  }
52
47
 
53
- .dark a:hover {
54
- color: var(--kf-color-blue-100);
55
- }
48
+ .dark .typography {
49
+ & a {
50
+ color: var(--kf-color-blue-200);
51
+ }
56
52
 
57
- .dark a:active {
58
- color: var(--kf-color-blue-100);
53
+ & a:hover,
54
+ & a:active {
55
+ color: var(--kf-color-blue-100);
56
+ }
59
57
  }
60
58
 
61
59
  /* Heading styles */
@@ -103,3 +101,17 @@ h5 {
103
101
  h6 {
104
102
  font-size: var(--kf-font-size-md);
105
103
  }
104
+
105
+ /* Text styles */
106
+
107
+ .sr-only {
108
+ position: absolute;
109
+ width: 1px;
110
+ height: 1px;
111
+ padding: 0;
112
+ margin: -1px;
113
+ overflow: hidden;
114
+ clip: rect(0, 0, 0, 0);
115
+ white-space: nowrap;
116
+ border-width: 0;
117
+ }
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.19",
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"