refactor(ui): web/admin amber->main 치환 + theme.ts deprecated 별칭 제거 (WS-AMBER)

- apps/web 11건 + apps/admin 10건 accent.amber->main 치환
- packages/ui/src/theme.ts에서 amber/amberDim/amberGlow @deprecated 별칭 제거
  (본체 main/dim/glow 유지). 전 모노레포 amber 잔여 0건 확인.
SKIP: site/src/tokens.ts(별도 토큰 계통, d3roPalette 비의존)
정책: docs/REFACTOR_POLICY.md DP1, 이식 인사이트 P7
This commit is contained in:
Yun Chan 2026-07-22 02:37:32 +09:00
parent 988a222fda
commit efac690362
14 changed files with 21 additions and 25 deletions

View file

@ -48,9 +48,9 @@ export function DauChart({ data }: DauChartProps): React.ReactElement {
<Line
type="monotone"
dataKey="active_users"
stroke={d3roPalette.accent.amber}
stroke={d3roPalette.accent.main}
strokeWidth={2}
dot={{ fill: d3roPalette.accent.amber, r: 3 }}
dot={{ fill: d3roPalette.accent.main, r: 3 }}
name="Active Users"
/>
</LineChart>

View file

@ -28,7 +28,7 @@ interface FeatureUsageChartProps {
}
const FEATURE_COLORS: Record<string, string> = {
llm_haiku: d3roPalette.accent.amber,
llm_haiku: d3roPalette.accent.main,
llm_sonnet: d3roPalette.tag.green,
llm_opus: d3roPalette.tag.purple,
stt_transcribe: d3roPalette.tag.blue,

View file

@ -57,7 +57,7 @@ export function TopUsersChart({ data }: TopUsersChartProps): React.ReactElement
color: d3roPalette.text.primary,
}}
/>
<Bar dataKey="total" fill={d3roPalette.accent.amber} name="Total Calls" />
<Bar dataKey="total" fill={d3roPalette.accent.main} name="Total Calls" />
</BarChart>
</ResponsiveContainer>
</Box>