Use .wa-off-deep for deep opt-out

Rel #300
This commit is contained in:
Lea Verou
2024-12-17 16:40:45 -05:00
parent 22529870f4
commit 54687046ab
2 changed files with 4 additions and 2 deletions

View File

@@ -1,4 +1,6 @@
:is(button, input:where([type='button'], [type='reset'], [type='submit'])):where(:not(:host *, .wa-off, .wa-off *)),
:is(button, input:where([type='button'], [type='reset'], [type='submit'])):where(
:not(:host *, .wa-off, .wa-off-deep *)
),
:host,
.wa-button:where(:not([part~='base'])) {
--background-color: var(--wa-color-fill-loud, var(--wa-color-neutral-fill-loud));

View File

@@ -1,5 +1,5 @@
/* Details */
details:not(.wa-off, .wa-off *) {
details:not(.wa-off, .wa-off-deep *) {
background-color: var(--wa-color-neutral-fill-quiet);
border-radius: var(--wa-panel-border-radius);
padding-block: 0;