@threadlabs/looma 0.7.2 → 0.7.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.
- package/components/ui-button/ui-button.html +5 -3
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/styles/ui-button.css +9 -5
- package/vue/UiButton.vue +5 -3
- package/vue/chunks/UiButton.js +1 -1
- package/vue/components.css +39 -37
|
@@ -194,7 +194,7 @@
|
|
|
194
194
|
}
|
|
195
195
|
|
|
196
196
|
/* Disabled drops the tone rather than the shape: every variant keeps its own structure, so a
|
|
197
|
-
disabled outline is still an outline and a disabled ghost
|
|
197
|
+
disabled outline is still an outline and a disabled ghost still has no edge. Intent goes — an
|
|
198
198
|
unavailable action says "unavailable", not "unavailable, and destructive" — and so do the
|
|
199
199
|
highlight and shadow, because nothing that cannot be pressed should look raised. */
|
|
200
200
|
:host:disabled {
|
|
@@ -219,9 +219,11 @@
|
|
|
219
219
|
}
|
|
220
220
|
|
|
221
221
|
/* Ghost has no hover to fall back on, so disabled is the one state it has to state outright:
|
|
222
|
-
it takes a surface
|
|
222
|
+
it takes a surface rather than reading as plain text. The surface is a wash of the faded tone,
|
|
223
|
+
the way hover washes the live one, so it stays light in every tone. An opaque mix toward the
|
|
224
|
+
hue came out a mid-grey slab for neutral, whose hue is the ink: louder than the enabled button. */
|
|
223
225
|
:host-state([variant="ghost"]):disabled {
|
|
224
|
-
background-color:
|
|
226
|
+
background-color: oklch(from var(--_tone) l c h / 14%);
|
|
225
227
|
border-color: transparent;
|
|
226
228
|
}
|
|
227
229
|
|