refactor(styles): resolve token gaps and expand typography scale
Extended the typography `--step-*` scale to cover the ad-hoc pixel values used across components (10px to 48px). Added overlay tokens `--white-14`, `--white-23`, `--white-25`, `--white-31`. Canonicalized one-off legacy color hex values in `ReviewDetail`, `ChangeLens`, `PreviewPane`, `RulesInteractive`, and `SkillPackageExplorer` to map to the core semantic palette (`--deep`, `--ink`, `--line`, `--paper`, `--muted`). Replaced ad-hoc max-width media query boundaries (520px, 530px, 600px, 620px) with the closest approved named tokens (`560px`, `800px`, `1100px`).
This commit is contained in:
@@ -78,8 +78,7 @@ const { files, initial = files[0]?.id ?? 'skill', packageLabel = 'SKILL PACKAGE'
|
||||
.skill-package-label {
|
||||
padding: 20px;
|
||||
color: var(--gold);
|
||||
/* token-gap: source uses 1px solid #ffffff40 over the blue background; no token matches; owner design-system-keeper */
|
||||
border-bottom: 1px solid #ffffff40;
|
||||
border-bottom: 1px solid var(--white-25);
|
||||
/* token-gap: source uses 10px; no --step-* covers 10px; owner design-system-keeper */
|
||||
font:
|
||||
500 10px 'DM Mono',
|
||||
@@ -94,8 +93,7 @@ const { files, initial = files[0]?.id ?? 'skill', packageLabel = 'SKILL PACKAGE'
|
||||
gap: 15px;
|
||||
padding: 17px 20px;
|
||||
border: 0;
|
||||
/* token-gap: source uses 1px solid #ffffff40 over the blue background; no token matches; owner design-system-keeper */
|
||||
border-bottom: 1px solid #ffffff40;
|
||||
border-bottom: 1px solid var(--white-25);
|
||||
color: var(--paper);
|
||||
background: transparent;
|
||||
text-align: left;
|
||||
|
||||
Reference in New Issue
Block a user