Scan your whole stack
Are you using @tiaforge-ui/temper?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.5.0
@tiaforge-ui/temper was last scanned on 29 Nov 2026 at version 0.5.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.5.0 LATEST | 29 Nov 2026 | No rules fired |
| 0.4.1 | 25 Nov 2026 | No rules fired |
| 0.4.0 | 24 Nov 2026 | No rules fired |
| 0.3.0 | 12 Nov 2026 | Not shown |
| 0.2.0 | 12 Nov 2026 | Not shown |
Findings for v0.5.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.5.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
CSS for plain, semantic HTML with a checked vocabulary, designed so coding agents get it right the first time.
Compact core · 20 / 20 agent tasks correct · 4,750 → 210 lines of app CSS in a real migration · no JS, build step or dependencies
This app shell (kitchen-sink/app.html) has no CSS of its own. The
screenshot follows your GitHub theme: switch between light and dark to see the other mode.
Write HTML. It already looks finished.
<form data-tm-layout="stack" data-tm-gap="md">
<label>Email
<input type="email" aria-invalid="true">
<small data-tm-tone="danger">Enter a full address, like name@example.com.</small>
</label>
<div data-tm-layout="row" data-tm-gap="sm" data-tm-justify="end">
<button type="button" data-tm-variant="outline" data-tm-tone="danger">Discard</button>
<button>Save</button>
</div>
</form>
No classes, no margins. Style (data-tm-variant) and color (data-tm-tone) are separate axes, so an
outline danger button is just both. aria-invalid is the error state and the error styling.
A typo fails the build, and the error tells you the fix.
$ npx temper check src
page.html:4:13 error TM101 data-tm-variant="danger" is not valid. Did you mean data-tm-tone="danger"? (allowed: secondary, outline, ghost, link, item)
page.html:7:3 error TM103 <button data-tm-icon="x"> has no visible text. Add aria-label.
2 error(s), 0 warning(s); 1 fixable with --fix
--fix rewrites the safe ones. The Vite plugin runs the same check in every build, and in Svelte,
Vue and JSX it follows expressions: failed ? 'danger' : 'sucess' is an error.
A modal dialog, no JavaScript.
<button commandfor="confirm" command="show-modal" data-tm-tone="danger">Delete…</button>
<dialog id="confirm">
<h2>Delete “Team retro”?</h2>
<footer>
<button commandfor="confirm" command="close" data-tm-variant="ghost">Keep</button>
<button data-tm-tone="danger">Delete event</button>
</footer>
</dialog>
command="show-modal" is the declarative showModal(): the button opens the dialog as a modal,
with no script. It animates in and out, blocks the page behind it and closes on Escape. That's the
browser's own <dialog>, styled.
Rebrand with two numbers.
:root { --tm-hue: 180; --tm-chroma: 0.12; } /* teal, in light and dark mode */
Every color is derived from those in OKLCH, and a test sweeps all 360 hues to keep text and buttons at WCAG AA contrast in both modes.
A dark section on a light page is one attribute.
<section data-tm-theme="dark" data-tm-pad="xl">…</section>
Your CSS always wins. Everything lives in @layer tm.* behind :where(), so .card { padding: 2rem }
beats it. You never need !important.
npm install @tiaforge-ui/temper
import '@tiaforge-ui/temper/core.css';
Then tell your agent about it, in CLAUDE.md or AGENTS.md:
UI uses temper. Read node_modules/@tiaforge-ui/temper/llms.txt before editing markup
(llms-full.txt before building whole pages). Run `npx temper check src` after editing.
The optional modules, the Vite plugin and use without a bundler are under Install.
Every variant against every tone, plus badges, callouts and form controls:
A mail client from the kitchen sink (kitchen-sink/index.html; the
three-pane layout and the message list use a few lines of demo CSS):
npm run readme-shots regenerates them (2560×1440).
1. The vocabulary is closed and enforced. Each attribute is one axis with a fixed list of values, so the checker can do more than catch typos:
data-tm-pairs only on a dl, data-tm-rail only as a direct child of [data-tm-shell],
data-tm-cols only with data-tm-layout="grid", and data-tm-rail needs app.css imported somewhere.cond && 'danger', which renders data-tm-tone="false".@tiaforge-ui/temper/react, /vue, /astro, /svelte and /sinter let tsc
reject things like data-tm-collapsed={collapsed}, where false would render data-tm-collapsed="false".--fix only applies fixes that can't go wrong (a value moved to its
axis, a typo with one close match, a value dropped from a boolean). Deprecated names keep working
until the next major version, with a warning that --fix resolves.!important, fixed
colors that ignore dark mode, outer margins, spacing that equals a scale step (16px →
var(--tm-space-md), fixable), rules that restyle [data-tm-variant] instead of setting tokens, and
margin/padding in style. A temper-ignore comment silences one line.It reads HTML, Svelte, Astro, Vue and JSX, plus --tm-* tokens in CSS. With classes none of this is
possible: nothing knows that .secondary.outline.contrast is a contradiction.
2. Nothing has an outer margin. The parent owns all space: data-tm-gap between children,
data-tm-pad inside, one scale xs sm md lg xl everywhere. This removes the most common failure we saw
with other libraries: agents stacking margin overrides against built-in margins. The one exception is
long-form text you don't write yourself (rendered Markdown, CMS HTML, a mail body): data-tm-prose
(prose.css) spaces its paragraphs, headings, lists and figures from the text flow.
3. State is HTML and ARIA. disabled, aria-invalid, aria-busy (spinner, blocks input),
aria-pressed, aria-current, :user-invalid, [open], :popover-open. Correct accessibility
markup is the styling, so it doesn't get left out.
4. Modern HTML works as-is. Dialog invokers, [popover] with light dismiss, role="switch"
checkboxes, details, dl as label/value pairs, enter and exit animations with @starting-style,
data-tm-sheet side panels and bottom sheets that slide in from their edge.
No JS components to wire up.
5. Dark mode is designed, not inverted. Colors are declared once with light-dark() at fixed
OKLCH lightness; raised surfaces get lighter and accents less saturated in the dark. Add
--tm-primary: var(--tm-accent) to give main buttons the brand color.
6. Right to left, high contrast and print work. dir="rtl" mirrors the layout and every
component (logical properties throughout). In Windows high contrast (forced colors) icons, switches and
selected items stay visible. A printed page leaves out the app chrome and prints scroll areas in full.
A data-tm-sr-only skip link shows while it has focus.
These are the things we measured instead of assuming.
Agent eval. Ten UI tasks from a real calendar/mail app (event form, delete confirmation, outline danger
button, invalid field, toolbar, status badges, settings switches, dark mode, brand color, exact spacing). A fresh
agent wrote each page with only temper's llms.txt and llms-full.txt as context; a grader then measured the
result in headless Chrome at 1024×768, in light and dark mode: colors, contrast, hue, alignment, sizes, gaps,
accessible names (82 checks per run). Re-run for 0.5, with the data-tm-* names:
| Runs (2 each) | Tasks fully correct | Checks passed | Classes used | Own CSS |
|---|---|---|---|---|
temper, with temper check |
20 / 20 | 164 / 164 | 0 | two tokens on :root (brand task) |
| temper, without the checker | 20 / 20 | 164 / 164 | 0 | the same |
Three of the four runs first missed one check: they set Start and End side by side, as temper's form recipe does, and the grader wanted one column. The check now asks that each row of fields start at one x (a ragged form still fails), which is what it was meant to test. The checker found nothing to fix in either run with it, so here the vocabulary carries the result and the checker is the safety net.
The harness, the agents' pages and a reference solution are in scripts/agent-eval/, so
the numbers can be rerun. An earlier version of the same tasks (with the unprefixed names; that harness was not
kept) also compared Pico CSS (11 / 20) and daisyUI (10 / 20); their misses were things a reader won't spot in code
review: button text below WCAG contrast in dark mode, an "outline danger" button that came out blue, badges with
unreadable text, an icon button that wasn't square. It's a small sample: 10 tasks × 2 runs.
A real migration. caley, a calendar, mail and contacts app, was moved from Pico CSS to temper page by page: contacts, mail, calendar, search, settings and login, including the Svelte components they share. A coding agent did the work from the docs, in four steps.
| Pico | temper | |
|---|---|---|
| App CSS (SCSS and component styles) | about 4,750 lines | about 210 lines |
| CSS shipped to the contacts page (gzip) | about 15.8 KB | 6.5 KB |
| Pico in sources or build output | everywhere | none |
| Inspector errors on the six pages | 0 |
What's left in the app is mostly inline custom properties like style="--tm-min: 13rem" and a few
app-specific rules. The navigation rail with collapse and phone drawer, avatars, clickable cards,
dropdown menus and checklists, the combobox, calendar grids and event chips, tabs and list rows,
dialogs and the floating action button all come from the library. For comparison, a separate Pico
rewrite of the contacts page alone still needed 134 lines of custom CSS. Every gap the migration hit
went back into the library or its docs; the ranked list is in
docs/backlog-from-caley.md.
Tests keep the docs honest. npm test asserts that every attribute and value in vocab.json
has a CSS selector and every selector has a vocab entry, that every documented token is declared,
and that llms.txt, llms-full.txt and html-custom-data.json are regenerated from vocab.json
and not stale. Docs, editor autocomplete and the checker can't drift apart from the CSS.
Contrast is checked for every hue. npm run contrast sweeps the accent hue 0–360 in light and
dark mode, lets headless Chrome resolve the real tokens, and checks WCAG AA for every text and
background pair (4.5:1 for text and solid buttons, 3:1 for the focus ring and scrollbar thumbs). All hues pass at the
default chroma. npm test runs the same check for the default look and the two theme examples.
Visual regression tests. npm run visual screenshots the kitchen-sink pages in 37 states (light and
dark, compact density, phone width, both theme examples, open menus, a scrolled dialog, side and bottom
sheets, the drawer) and compares them pixel by pixel with baselines in test/visual/. A change writes a diff
image with the changed pixels in red. Baselines depend on fonts and the Chrome version, so they are
compared on the machine that made them; npm run visual -- --update accepts an intended change.
Size budgets are enforced. npm run build fails above budget: core.css 6.8 KB, icons.css 2.8 KB, expressive.css 2.1 KB, all.css 14.9 KB, every other file 1.5 KB (brotli). Right now core.css uses 100 % of its budget, icons.css 97 %, expressive.css 98 % and all.css 98 %, so real growth means raising a budget on purpose (in scripts/build.mjs). npm test checks this paragraph and the table against a real build; npm run gen rewrites them.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.