lostcoords-ui 0.14.2 → 0.14.3
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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 27c237af634ec60537ff964703faf62608340f24f83d6ee9224f80c0b9649620
|
|
4
|
+
data.tar.gz: 7cf3f448f87b9ed7ec8bb6d670378c59d0320fa673ba7badc64bb9dcbf9f6f7e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1fab12510a1d750e90711815773c613aeaed71eea35d679894a6370b22aaebadee9b84e665894136444f8b43f7668f7e1d632f5abc808767a23c73fe177ba6c4
|
|
7
|
+
data.tar.gz: b2c5ac6c41c1d8eeebc05d5de53e6c358d20b5ee0882c11c7cebedc4bb8e1bc56fc96ba08a62157a1e1b48a742540b467a4063d23826761585c63ce6d0b09fe0
|
data/README.md
CHANGED
|
@@ -170,6 +170,15 @@ Omit `only` to register every library controller. Unknown identifiers raise befo
|
|
|
170
170
|
registered, and repeated calls on the same application keep later overrides, so register defaults
|
|
171
171
|
before application overrides.
|
|
172
172
|
|
|
173
|
+
## Changes in 0.14.3
|
|
174
|
+
|
|
175
|
+
Nothing needs an edit, and one look changes:
|
|
176
|
+
|
|
177
|
+
- **An unchecked switch has a visible track on any surface.** It drew its track with `--input`, so on a host
|
|
178
|
+
whose cards share the field fill it showed only its thumb. The track is now `--lc-switch-track`, a
|
|
179
|
+
translucent foreground tint that shows on the page, a card or any other fill, in both themes. Set it to
|
|
180
|
+
restyle the track; checked switches still fill with `--primary`.
|
|
181
|
+
|
|
173
182
|
## Changes in 0.14.2
|
|
174
183
|
|
|
175
184
|
Nothing needs an edit unless you override the disabled look, and one look changes:
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
inline-size: calc(var(--spacing) * 9);
|
|
9
9
|
block-size: calc(var(--spacing) * 5.5);
|
|
10
10
|
border-radius: var(--radius-pill);
|
|
11
|
-
background-color: var(--
|
|
11
|
+
background-color: var(--lc-switch-track);
|
|
12
12
|
background-image: radial-gradient(circle closest-side, var(--lc-switch-thumb) calc(100% - var(--spacing) * 0.375), transparent 100%);
|
|
13
13
|
background-size: calc(var(--spacing) * 5.5) calc(var(--spacing) * 5.5);
|
|
14
14
|
background-repeat: no-repeat;
|
|
@@ -204,6 +204,10 @@
|
|
|
204
204
|
--lc-scrim-veil: color-mix(in oklab, var(--background) 35%, transparent);
|
|
205
205
|
--lc-input-hover: color-mix(in oklab, var(--foreground) 13%, var(--accent));
|
|
206
206
|
|
|
207
|
+
/* The unchecked switch track is a translucent tint, not a fill, so it shows on the page,
|
|
208
|
+
a card or any host surface, even one that matches --input. */
|
|
209
|
+
--lc-switch-track: color-mix(in oklab, var(--foreground) 20%, transparent);
|
|
210
|
+
|
|
207
211
|
--lc-shadow-sm: 0 1px 2px rgb(0 0 0 / 0.05);
|
|
208
212
|
--lc-shadow:
|
|
209
213
|
0 1px 3px rgb(0 0 0 / 0.05),
|