Files
Claude-Code-Monitor/client/src/i18n/locales/en/nav.json
T
nntrivi2001 b673363351 feat(theme): dark/light mode with a Radix Colors-based palette
Adds a working Dark/Light toggle (next to the language switcher, same row
as EN/VI) and re-themes the whole dashboard, not just the handful of
components that already used semantic tokens.

- Tailwind darkMode:"class" + CSS-variable color tokens (client/src/index.css,
  tailwind.config.js): surface.0-5, border/border-light, accent/accent-hover,
  fg.primary/secondary/muted, status.success/danger/warning. One class flip
  on <html> re-themes everything — no per-element dark: variant pairs.
- useTheme() hook: localStorage-persisted, defaults to dark, no
  prefers-color-scheme fallback (client/src/hooks/useTheme.ts).
- Mechanical, table-driven migration (scripts/migrate-color-tokens.mjs,
  scripts/tokenize-status-colors.mjs, scripts/darken-status-colors.mjs) of
  every raw neutral/gray/slate + emerald/red/amber Tailwind utility across
  client/src onto the new tokens, so every badge/button/component pulls the
  same shade per status/role instead of each picking its own.
- Palette values are the literal Radix Colors (radix-ui.com/colors) scale
  constants — slate/blue/green/red/amber steps 1-12 — adopted after three
  rounds of hand-picked values that kept overshooting (flat, then too dark,
  then glaring); see docs/superpowers/specs/2026-07-31-color-redesign-
  dark-light-mode-design.md for the full history and role mapping.
- PipelineMap: done/current/failed/passed-no-evidence/detected share one
  visual language (border + text + translucent wash of the same status
  color); `current` alone stays a solid accent fill, the one state that
  gets to look bolder ("you are here").
- LaneCard: removed the stage/kind/auto-stage chips that duplicated the
  Workspace lane-detail header already showing them.

Categorical/decorative hues (violet, indigo, cyan, teal, sky, rose, pink,
orange, yellow, and blue where it plays a role-coloring part e.g. message
bubbles) are deliberately out of scope — collapsing those onto shared
tokens would erase the distinction between different kinds of thing, not
a status.
2026-07-31 10:54:31 +07:00

70 lines
1.9 KiB
JSON

{
"activityFeed": "Activity Feed",
"agentBoard": "Kanban Board",
"analytics": "Analytics",
"avg": "avg",
"brand": "Agent Dashboard",
"brandSub": "Claude Code Monitor",
"ccConfig": "Claude Config",
"checkFailed": "Update check failed",
"checkForUpdates": "Check for updates",
"checkingForUpdates": "Checking for updates...",
"close": "Close",
"collapse": "Collapse sidebar",
"collapseShort": "Collapse",
"connection": "Connection",
"connectionDetails": "Connection details",
"connectionUptime": "Connected",
"dashboard": "Dashboard",
"daysAgo": "{{count}}d ago",
"disconnected": "Disconnected",
"eventsLastMin": "Last 60s",
"eventsReceived": "Events received",
"eventsTotal": "Total",
"expand": "Expand sidebar",
"hoursAgo": "{{count}}h ago",
"justNow": "just now",
"language": "Language",
"languageNames": {
"en": "English",
"vi": "Vietnamese"
},
"languageShort": {
"en": "EN",
"vi": "VI"
},
"lastEvent": "Last event",
"live": "Live",
"minutesAgo": "{{count}}m ago",
"noEventsYet": "No events yet",
"notConnected": "Not connected",
"notFound": "Not found",
"peakRate": "Peak",
"recentActivity": "Recent activity",
"resetStats": "Reset",
"scrollDown": "Scroll navigation down",
"scrollUp": "Scroll navigation up",
"secondsAgo": "{{count}}s ago",
"sessions": "Sessions",
"settings": "Settings",
"skipToContent": "Skip to content",
"statsPersisted": "Stats persist across reloads",
"switchLanguage": "Switch to {{language}}",
"switchTheme": "Switch to {{theme}}",
"theme": "Theme",
"themeNames": {
"dark": "Dark",
"light": "Light"
},
"throughput60s": "Throughput · last 60s",
"topEventTypes": "Top event types",
"unitEvents": "events",
"unitPerSec": "events/s",
"upToDate": "Up to date",
"updateAvailable": "Update available",
"website": "Website",
"workflows": "Workflows",
"workspace": "Workspace",
"wsEndpoint": "WebSocket"
}