From c172f244e30eaf26932524e9bd581d995049388b Mon Sep 17 00:00:00 2001 From: claude-owner Date: Mon, 1 Jun 2026 11:14:27 +0900 Subject: [PATCH] ui(chart): unify fullscreen toggle aria-pressed visual with toolbar siblings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The fullscreen button in the chart toolbar carried aria-pressed={fullscreen} but had no active-state visual differentiation — only its label flipped ("⛶ 전체화면" ↔ "⛶ 해제"). Its sibling toggles in the same row (SMA presets, RSI, MACD) all use the canonical zinc token (border-zinc-600 bg-zinc-800/80 text-zinc-100 when active). Sighted users got an inconsistent press-feedback within a single toolbar. Switch fullscreen to the same conditional className pattern. CSV button next to it is intentionally not a toggle so stays unchanged. Other aria-pressed carriers audited and left as-is: - PeriodTabs: intentionally rose-500 (primary control must stand out from zinc toolbar buttons, comment already documents this) - StarButton: intentionally amber (favorite/star semantic) - InvestorCumulative / StockChart SMA presets / RSI / MACD: already on the canonical zinc token --- web/components/StockChart.tsx | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/web/components/StockChart.tsx b/web/components/StockChart.tsx index d8a0107..7756814 100644 --- a/web/components/StockChart.tsx +++ b/web/components/StockChart.tsx @@ -1050,7 +1050,16 @@ export function StockChart({ chart, prediction, targets }: Props) {