fix:icon too bright (#5335)

This commit is contained in:
Truman Gao
2026-02-08 17:59:00 -07:00
committed by GitHub
parent 57e012f9b7
commit a3bc35c303
2 changed files with 11 additions and 2 deletions

View File

@@ -31,6 +31,11 @@ defineOptions({
:deep(.smart-clickable\:allow-pointer-events) {
pointer-events: all;
}
:deep(.ease-brightness) {
opacity: 1;
transition: opacity 0.125s ease-out;
}
}
}
@@ -54,6 +59,10 @@ defineOptions({
:deep(.smart-clickable\:highlight-on-hover) {
filter: brightness(var(--hover-brightness, 1.25));
}
:deep(.ease-brightness) {
opacity: 0.85;
transition: opacity 0.125s ease-out;
}
}
:first-child:focus-visible + .smart-clickable__contents {