refactor(ui): deprecated accent.amber->main 91건 + 매직 리터럴 토큰화 (WS3)

- accent.amber/amberDim/amberGlow -> accent.main/dim/glow 91건 (34파일).
  theme.ts의 @deprecated 별칭 참조 제거 (본체 main 사용).
- inline fontSize/fontWeight -> d3roTypo, borderRadius -> d3roRadius 토큰 37건.
- P4: 화면 고유 수치(스탯 fontSize, 레이아웃 width)는 토큰화 제외.
정책: docs/REFACTOR_POLICY.md DP1, 이식 인사이트 P4
This commit is contained in:
Yun Chan 2026-07-22 01:54:37 +09:00
parent aef44289a5
commit 078304dda9
28 changed files with 125 additions and 125 deletions

View file

@ -18,7 +18,7 @@ const components: Components = {
sx={{
fontSize: d3roTypo.value.size,
fontWeight: 600,
color: d3roPalette.accent.amber,
color: d3roPalette.accent.main,
mt: 2,
mb: 1,
borderBottom: `1px solid ${d3roPalette.border.default}`,
@ -90,7 +90,7 @@ const components: Components = {
sx={{
fontFamily: d3roFontMono,
fontSize: d3roTypo.compact.size,
color: d3roPalette.accent.amber,
color: d3roPalette.accent.main,
}}
>
{children}
@ -104,7 +104,7 @@ const components: Components = {
sx={{
fontFamily: d3roFontMono,
fontSize: d3roTypo.compact.size,
color: d3roPalette.accent.amber,
color: d3roPalette.accent.main,
bgcolor: d3roPalette.bg.inset,
px: 0.5,
py: 0.25,
@ -174,7 +174,7 @@ const components: Components = {
<Box
component="blockquote"
sx={{
borderLeft: `3px solid ${d3roPalette.accent.amber}`,
borderLeft: `3px solid ${d3roPalette.accent.main}`,
pl: 1.5,
ml: 0,
my: 0.75,