mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-10-09 07:25:44 +02:00
fix(ui): make hover:text-white theme-aware so light-theme labels survive hover (issue #1909)
This commit is contained in:
@@ -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
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user