Define a major-third (1.25) type scale as CSS custom properties in the tokens layer (--text-2xs through --text-5xl), along with line-height (--leading-*), font-weight (--font-*), and letter-spacing (--tracking-*) tokens. Migrate all 28 core CSS files from ad-hoc values to token references with clamp()-based responsive scaling for headings. Add TypographyTokenContractTest to enforce token-only usage via grep-based assertions. Task run: UI-TYPOGRAPHY-SCALE-001 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
16 lines
281 B
CSS
16 lines
281 B
CSS
@layer components {
|
|
/* Breadcrumb navigation — separator-delimited path links. */
|
|
.app-breadcrumb {
|
|
margin-bottom: 5px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 3px;
|
|
font-size: var(--text-xs);
|
|
}
|
|
|
|
.app-breadcrumb a {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
}
|