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:
parent
aef44289a5
commit
078304dda9
28 changed files with 125 additions and 125 deletions
|
|
@ -164,9 +164,9 @@ export function AppLayout(): React.ReactElement {
|
|||
<Typography
|
||||
sx={{
|
||||
fontFamily: d3roFontSans,
|
||||
fontSize: '20px',
|
||||
fontWeight: 800,
|
||||
letterSpacing: '0.02em',
|
||||
fontSize: d3roTypo.value.size,
|
||||
fontWeight: 800, // P4: 토큰에 없는 800 보존
|
||||
letterSpacing: '0.02em', // P4: 토큰에 없는 0.02em 보존
|
||||
backgroundImage: d3roPalette.gradient.logo,
|
||||
backgroundClip: 'text',
|
||||
WebkitBackgroundClip: 'text',
|
||||
|
|
@ -180,9 +180,9 @@ export function AppLayout(): React.ReactElement {
|
|||
<Typography
|
||||
sx={{
|
||||
fontFamily: d3roFontSans,
|
||||
fontSize: '13px',
|
||||
fontWeight: 500,
|
||||
letterSpacing: '0.12em',
|
||||
fontSize: d3roTypo.compact.size,
|
||||
fontWeight: 500, // P4: 토큰에 없는 500 보존
|
||||
letterSpacing: '0.12em', // P4: 토큰에 없는 0.12em 보존
|
||||
color: d3roPalette.text.dimLabel,
|
||||
pl: '16px',
|
||||
}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue