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:
parent
988a222fda
commit
efac690362
14 changed files with 21 additions and 25 deletions
|
|
@ -31,10 +31,10 @@ export default function AdminLoginPage(): React.ReactElement {
|
|||
onClick={() => void handleGoogleLogin()}
|
||||
fullWidth
|
||||
sx={{
|
||||
bgcolor: d3roPalette.accent.amber,
|
||||
bgcolor: d3roPalette.accent.main,
|
||||
color: d3roPalette.bg.app,
|
||||
fontWeight: 600,
|
||||
'&:hover': { bgcolor: d3roPalette.accent.amber, filter: 'brightness(1.1)' },
|
||||
'&:hover': { bgcolor: d3roPalette.accent.main, filter: 'brightness(1.1)' },
|
||||
}}
|
||||
>
|
||||
Sign in with Google
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ function computeDiff(
|
|||
const typeColors: Record<DiffEntry['type'], string> = {
|
||||
added: d3roPalette.tag.green,
|
||||
removed: d3roPalette.tag.red,
|
||||
changed: d3roPalette.accent.amber,
|
||||
changed: d3roPalette.accent.main,
|
||||
unchanged: d3roPalette.text.muted,
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ export function PaymentHistory({ userId }: PaymentHistoryProps): React.ReactElem
|
|||
if (loading) {
|
||||
return (
|
||||
<Box sx={{ display: 'flex', justifyContent: 'center', py: 4 }}>
|
||||
<CircularProgress size={24} sx={{ color: d3roPalette.accent.amber }} />
|
||||
<CircularProgress size={24} sx={{ color: d3roPalette.accent.main }} />
|
||||
</Box>
|
||||
)
|
||||
}
|
||||
|
|
@ -135,7 +135,7 @@ export function PaymentHistory({ userId }: PaymentHistoryProps): React.ReactElem
|
|||
sx={{
|
||||
fontFamily: d3roFontMono,
|
||||
fontSize: d3roTypo.small.size,
|
||||
borderLeft: `2px solid ${d3roPalette.accent.amber}`,
|
||||
borderLeft: `2px solid ${d3roPalette.accent.main}`,
|
||||
pl: 1.5,
|
||||
py: 0.5,
|
||||
}}
|
||||
|
|
@ -144,7 +144,7 @@ export function PaymentHistory({ userId }: PaymentHistoryProps): React.ReactElem
|
|||
<Box component="span" sx={{ color: d3roPalette.text.muted, fontSize: 10 }}>
|
||||
{new Date(log.created_at).toLocaleString()}
|
||||
</Box>
|
||||
<Box component="span" sx={{ color: d3roPalette.accent.amber }}>
|
||||
<Box component="span" sx={{ color: d3roPalette.accent.main }}>
|
||||
{log.action}
|
||||
</Box>
|
||||
</Box>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue