mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-09 13:01:00 +00:00
fix(admin): use the semantic success token for the rotation-complete badge
The "safe to drop legacy key" badge hardcoded bg-emerald-600/text-white. Swap it for the success token (border-success/bg-success/text-success) the rest of the settings surfaces use, so it tracks the theme.
This commit is contained in:
1 parent
361505bd31
commit
7e63794e81
1 file changed
+1
-1
@@ -150,7 +150,7 @@ export function EncryptionSection() {
|
||||
/>
|
||||
</div>
|
||||
{s.rotationComplete ? (
|
||||
<Badge className="bg-emerald-600 text-white hover:bg-emerald-600">
|
||||
<Badge className="border-success/40 bg-success/15 text-success">
|
||||
{t("admin.section.encryption.safeToDropLegacy")}
|
||||
</Badge>
|
||||
) : (
|
||||
|
||||
Reference in new issue
Block a user