Codebase audits, privacy, dark mode, palette (v1.9.0 to v1.9.4-audit) #14
2 changed files with 3 additions and 2 deletions
|
|
@ -30,7 +30,8 @@ const STATUSES = ["new", "read", "actioned", "archived", "spam"];
|
||||||
const STATUS_STYLE = {
|
const STATUS_STYLE = {
|
||||||
new: "bg-action text-white",
|
new: "bg-action text-white",
|
||||||
read: "bg-tint text-link",
|
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",
|
archived: "bg-muted/10 text-muted",
|
||||||
spam: "bg-danger-tint text-danger",
|
spam: "bg-danger-tint text-danger",
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -467,7 +467,7 @@ export default function QrCodeMaker() {
|
||||||
</p>
|
</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>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue