ShtukbaseStandard

The keer-style style

keer-style · version 0.1.2
Design3 norms3 checks

A graphite-and-champagne style taken from an earlier product: tokens in one CSS file, elements in plain CSS, showcases and three norms: color, corner radius and shadow only from tokens.

About the package

The style: "Draft, graphite, champagne" from an earlier product. The package suits any project.

What it puts in the project:

  • /design/keer-style.md: what the style is, principles, the formula, when to apply what, how to connect it;
  • /design/keer-style/tokens.css: all the values: colors, corner radii, shadows, spacing, fonts, motion; two themes ("Draft" and "Grain") and a dark variant of "Draft" (draft-dark) for the lens skin;
  • /design/keer-style/elements.css: buttons, cards, fields, a table, badges, empty states in plain CSS (classes ks-…);
  • /design/keer-style/showcase.html and tokens.html: showcases, opened with a double click;
  • norms KS-R01 (color), KS-R02 (corner radius), KS-R03 (shadow) with checks on Bun.

The checks look at the project's CSS, HTML and code. Value files are marked with the word @tokens in the first lines; raw values are allowed in them.

From these tokens the kit-style package builds the "Draft" lens skin (skins/keer.css, the script scripts/skin-keer.ts). If you change the tokens, rebuild the skin.

Boundary: the package does not install the Geist font (without it, the system font is used) and does not bring the ten themes of the source application. The dark draft-dark lies in the tokens only as a source for the lens skin; the style's pages do not turn it on themselves. React components are in the keer-ui package.

Source: An earlier product, shtuks/design/ and packages/ui/src/styles/tokens.css, state as of 28.11.2026.

Norms 3

IDNormLevelModeEnforcer
KS-R01
The project's CSS, HTML and code have no raw colors: hex, rgb(), hsl(), oklch() with numbers, color names in color properties, and the Tailwind palette (bg-gray-500, text-white). A color is taken from var(--ds-…) of the keer-style style.
MUST blocks
check
KS-R02
border-radius in CSS and HTML takes var(--ds-radius-…) (or calc() on it), 0 or 50%; in Tailwind, rounded-none|xs|sm|md|lg|xl|2xl|3xl|4xl|full, and an arbitrary rounded-[…] only with a radius variable.
MUST blocks
check
KS-R03
box-shadow in CSS and HTML is none or a list of var(--…); the only allowed composite form is a ring [inset] 0 0 0 <width up to 2px or var> <color variable>. In Tailwind an arbitrary shadow-[…] is bound by the same.
SHOULD blocks
check

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

Actions 3

NameWhat it doesFileWhen
colorsColor only from tokens
norm KS-R01
checks/colors.ts
check
radiiCorner radius only from the scale
norm KS-R02
checks/radii.ts
check
shadowsShadow only from tokens
norm KS-R03
checks/shadows.ts
check

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

Pages 8

They go into the project at these paths.

Package files 5

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