aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-05-19 02:03:57 +0000
committerFuwn <[email protected]>2026-05-19 02:03:57 +0000
commit6b2a403ae2eb89398a649a52721a8888ab429b09 (patch)
tree5f3fc58de5aafa366e36971cb74eef6509606544
parentstyle(breakpoints): consolidate 9 ad-hoc values into 5 SCSS tokens (diff)
downloaddue.moe-6b2a403ae2eb89398a649a52721a8888ab429b09.tar.xz
due.moe-6b2a403ae2eb89398a649a52721a8888ab429b09.zip
style(transitions): add .button-badge / .badge-info to :where()
A surface audit of commit 963d6356 (which narrowed the universal * transition rule) identified two genuine regressions: .button-badge and .badge-info, both <span> chip styles in src/styles/badge.css. Their :hover changes background-color, which the global * rule used to animate but the narrowed :where() list did not catch. Adds them to the :where() list. All other state-change surfaces audited either still match the existing selectors (anchors, buttons, form controls, cards, ARIA roles) or have their own explicit transition rule (covers, tool cards, badge wall, previews).
-rw-r--r--src/styles/colours.css2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/styles/colours.css b/src/styles/colours.css
index 694807b4..1a563dc2 100644
--- a/src/styles/colours.css
+++ b/src/styles/colours.css
@@ -64,6 +64,8 @@
details,
summary,
.card,
+ .button-badge,
+ .badge-info,
[role="button"],
[role="menuitem"],
[role="option"]