ShtukbaseStandard

The Shtukbase style

shtukbase-style · version 0.1.2
Other6 norms4 checks

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.

About the package

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.json and tokens.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"]). The build action writes it; the check fresh keeps it honest.
  • style.css: what tokens alone do not give: the group backgrounds .sb-bg-dots, -grid, -lines, -paper, -tint, -fade and others, the canvas .sb-canvas, edges .sb-edge, .sb-sheet, .sb-glow, .sb-glow-area, .sb-lift. Only var(--...) 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).

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

Norms 6

IDNormLevelModeEnforcer
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 blocks
check
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 observes
judge
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 blocks
check
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 blocks
check
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 blocks
check
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 observes
judge

"Blocks": the enforcer stops a violation. "Observes": it only notes it. Level MUST means required; SHOULD means yes by default.

Actions 6

NameWhat it doesFileWhen
buildBuild tokens.css of the style from its tokensactions/build.ts
after install after update
adoptSet this style in /design/design.md when the project has noneactions/adopt.ts
after install after update
backgroundThe document is white
norm SBS-R01
checks/background.ts
check
card-ratioA card is at most 3:1
norm SBS-R03
checks/card-ratio.ts
check
shadow-evenShadows are even on all sides
norm SBS-R04
checks/shadow-even.ts
check
freshThe CSS of the style is rebuilt from its tokens
norm SBS-R05
checks/fresh.ts
check

shtuk check runs the checks; shtuk run shtukbase-style <name> runs any action. "After install" actions run by themselves only if the package comes from a trusted source.

Pages 23

They go into the project at these paths.

Package files 12

They go into .shtukbase/packages/shtukbase-style/; actions run from there.