@ttt-productions/theme-core 0.11.0 → 0.12.1
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/dist/styles/base.css +5 -0
- package/dist/styles/components.css +14 -0
- package/package.json +1 -1
package/dist/styles/base.css
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
html, body {
|
|
2
2
|
background-color: hsl(var(--background));
|
|
3
3
|
color: hsl(var(--foreground));
|
|
4
|
+
/* overflow-wrap is INHERITED: one rule here makes every text node in the system break
|
|
5
|
+
long unbroken runs (URLs, hashtag piles, seed xxxx strings) instead of blowing out of
|
|
6
|
+
its container. Flex/grid children additionally need min-w-0 where a row lets them
|
|
7
|
+
expand past their track — that part is per-component; this is the universal net. */
|
|
8
|
+
overflow-wrap: break-word;
|
|
4
9
|
}
|
|
5
10
|
|
|
6
11
|
* {
|
|
@@ -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); }
|