@ttt-productions/theme-core 0.11.0 → 0.12.0

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.
@@ -45,6 +45,20 @@
45
45
  }
46
46
  .spinner-with-gap { margin-right: 0.5rem; }
47
47
 
48
+ /* Spinners rendered INSIDE a button inherit the button's text color. The
49
+ standalone default above is brand --primary — which on a bg-primary button
50
+ is primary-on-primary and therefore INVISIBLE while it spins (found live:
51
+ the become-artisan submit showed no working indicator). currentColor makes
52
+ the spinner text-primary-foreground on default buttons, and correct on any
53
+ other button variant automatically. */
54
+ button .spinner-xs,
55
+ button .spinner-sm,
56
+ button .spinner-md,
57
+ button .spinner-lg,
58
+ button .spinner-xl {
59
+ color: currentColor;
60
+ }
61
+
48
62
  @keyframes spin {
49
63
  from { transform: rotate(0deg); }
50
64
  to { transform: rotate(360deg); }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ttt-productions/theme-core",
3
- "version": "0.11.0",
3
+ "version": "0.12.0",
4
4
  "description": "Theme provider + CSS token contract for TTT Productions apps",
5
5
  "repository": {
6
6
  "type": "git",