@kreftforeningen/web-css 1.0.9 → 1.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/css/theme.css CHANGED
@@ -1,7 +1,24 @@
1
1
  /* Base styles */
2
2
 
3
3
  body {
4
- font-family: var(--kf-font-sans);
4
+ font-family: var(
5
+ --kf-font-sans,
6
+ "IBM Plex Sans",
7
+ ui-sans-serif,
8
+ system-ui,
9
+ -apple-system,
10
+ BlinkMacSystemFont,
11
+ "Segoe UI",
12
+ Roboto,
13
+ Helvetica Neue,
14
+ Arial,
15
+ "Noto Sans",
16
+ sans-serif,
17
+ Apple Color Emoji,
18
+ Segoe UI Emoji,
19
+ Segoe UI Symbol,
20
+ Noto Color Emoji
21
+ );
5
22
  font-size: var(--kf-font-size-md);
6
23
  line-height: 1.5;
7
24
  color: var(--kf-color-gray-950);
@@ -49,9 +66,18 @@ h3,
49
66
  h4,
50
67
  h5,
51
68
  h6 {
52
- font-family: var(--kf-font-condensed);
69
+ font-family: var(
70
+ --kf-font-condensed,
71
+ "IBM Plex Sans Condensed",
72
+ ui-sans-serif,
73
+ system-ui
74
+ );
53
75
  line-height: 1.2;
54
- margin-bottom: 1rem;
76
+ margin-block: 0;
77
+
78
+ .margin {
79
+ margin-block: 1rem;
80
+ }
55
81
  }
56
82
 
57
83
  h1 {
package/index.css CHANGED
@@ -131,8 +131,6 @@
131
131
  --kf-color-pink-ribbon-950: oklch(0.53654 0.22086 354.12);
132
132
 
133
133
  --kf-border-width: 2px;
134
- --kf-radius-full: 9999px;
135
- --kf-radius-md: 0.375rem;
136
134
  --kf-btn-font-size: 1rem;
137
135
  --kf-btn-font-weight: 500;
138
136
  --kf-btn-gap: 0.5rem;
@@ -143,11 +141,13 @@
143
141
  --kf-radius-none: 0rem;
144
142
  --kf-radius-sm: 0.125rem;
145
143
  --kf-radius: 0.25rem;
144
+ --kf-radius-md: 0.375rem;
146
145
  --kf-radius-lg: 0.5rem;
147
146
  --kf-radius-xl: 0.75rem;
148
147
  --kf-radius-2xl: 1rem;
149
148
  --kf-radius-3xl: 1.5rem;
150
149
  --kf-radius-4xl: 2rem;
150
+ --kf-radius-full: 9999px;
151
151
 
152
152
  /* Extended border widths */
153
153
  --kf-border-0: 0px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kreftforeningen/web-css",
3
- "version": "1.0.9",
3
+ "version": "1.0.11",
4
4
  "description": "Variables and styles.",
5
5
  "type": "module",
6
6
  "style": "index.css",