fix(ui): make hover:text-white theme-aware so light-theme labels survive hover (issue #1909)

This commit is contained in:
maziggy
2026-09-20 13:25:05 +02:00
4 changed files with 13 additions and 3 deletions
+10
View File
@@ -348,6 +348,16 @@ body {
color: var(--text-primary);
}
/* Same, for the hover variant (#1909). Tailwind compiles `hover:text-white`
to `.hover\:text-white:hover`, a different selector the rule above never
matches -- so every one of the ~400 `text-bambu-gray hover:text-white`
controls turned literally white on hover and vanished against the light
theme's background. Unlayered, like the rule above, so it outranks
Tailwind's `@layer utilities` output. */
.hover\:text-white:hover {
color: var(--text-primary);
}
/* Smooth transitions for theme changes */
.bg-bambu-dark,
.bg-bambu-dark-secondary,
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -26,8 +26,8 @@
<!-- Splash screens for iOS -->
<link rel="apple-touch-startup-image" href="/img/android-chrome-512x512.png" />
<script type="module" crossorigin src="/assets/index-CH-LgsSx.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-DR-aOvsI.css">
<script type="module" crossorigin src="/assets/index-DQoG4yeu.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-ChscM3lF.css">
</head>
<body>
<div id="root"></div>