1
0
Files
breadcrumb-the-shire/web/css/components/app-brand.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
604 B
CSS

@layer components {
/* Branding — tenant logo display in sidebar and login. */
.brand {
display: flex;
align-items: center;
gap: 10px;
}
img.brand-logo {
width: 30px;
height: 30px;
object-fit: contain;
flex-shrink: 0;
}
.brand-name {
line-height: var(--leading-none);
font-weight: var(--font-bold);
color: var(--app-contrast);
}
.brand-info {
line-height: var(--leading-none);
}
.brand-slogan {
font-size: 0.85em; /* em-relative sizing — intentional, scales with parent */
color: var(--app-muted-color);
}
.badge:empty {
padding: 0;
}
}