Skip to content

DS-040: Tokenize trading chart colors #427

Description

@IbrahimIjai

Complexity: Medium
Primary files: apps/web/src/features/trade/components/chart/TVChartContainer.tsx

Replace hardcoded chart colors with a typed adapter derived from CSS semantic
tokens for light and dark themes.

Acceptance criteria

  • Chart background, grid, text, crosshair, borders, candles, and position lines use tokens.
  • Theme changes update the chart without a reload.
  • Long/short/warning colors match the rest of the app.
  • Unit tests cover both generated palettes.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions