Lern-Hero (Tutorials, Akademie) — section.learn-hero
Vollbreiter Einstieg für Lern- und Hilfebereiche im tricoma-6-Stil: Chip mit Punkt, große Display-Zeile plus kursive Betonung, Lead, zwei CTAs, Themen-Pills mit Icon und Kennzahlen in Mono — ruhiger Akzent-Glow und Raster aus Tokens, Ton hell oder dunkel. Optionaler Panelmodus mit Aside fuer redakti
Beispiele
Keine Demo-Fälle hinterlegt (demo.php ergänzen).
Eigenschaften
| Prop | Typ | Default |
|---|---|---|
chip | string | "" |
title * | string | — |
titleEmphasis | string | "" |
lead | string | "" |
note | string | "" |
primaryLabel | string | "" |
secondaryLabel | string | "" |
topics | array | [] |
stats | array | [] |
tone | string: light | dark | "light" |
align | string: center | start | "center" |
spacing | string: sm | md | lg | xl | "xl" |
grid | boolean | true |
primaryUrl | string | "" |
secondaryUrl | string | "" |
anchor | string | "" |
variant | string: band | panel | "band" |
Events & Slots
Slot aside: akzeptiert ui.*, component.*, layout.*, section.*
Stellschrauben (Komponenten-Tokens)
| Token | Default |
|---|---|
--learn-surface | var(--color-surface-page) |
--learn-text | var(--color-text-default) |
--learn-muted | var(--color-text-muted) |
--learn-line | var(--color-border-default) |
--learn-glass | var(--material-glass-background) |
--learn-cta | var(--color-text-default) |
--learn-cta-text | var(--color-surface-default) |
--section-spacing | var(--size-16) |
Genutzte Design-Tokens
border.hairline color.accent color.accent-soft color.band.dark color.band.dark-muted color.band.dark-text color.border.default color.border.subtle color.status.info color.surface.default color.surface.page color.text.default color.text.muted duration.fast easing.standard elevation.raised focus.ring-color focus.ring-offset focus.ring-width font.family.default font.family.display font.family.mono leading.loose leading.tight radius.full radius.surface size.05 size.1 size.10 size.12 size.16 size.2 size.3 size.4 size.5 size.6 size.8 text.2xl text.2xs text.3xl text.4xl text.6xl text.lg text.md text.reading text.sm text.xs tracking.wide weight.bold weight.medium