Files
breadcrumb-the-shire/web/css/components/app-list-tabs.css
fs e145b7d089 feat: introduce mathematical type scale with single-source-of-truth typography tokens
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>
2026-03-22 15:47:55 +01:00

35 lines
790 B
CSS

@layer components {
/* List page tab bar — horizontal filter tabs above data grids. */
.app-list-tabs {
display: flex;
flex-wrap: wrap;
margin-bottom: var(--app-spacing);
border-bottom: 1px solid var(--list-tabs-border);
}
.app-list-tabs button,
.app-list-tabs a {
background: transparent;
border: 0;
padding: 5px 10px 5px 10px;
color: var(--list-tabs-muted);
cursor: pointer;
font-weight: var(--font-medium);
border-bottom: 2px solid transparent;
text-decoration: none;
}
.app-list-tabs button:hover,
.app-list-tabs button:focus-visible,
.app-list-tabs a:hover,
.app-list-tabs a:focus-visible {
color: var(--app-color);
}
.app-list-tabs button.is-active,
.app-list-tabs a.is-active {
color: var(--app-color);
border-color: var(--list-tabs-active);
}
}