Logo von Hof Lib Tokens

Hof Lib Tokens

Organisation
openreachtech
hof-lib-tokens

Use when re-theming or overriding the component library's own semantic tokens from a consumer app, such as "change the library's primary colour", "make the field borders lighter", "our brand red", "retime the library's transitions". Covers where an override sits in the cascade, the published token prefixes, the two border tiers, the intent roles, the text roles, the easing tokens and the control size tokens.

Übersicht

Herausgeberopenreachtech
Repositoryhora-skills-ort-furo
Skill-Namehof-lib-tokens
Sterne
32
Forks
0
Mitgelieferte Dateien
Nur Anweisungen
LizenzApache-2.0
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • In sich abgeschlossen

    Alles, was das Modell braucht, steht in den Anweisungen — keine zusätzlichen Dateien zum Synchronisieren.

  • Open Source

    Von openreachtech auf GitHub veröffentlicht. Prüfen Sie vor der Installation die Quelldateien.

Installation

Installieren Sie den KI-Skill Hof Lib Tokens in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner. Dabei liest die App SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-lib-tokens
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill hinzufügen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format unterstützt, kann diesen Skill nutzen. Kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/openreachtech/hora-skills-ort-furo.git /tmp/hora-skills-ort-furo
mkdir -p .claude/skills
cp -r /tmp/hora-skills-ort-furo/kit/skills/hof-lib-tokens .claude/skills/hof-lib-tokens
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Hof Lib Tokens in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Hof Lib Tokens automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Hof Lib Tokens nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Schlüsseln.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

The component library's semantic tokens

This is about the tokens the component library itself publishes and reads — not the host app's own assets/css/variables.css tokens, which are a separate vocabulary with separate rules. Reach for this skill when a library component renders in the wrong colour, weight or timing and the fix belongs in the token layer rather than in a component's <style>.

The library ships its own token reference under docs/ inside the installed package. Read it before overriding anything — it is the authority, and it carries the reasoning behind each role.

How a consumer re-themes

Redefine semantic tokens only, never a --palette-* primitive and never a library component's CSS, and keep the light and dark blocks in sync so both schemes stay legible. Where the override sits depends on the library version:

Before 1.5.0From 1.5.0
Library tokensDeclared outside any cascade layerDeclared inside @layer furo
Unlayered override fileWins only when it loads after the library stylesheetWins wherever it loads
Override inside @layer app, which /hof-css-layers orders after furoLoses to the library tokens, because an unlayered declaration beats every layered oneWins
Override on bare :rootCompetes with the library's [data-theme="..."] blocks on load order and specificityBeats both theme blocks, so the token holds one value in both themes

Before 1.5.0:

  1. Keep the override file outside any cascade layer, and load it after the library stylesheet.
  2. Write the override under [data-theme="light"] / [data-theme="dark"], not bare :root, whenever the app sets data-theme.

From 1.5.0:

  1. Keep the override file outside any layer, where its load order no longer matters, or put it in @layer app, declared after furo.
  2. Write a token that differs per theme under [data-theme="light"] / [data-theme="dark"]. Put a token that holds in both themes, such as a size, on :root.

The published prefixes

A library component reads these and nothing else. --palette-* is off limits in component CSS, and a non-colour value never carries --color-.

PrefixHolds
--color-*Semantic colour roles
--size-*Spacing, radius, layout sizes
--font-*Family, size, weight, line height, and the composite text roles
--shadow-*Elevation
--transition-*Duration and easing
--value-*Constants, and the z-index layers

Two narrowing rules apply on top: gap takes --size-space-*, and text is set through a composite --font-* role rather than a bare font-size.

The two border tiers

TokenWhat reads it
--color-borderContainer outlines and dividers: menus, overlays, table rules, separators, toolbar and stepper outlines, outline toggles and toggle group items, a scrollbar thumb, a splitter grip, a column-resize bar
--color-inputControl boundaries: field, textarea, select and editor borders, radio and checkbox boxes, outline buttons, the switch off track

There is no --color-border-strong. A control that needs the stronger edge reads --color-input.

The intent roles

Each intent family ships these roles:

RoleRead as
--color-{destructive,error,info,success,warning}The fill and the border of an invalid control. Before 1.6.0 it was also the family read as text
--color-{destructive,info,warning}-textFrom 1.6.0, the family read as text on the page. See The text roles
--color-…-foregroundA label sitting on that fill
--color-{error,info,success,warning}-subtleA tinted surface, such as a badge
--color-…-subtle-foregroundText sitting on that tinted surface

--color-error and --color-success ship no -text sibling, because the library's contrast check finds no color: declaration that reads either. Text set through a --furo-* knob sits outside that check, so an app that paints either as text checks the contrast itself.

The text roles

Text on the page has to clear 4.5:1 against --color-background. Before 1.6.0 several roles the library paints as text fell short in the light theme, and the fill of a family doubled as its text. From 1.6.0 each role below clears 4.5:1 in both themes, except the glyph role, which is held to 3:1.

RoleBefore 1.6.0From 1.6.0, lightFrom 1.6.0, darkRead by, from 1.6.0
--color-destructive-textAbsent. Text read --color-destructive, --palette-rose-500, 3.67:1--palette-rose-600, 4.70:1--palette-rose-500, 5.14:1The FuroControlBlock message and required mark, FuroErrorState, the destructive FuroDropdownMenu item, the FuroTable error row
--color-warning-textAbsent. Text read --color-warning, --palette-orange-500, 2.80:1--palette-orange-700, 5.18:1--palette-orange-400, 8.34:1The unresolved-name glyph of FuroIcon
--color-info-textAbsent. Text read --color-info, --palette-blue-500, 3.68:1--palette-blue-600, 5.17:1--palette-blue-400, 7.43:1The FuroAttachment spinner
--color-link--palette-blue-500, 3.68:1--palette-blue-600, 5.17:1--palette-blue-500, 5.13:1, unchangedThe FuroButton link variant, links inside FuroEditor content
--color-foreground-glyphAbsent. Glyphs read --color-foreground-tertiary--palette-gray-600, 3.09:1--palette-gray-300, 12.84:1The FuroSidebar caret, the FuroSearchField icon, the FuroBreadcrumb separator and overflow marker
--color-foreground-secondary--palette-gray-700, 5.27:1. The FuroSidebar group label and section button read --color-foreground-tertiary instead, at 3.09:1Unchanged valueUnchanged valueAlso the FuroSidebar group label and section button
  • The fill roles keep their values. --color-destructive, --color-warning and --color-info still resolve to the same palette steps, because darkening a fill would push its -foreground label under 4.5:1. --palette-gray-950 on --palette-rose-600 is 4.02:1.
  • --color-foreground-tertiary did not move. It stays --palette-gray-600 in light and --palette-gray-300 in dark. At 3.09:1 in light it is below the text floor, so no library component reads it from 1.6.0. Set text with --color-foreground-secondary, never with the tertiary or the glyph role.
  • --color-foreground-glyph is for an icon, a caret or a separator only. Its 3:1 floor is the one WCAG sets for a graphic, and the library cannot tell a glyph from text, so only review keeps text off it.

No colour role was renamed or removed between 1.4.0 and 1.6.0, and every value in the table was the same in 1.4.0 and 1.5.0. Re-pointing a family depends on the version:

Before 1.6.0From 1.6.0
AA-passing danger textRe-point --color-destructive to a darker step, such as --palette-rose-700 (6.29:1), and accept that the fill and the invalid border darken with itNo override needed, because --color-destructive-text already clears 4.5:1
Recolor the danger family to a brand redRe-point --color-destructiveRe-point --color-destructive and --color-destructive-text, or messages keep the library's rose
Same for warning and infoRe-point --color-warning or --color-infoRe-point the fill and its -text sibling together
Link colour in light--palette-blue-500, 3.68:1--palette-blue-600, 5.17:1

A -text override differs per theme, so write it under [data-theme="light"] and [data-theme="dark"] and check it clears 4.5:1 on --color-background in each.

Easing

--transition-timer is the one name for the transition time axis. Two easing tokens sit beside it:

TokenFor
--transition-easingThe default curve
--transition-easing-emphasizedA large surface entering or leaving

Neither is redefined for the dark theme — a curve carries no colour.

Control size tokens

From 1.5.0 the library publishes three size tokens, so an app can raise a row or a close button to a larger touch target without touching component CSS:

TokenDefaultWhat reads it
--size-option-heightcalc(var(--size-input-height) - 0.5rem), 24pxThe minimum height of a FuroSelect option row and a FuroDropdownMenu row
--size-close-button-small1.25rem, 20pxThe FuroToast close button
--size-close-button-medium1.75rem, 28pxThe FuroDialog and FuroDrawer close buttons

Before 1.5.0 these tokens do not exist, and the components fix the same values in their own CSS, so declaring the tokens there changes nothing. No token was renamed or removed between 1.4.0 and 1.5.0.

Rules

  • Override a semantic role, never a --palette-* primitive and never a library component's CSS. A component's own rules live inside a cascade layer, so an app stylesheet outside that layer already wins where it needs to — reaching into the component is never the fix.
  • Re-point an intent family's fill and its -foreground companion together, and check the label still clears 4.5:1 on the new fill. From 1.6.0, also re-point the -text sibling of the destructive, warning and info families, and check it clears 4.5:1 on --color-background.
  • A colour a component needs but the token layer does not publish is a library gap worth reporting, not a hex value to inline in the app.
  • Do not invent a token name in the library's namespace. A new prefix is a change to the library's own token layers, not something an app declares.

Häufig gestellte Fragen

Was macht der KI-Skill Hof Lib Tokens?

Use when re-theming or overriding the component library's own semantic tokens from a consumer app, such as "change the library's primary colour", "make the field borders lighter", "our brand red", "retime the library's transitions". Covers where an override sits in the cascade, the published token prefixes, the two border tiers, the intent roles, the text roles, the easing tokens and the control size tokens.

Warum Hof Lib Tokens in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Hof Lib Tokens besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Hof Lib Tokens in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-lib-tokens ein. TypingMind liest die Datei SKILL.md und installiert den Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Hof Lib Tokens nutzen?

Jedes Modell, das Sie mit TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Hof Lib Tokens verwenden?

So viele Sie möchten. In TypingMind können Sie Hof Lib Tokens mit jedem Modell verwenden, das Skills unterstützt, etwa mit GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama. Dabei nutzen Sie Ihre eigenen API-Schlüssel.

Ist der KI-Skill Hof Lib Tokens kostenlos?

Ja. Der Skill wird von openreachtech auf GitHub unter der Lizenz Apache-2.0 veröffentlicht. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: Die Datei SKILL.md enthält den Namen und die Beschreibung des Skills. Hinzu kommen bei Bedarf Skripte, Vorlagen oder Referenzdateien für das Modell. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und kommen daher ohne Server, API-Schlüssel und Laufzeitumgebung aus. Sie funktionieren mit jedem Modell.

Alle anzeigen

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇