Logo di Hof Lib Tokens

Hof Lib Tokens

Organizzazione
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.

Panoramica

Pubblicato daopenreachtech
Repositoryhora-skills-ort-furo
Nome della skillhof-lib-tokens
Stelle
32
Fork
0
File inclusi
Solo istruzioni
LicenzaApache-2.0
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da openreachtech su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Hof Lib Tokens in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-lib-tokens
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Hof Lib Tokens in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Hof Lib Tokens non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Hof Lib Tokens non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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.

Domande frequenti

Cosa fa la skill IA 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.

Perché usare Hof Lib Tokens su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Hof Lib Tokens è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Hof Lib Tokens in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-lib-tokens. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Hof Lib Tokens?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Hof Lib Tokens?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Hof Lib Tokens: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Hof Lib Tokens è gratuita?

Sì. È pubblicata su GitHub da openreachtech con licenza Apache-2.0. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇