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:
Marc-André Bombeck committed 2026-06-27 22:23:36 +02:00
1 parent 361505bd31
commit 7e63794e81
1 file changed
+1 -1
+1 -1
View File
@@ -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>
) : (