Tooltip !important fix — 104cac5 follow-up after Vite CSS reorder
#34
Reference in New Issue
Block a user
Delete Branch "dev"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
.v-tooltip > .v-overlay__content'sbackgroundandcolorto!importantso the override beats Vuetify's default regardless of CSS chunk order in production builds.Why
PR #33's
104cac5introduced the tooltip-readability fix, but on the deployed:latestit still rendered light-on-light. Both selectors (.v-tooltip > .v-overlay__content) are tied at specificity, and the override relied onapp.cssbeing imported aftervuetify/stylesinmain.js. Vite's production bundler reorders CSS chunks fromnode_modulesinto the final stylesheet unpredictably, so source-order ties aren't reliable.!importanton the two contrast properties is the targeted fix; cosmetic border + shadow stay un-important since Vuetify doesn't set them.Test plan
:latestrebuilds and compose restarts, hover any v-tooltip (e.g., the "Check all sources" rerun button in Subscriptions → Subscriptions). Background should be slate (#2C313A); text should be parchment (#E8E4D8). DevTools → Computed should show the rule has!importantand is the winning declaration.🤖 Generated with Claude Code