@skirbi/pinta 0.0.25 → 0.0.27

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.27 2026-07-03 19:06:30Z
4
+
5
+ * Fix previous release
6
+
7
+ 0.0.26 2026-07-03 18:56:25Z
8
+
9
+ * Add herald (warning) for button role
10
+
3
11
  0.0.25 2026-07-03 02:37:56Z
4
12
 
5
13
  * Set mobile defaults
package/lib/index.mjs CHANGED
@@ -2,4 +2,4 @@
2
2
  //
3
3
  // SPDX-License-Identifier: MIT
4
4
 
5
- const VERSION = "0.0.25";
5
+ const VERSION = "0.0.27";
@@ -200,6 +200,13 @@
200
200
  --skirbi-button-antagonist-strong-bg: var(--skirbi-error-base,
201
201
  #b91c1c);
202
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
+
203
210
  /**
204
211
  * STATUS COLOR CONTRACT
205
212
  *
@@ -2119,7 +2126,8 @@
2119
2126
  a[lead],
2120
2127
  a[support],
2121
2128
  a[extra],
2122
- a[antagonist] {
2129
+ a[antagonist],
2130
+ a[herald] {
2123
2131
  display: inline-flex;
2124
2132
  align-items: center;
2125
2133
  justify-content: center;
@@ -2278,6 +2286,32 @@
2278
2286
  var(--skirbi-error-base, #b91c1c));
2279
2287
  }
2280
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
+ }
2281
2315
  }
2282
2316
 
2283
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.25"
31
+ "version": "0.0.27"
32
32
  }