aboutsummaryrefslogtreecommitdiff
path: root/src/lib/Layout/Popup.svelte
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-05-15 11:10:35 +0000
committerFuwn <[email protected]>2026-05-15 11:10:35 +0000
commit963d635621c0a466c2f6d5e3d65f601185975201 (patch)
tree93aa369670ff9944df82ad2300096280e7c3fab2 /src/lib/Layout/Popup.svelte
parentperf(images): lazy-load and async-decode off-screen imagery (diff)
downloaddue.moe-963d635621c0a466c2f6d5e3d65f601185975201.tar.xz
due.moe-963d635621c0a466c2f6d5e3d65f601185975201.zip
perf(transitions): narrow the universal * selector
Replace the * { transition: color/bg/border/shadow } rule with a :where() list of the surfaces that actually receive state changes (anchors, buttons, form controls, cards, details/summary, role=button, role=menuitem, role=option). Every element no longer pays the transition (especially box-shadow, the costly one) on theme switch or parent re-paint.
Diffstat (limited to 'src/lib/Layout/Popup.svelte')
0 files changed, 0 insertions, 0 deletions