Skip to content

refactor: consolidate duplicate CSS design token namespaces #6

@GeneralJerel

Description

@GeneralJerel

Description

Severity: P2 — Consistency

In apps/app/src/app/globals.css, there are duplicate design token namespaces:

  • `--text-primary` vs `--color-text-primary`
  • `--border-default` vs `--color-border`
  • `--surface-primary` vs `--color-container`

Both sets are used across different components.

Failure mode

Confusion about which token to use; risk of visual inconsistency when one set is updated but not the other.

Suggested fix

Consolidate to a single namespace. Either alias one to the other or migrate all usages to one convention.

From self-review finding F08

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions