Skip to content

chore(ui): ToolsView uses wrong token vocabulary (--color-* + hardcoded fallbacks) #254

Description

@ajianaz

Problem

ToolsView.svelte uses a different token vocabulary than the rest of the app:

  • ToolsView: --color-border, --color-text-muted, with hardcoded fallbacks (#333, #888)
  • Rest of app: --border, --text-muted (defined in app.css)

ToolsView is currently hidden from the sidebar (PR #244 — route kept for future return), so this is latent: the moment it's re-enabled it will look subtly off (wrong border/text colors on non-dark themes where the fallbacks kick in).

Fix

When re-enabling or touching ToolsView:

  • Rename --color-* → app tokens (--border, --text-muted, --bg-*, etc.)
  • Remove numeric fallbacks (#333, #888, #ddd) — tokens always exist; fallbacks mask drift

Could also be done now as a mechanical sweep — file is not user-visible so regression risk is zero.

Source

Full-app UI audit (token vocabulary split).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions