Codebase audits, privacy, dark mode, palette (v1.9.0 to v1.9.4-audit) #14

Merged
ngu-git-admin merged 30 commits from audit into main 2026-09-29 18:07:25 +01:00
2 changed files with 3 additions and 2 deletions
Showing only changes of commit adbc449029 - Show all commits

View file

@ -30,7 +30,8 @@ const STATUSES = ["new", "read", "actioned", "archived", "spam"];
const STATUS_STYLE = {
new: "bg-action text-white",
read: "bg-tint text-link",
actioned: "bg-[#eaf3e2] text-[#4a6b2f]",
// The brand green at a tint, as text in light mode and lifted in dark.
actioned: "bg-[color-mix(in_srgb,#56733f_14%,transparent)] text-[color-mix(in_srgb,#56733f_var(--accent-text-mix),#ffffff)]",
archived: "bg-muted/10 text-muted",
spam: "bg-danger-tint text-danger",
};

View file

@ -467,7 +467,7 @@ export default function QrCodeMaker() {
</p>
</>
) : (
<div className="aspect-square w-full max-w-sm rounded-3xl bg-white/60 ring-1 ring-muted/10" />
<div className="aspect-square w-full max-w-sm rounded-3xl bg-surface/60 ring-1 ring-muted/10" />
)}
</div>
</div>