The Shtukbase style
The Shtukbase identity as a style package: raspberry on white paper, a 12-hue palette, Outfit and Onest, the Viewfinder mark, even edges. Tokens in DTCG filling the shadcn theme names, built CSS, fonts, group backgrounds, the mark and wordmark, and six norms.
Sobre el paquete
Este texto aún no está traducido. Debajo está el original en inglés.
The visual identity of Shtukbase as a style package of the design contract: swap it for another style and every component and lens built to the contract changes its look.
What it puts in the project, in /design/shtukbase-style/:
tokens.jsonandtokens.dark.json: the style in the W3C DTCG format. They fill every name of the contract: the shadcn theme names (--background,--primary,--card,--chart-1...), the Tailwind v4 names (--font-sans,--shadow-md) and the extension--sb-(the twelve hues with-tint,-soft,-ink, the shadows--sb-edge,--sb-shadow-lift,--sb-shadow-sheet, the glow--sb-glow, the motion--sb-ease,--sb-dur).tokens.css: the CSS built from the two files (light on:root, dark on.dark, [data-theme="dark"]). Thebuildaction writes it; the checkfreshkeeps it honest.style.css: what tokens alone do not give: the group backgrounds.sb-bg-dots,-grid,-lines,-paper,-tint,-fadeand others, the canvas.sb-canvas, edges.sb-edge,.sb-sheet,.sb-glow,.sb-glow-area,.sb-lift. Onlyvar(--...)of the contract.fonts.css: Google Fonts links for Onest, Outfit and Geist Mono (all SIL Open Font License 1.1).assets/: the mark (mark.svg), the wordmark (wordmark.svg), a favicon with fixed colours and the five package icons in icon style 79 (icons/).- the pages of the style:
style.md(principles),surfaces.md(surfaces, edges, shadows, backgrounds),mark.md(the mark and the wordmark),icons.md(icon style 79). The specimen shows them as sections. - norms in
/norms/rules/shtukbase-style/:- SBS-R01: the document is white; check
background. - SBS-R02: the icon stands left, its top level with the title; a person judges it (
judges/icon-left.md). - SBS-R03: a card is at most 3:1; check
card-ratio. - SBS-R04: edges and shadows are even on all sides; check
shadow-even. - SBS-R05: the CSS of the style is rebuilt from its tokens; check
fresh. - SBS-R06: no plate under an icon; a person judges it (
judges/no-plate.md).
- SBS-R01: the document is white; check
On install the action adopt writes style: shtukbase-style in the header of /design/design.md when it names no style yet.
How to use: put <link rel="stylesheet" href="/design/shtukbase-style/fonts.css">, then tokens.css, then style.css into a page; use var(--primary), var(--sb-hue-5-soft) and the rest. A dark theme is a class dark or data-theme="dark" on any element.
Boundary: the package gives the values and the few classes of the style itself, not components: cards, chips and buttons are in the component libraries (shtukbase-ui-html, shtukbase-ui-react). The fonts are linked, not shipped: offline the system fonts named in the tokens are used. The mark has an accent token (--sb-accent, raspberry); the open question of raspberry or blue for the mark stays open in the identity notes.
Sources: the identity decisions of 28-29.11.2026 (shtuks/projects/shtukbase/assets/logo/identity.md), the palette (palette.css) and the package map mock (card edge, glow, chips, group backgrounds).
Normas 6
| ID | Norma | Nivel | Modo | Enforcer |
|---|---|---|---|---|
| SBS-R01 | The page of a document, a form or a screen has a white background: html, body and :root take var(--background) or white in the light theme, with no grey paper, dots, grid or gradient behind the text. Patterns and tints belong to canvases and areas. |
MUST | bloquea | comprobación |
| SBS-R02 | In a card, a row and a header the icon stands on the left and the title and text on the right; the top of the drawn icon is level with the top of the first line of the title. The icon is not above the text and the text is not under the icon, except a tile with no description (the icon above the name). |
SHOULD | observa | juez |
| SBS-R03 | A card is not longer than 3:1 (width to height, or height to width); a longer element is a row of a list. A card is as tall as its content, with no empty space added. A tile without text (an icon over a name) is almost square, 5:4. |
SHOULD | bloquea | comprobación |
| SBS-R04 | An edge, a glow or a shadow is the same on all sides: the offset is 0 (at most 1 px), the line is a ring of 1 px, the halo a blur. A shadow pushed down or sideways, or pulled in with a negative spread so that only one side shows, is not used. Take var(--sb-edge), var(--sb-shadow-lift), var(--sb-shadow-sheet) or var(--sb-glow). |
MUST | bloquea | comprobación |
| SBS-R05 | The file /design/shtukbase-style/tokens.css is exactly what the action build writes from tokens.json and tokens.dark.json of the style. |
MUST | bloquea | comprobación |
| SBS-R06 | An icon is drawn on the surface it stands on. No coloured or grey plate, tile, circle or square goes under an icon: not in a card, a row, a header, a tile or a button. Style 79 brings its own white rim and soft shadow; that is all the backing an icon gets. |
MUST | observa | juez |
«Bloquea»: el enforcer detiene la infracción. «Observa»: solo la anota. El nivel MUST es obligatorio; SHOULD significa «sí, salvo que haya motivo».
Acciones 6
| Nombre | Qué hace | Archivo | Cuándo |
|---|---|---|---|
| build | Build tokens.css of the style from its tokens | actions/build.ts | tras instalar tras actualizar |
| adopt | Set this style in /design/design.md when the project has none | actions/adopt.ts | tras instalar tras actualizar |
| background | The document is white norma SBS-R01 | checks/background.ts | comprobación |
| card-ratio | A card is at most 3:1 norma SBS-R03 | checks/card-ratio.ts | comprobación |
| shadow-even | Shadows are even on all sides norma SBS-R04 | checks/shadow-even.ts | comprobación |
| fresh | The CSS of the style is rebuilt from its tokens norma SBS-R05 | checks/fresh.ts | comprobación |
shtuk check ejecuta las comprobaciones; shtuk run shtukbase-style <nombre> ejecuta cualquier acción. Las acciones «tras instalar» solo se ejecutan solas si el paquete viene de una fuente de confianza.
Páginas 23
Se copian al proyecto en estas rutas.
- /design/shtukbase-style/
- fonts.css archivo
- Icons: style 79, the half sticker página
- The mark and the wordmark página
- style.css archivo
- The Shtukbase style página
- Surfaces, edges and backgrounds página
- tokens.css archivo
- tokens.dark.json archivo
- tokens.json archivo
- /design/shtukbase-style/assets/
- favicon.svg archivo
- mark.svg archivo
- wordmark.svg archivo
- /design/shtukbase-style/assets/icons/
- agents.svg archivo
- core.svg archivo
- lenses.svg archivo
- schedule.svg archivo
- tasks.svg archivo
- /norms/rules/shtukbase-style/
- The document is white SBS-R01
- The icon stands left, level with the title SBS-R02
- A card is at most 3:1 SBS-R03
- Shadows are even on all sides SBS-R04
- The CSS of the style is rebuilt from its tokens SBS-R05
- No plate under an icon SBS-R06
Archivos del paquete 12
Van a .shtukbase/packages/shtukbase-style/; las acciones se ejecutan desde ahí.