@skirbi/pinta 0.0.24 → 0.0.26

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/Changes CHANGED
@@ -1,5 +1,13 @@
1
1
  Revision history for @skirbi/pinta
2
2
 
3
+ 0.0.26 2026-07-03 18:56:25Z
4
+
5
+ * Add herald (warning) for button role
6
+
7
+ 0.0.25 2026-07-03 02:37:56Z
8
+
9
+ * Set mobile defaults
10
+
3
11
  0.0.24 2026-07-03 01:58:02Z
4
12
 
5
13
  * Typo fixes: skribi => skirbi
package/lib/index.mjs CHANGED
@@ -2,4 +2,4 @@
2
2
  //
3
3
  // SPDX-License-Identifier: MIT
4
4
 
5
- const VERSION = "0.0.24";
5
+ const VERSION = "0.0.26";
@@ -153,6 +153,14 @@
153
153
  --skirbi-heading-line-height: 1.2;
154
154
  --skirbi-heading-tracking: -0.01em;
155
155
 
156
+ @media (max-width: 48rem) {
157
+ --skirbi-font-scale: 1;
158
+ --skirbi-h1-scale: 1.75;
159
+ --skirbi-h2-scale: 1.375;
160
+ --skirbi-h3-scale: 1.2;
161
+ --skirbi-h4-scale: 1.1;
162
+ }
163
+
156
164
  /* Only in use when terminal-style=macos */
157
165
  --skirbi-terminal-dot-close: #e27878;
158
166
  --skirbi-terminal-dot-minimize: #e2a478;
@@ -192,6 +200,13 @@
192
200
  --skirbi-button-antagonist-strong-bg: var(--skirbi-error-base,
193
201
  #b91c1c);
194
202
 
203
+ --skirbi-button-herald-bg: transparent;
204
+ --skirbi-button-herald-color: var(--skirbi-warn-base, #d97706);
205
+ --skirbi-button-herald-border: var(--skirbi-warn-base, #d97706);
206
+ --skirbi-button-herald-hover-bg: color-mix(in srgb, var(--skirbi-warn-base, #d97706) 8%, transparent);
207
+ --skirbi-button-herald-hover-color: var(--skirbi-warn-base, #d97706);
208
+ --skirbi-button-herald-strong-bg: var(--skirbi-warn-base, #d97706);
209
+
195
210
  /**
196
211
  * STATUS COLOR CONTRACT
197
212
  *
@@ -297,6 +312,15 @@
297
312
  }
298
313
 
299
314
  @layer skirbi-base {
315
+
316
+ [skirbi-theme] {
317
+ *,
318
+ *::before,
319
+ *::after {
320
+ box-sizing: border-box;
321
+ }
322
+ }
323
+
300
324
  [skirbi-theme] {
301
325
  semtic-page > main,
302
326
  semtic-page > main > [semtic-body] {
@@ -2103,6 +2127,7 @@
2103
2127
  a[support],
2104
2128
  a[extra],
2105
2129
  a[antagonist] {
2130
+ a[herald] {
2106
2131
  display: inline-flex;
2107
2132
  align-items: center;
2108
2133
  justify-content: center;
@@ -2261,6 +2286,32 @@
2261
2286
  var(--skirbi-error-base, #b91c1c));
2262
2287
  }
2263
2288
  }
2289
+
2290
+ [herald] {
2291
+ background: var(--skirbi-button-herald-bg, transparent);
2292
+ color: var(--skirbi-button-herald-color,
2293
+ var(--skirbi-warn-base, #d97706));
2294
+ border-color: var(--skirbi-button-herald-border,
2295
+ var(--skirbi-warn-base, #d97706));
2296
+ &:hover {
2297
+ background: var(--skirbi-button-herald-hover-bg,
2298
+ color-mix(in srgb, var(--skirbi-warn-base, #d97706) 8%,
2299
+ transparent));
2300
+ color: var(--skirbi-button-herald-hover-color,
2301
+ var(--skirbi-warn-base, #d97706));
2302
+ }
2303
+ }
2304
+ [herald][lead] {
2305
+ background: var(--skirbi-button-herald-strong-bg,
2306
+ var(--skirbi-warn-base, #d97706));
2307
+ color: var(--skirbi-on-dark, white);
2308
+ border-color: transparent;
2309
+ &:hover {
2310
+ opacity: 0.9;
2311
+ background: var(--skirbi-button-herald-strong-bg,
2312
+ var(--skirbi-warn-base, #d97706));
2313
+ }
2314
+ }
2264
2315
  }
2265
2316
 
2266
2317
  /* semtic-divider */
package/package.json CHANGED
@@ -28,5 +28,5 @@
28
28
  },
29
29
  "sideEffects": false,
30
30
  "type": "module",
31
- "version": "0.0.24"
31
+ "version": "0.0.26"
32
32
  }