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:
@@ -20,8 +20,29 @@
|
||||
--step-6: clamp(36px, 5vw, 65px);
|
||||
--step-5: clamp(24px, 3vw, 38px);
|
||||
--step-4: clamp(22px, 3vw, 36px);
|
||||
--step-48: 48px;
|
||||
--step-32: 32px;
|
||||
--step-30: 30px;
|
||||
--step-25: 25px;
|
||||
--step-24: 24px;
|
||||
--step-22: 22px;
|
||||
--step-20: 20px;
|
||||
--step-18: 18px;
|
||||
--step-17: 17px;
|
||||
--step-16: 16px;
|
||||
--step-1: 15px;
|
||||
--step-14: 14px;
|
||||
--step-13: 13px;
|
||||
--step-12: 12px;
|
||||
--step-0: 11px;
|
||||
--step-00: 10px;
|
||||
--step-09: 9px;
|
||||
|
||||
/* Overlays */
|
||||
--white-14: rgb(255 255 255 / 14%);
|
||||
--white-23: rgb(255 255 255 / 23%);
|
||||
--white-25: rgb(255 255 255 / 25%);
|
||||
--white-31: rgb(255 255 255 / 31%);
|
||||
|
||||
/* Breakpoints */
|
||||
--bp-sm: 560px;
|
||||
|
||||
Reference in New Issue
Block a user