--label-color ➡️ --text-color

As we move towards using these helpers more widely, `--label-color` doesn't quite make sense
This commit is contained in:
Lea Verou
2024-12-17 10:39:47 -05:00
parent ef4cbd915d
commit 2136fed4cb
20 changed files with 51 additions and 51 deletions

View File

@@ -46,7 +46,7 @@ wa-page > header {
}
wa-button[data-toggle-nav] {
--label-color: currentColor;
--text-color: currentColor;
font-size: 1rem;
margin-inline-start: -0.875rem;
margin-inline-end: 0;

View File

@@ -23,7 +23,7 @@
.hero wa-button[variant='brand'] {
--background: var(--wa-color-neutral-fill-quiet);
--label-color: var(--wa-color-neutral-on-normal);
--text-color: var(--wa-color-neutral-on-normal);
}
.project-header {

View File

@@ -429,9 +429,9 @@ hasOutline: false
#icon-chooser-trigger {
--button-group-separator-border: none;
--label-color: var(--wa-color-neutral-on-quiet);
--label-color-hover: color-mix(in oklab, var(--wa-color-neutral-on-quiet), var(--wa-color-mix-hover));
--label-color-active: var(--label-color-hover);
--text-color: var(--wa-color-neutral-on-quiet);
--text-color-hover: color-mix(in oklab, var(--wa-color-neutral-on-quiet), var(--wa-color-mix-hover));
--text-color-active: var(--text-color-hover);
}
#icon-chooser::part(dialog) {