Invisible Docs
GalerieTokens

Docs-Hero — section.docs-hero

Einstiegs-Hero fuer Dokumentationen im Syntax-Stil: Navy-Band (color.code.*-Welt) mit Schaltkreis-Raster und Glow-Knoten, Eyebrow, Titel, Leadtext, Aktions-Pills und Code-Fenster rechts

Blockv1.3.1Einstiegweb.documentweb.application

Beispiele

Mit Code-Beispiel

Invisible Docs

Ein UI-Framework für alles, was tricoma zeigt

Zentral definierte Bausteine, über Tokens umgestaltbar — konsumiert von Code und Dokumenten.

beispiel.php
echo invisible_render_id('ui.button', [
    'label' => 'Speichern',
]);

Nur Text

Die zwei Türen

PHP-Bibliothek für Anwendungen, Surface-JSON für redaktionelle Seiten.

Eigenschaften

PropTypDefault
eyebrowstring""
title *string—
headingLevelstring: 1 | 2"1"
leadstring""
actionsarray[]
codestring""
filenamestring""
codeStylestring: block | terminal"block"
codeSamplesarray[]
paddingstring: standard | none | sm | md | lg | xl"standard"
marginstring: standard | none | sm | md | lg | xl"standard"
borderstring: standard | none | hairline | strong"standard"
radiusstring: standard | none | control | surface | pill"standard"
textColorstring""
backgroundColorstring""
shadowstring: standard | none | sm | md | lg"standard"
widthstring: standard | container | full"standard"
heightstring: standard | half | full"standard"
backgroundImagestring""
backgroundDimstring: standard | light | medium | strong"standard"
backgroundFixedbooleanfalse
alignSelfstring: standard | start | center | end"standard"
anchorstring""

Events & Slots

Events: navigate

Stellschrauben (Komponenten-Tokens)

TokenDefault
--docshero-code-mutedvar(--color-code-muted)
--docshero-code-propertyvar(--color-code-property)
--docshero-code-surfacevar(--color-code-surface)
--docshero-code-surface-raisedvar(--color-code-surface-raised)
--docshero-code-textvar(--color-code-text)
--docshero-code-variablevar(--color-code-variable)
--docshero-radius-fullvar(--radius-full)

Genutzte Design-Tokens

border.hairline color.code.border color.code.comment color.code.keyword color.code.muted color.code.number color.code.property color.code.string color.code.surface color.code.surface-raised color.code.text color.code.variable color.status.danger color.status.success color.status.warning duration.fast easing.standard elevation.overlay font.family.default font.family.display font.family.mono leading.base leading.tight radius.full radius.surface size.10 size.12 size.2 size.3 size.4 size.5 size.6 size.8 text.lg text.md text.sm weight.bold weight.semibold