@mikenotthepope/substrateui 0.2.0 → 0.2.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/CHANGELOG.md +10 -0
- package/dist/styles.css +7 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.2.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#3](https://github.com/MikeNotThePope/substrateui/pull/3) [`1b21d12`](https://github.com/MikeNotThePope/substrateui/commit/1b21d126f9626c34285247613c9eb1e296c05b70) Thanks [@MikeNotThePope](https://github.com/MikeNotThePope)! - Fix the Spinner so its motion is visible in light mode. The arc (top border)
|
|
8
|
+
previously used a dark plum on a prominent medium-gray track, so it blended in
|
|
9
|
+
and the ring looked static. A dedicated, per-mode `--spinner-track` token now
|
|
10
|
+
gives light mode a subtle light-gray track for the arc to stand out against;
|
|
11
|
+
dark mode is unchanged.
|
|
12
|
+
|
|
3
13
|
## 0.2.0
|
|
4
14
|
|
|
5
15
|
### Minor Changes
|
package/dist/styles.css
CHANGED
|
@@ -132,6 +132,9 @@
|
|
|
132
132
|
--border-subtle: var(--raw-warm-200);
|
|
133
133
|
--border-accent: var(--raw-plum-500);
|
|
134
134
|
|
|
135
|
+
/* Spinner track: a subtle light gray so the plum arc reads as it spins */
|
|
136
|
+
--spinner-track: var(--raw-warm-300);
|
|
137
|
+
|
|
135
138
|
/* ── SubstrateUI extended: Accent fills ── */
|
|
136
139
|
--accent-fill: var(--raw-plum-600);
|
|
137
140
|
--accent-fill-hover: var(--raw-plum-700);
|
|
@@ -214,6 +217,9 @@
|
|
|
214
217
|
--border-subtle: var(--raw-warm-800);
|
|
215
218
|
--border-accent: var(--raw-plum-400);
|
|
216
219
|
|
|
220
|
+
/* Spinner track: unchanged from the previously tuned dark-mode value */
|
|
221
|
+
--spinner-track: var(--raw-warm-400);
|
|
222
|
+
|
|
217
223
|
/* ── SubstrateUI extended: Accent fills ── */
|
|
218
224
|
--accent-fill: var(--raw-plum-500);
|
|
219
225
|
--accent-fill-hover: var(--raw-plum-400);
|
|
@@ -355,7 +361,7 @@
|
|
|
355
361
|
}
|
|
356
362
|
[data-slot="spinner"] {
|
|
357
363
|
animation: sui-spin 1s linear infinite;
|
|
358
|
-
border-color: var(--
|
|
364
|
+
border-color: var(--spinner-track);
|
|
359
365
|
border-top-color: var(--primary);
|
|
360
366
|
}
|
|
361
367
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mikenotthepope/substrateui",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "A chunky, OKLCH-powered design system for Next.js — built on Tailwind CSS v4, Radix UI, and Atomic Design principles.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "SubstrateUI",
|