Skip to content

fix(dashboard): AuditPage action badge uses hardcoded text-cyan-300 #4064

@OneStepAt4time

Description

@OneStepAt4time

Bug

AuditPage actionBadgeClass() function returns text-cyan-300 for create/authenticated actions instead of using the design token system.

File: dashboard/src/pages/AuditPage.tsx line 143

return 'border border-[var(--color-accent-cyan)]/30 bg-[var(--color-accent-cyan)]/10 text-cyan-300';

Should be:

return 'border border-[var(--color-accent-cyan)]/30 bg-[var(--color-accent-cyan)]/10 text-[var(--color-accent-cyan)]';

Same issue with other action badge colors (text-rose-300, text-amber-300, text-emerald-300) — these are raw Tailwind and won't work in light theme.

Impact: Action badges in audit trail look wrong in light theme.

Labels: dashboard, bug

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2bugSomething isn't workingdashboardreleasedIncluded in a published release

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions