Scan your whole stack
From OX Research Newsroom
Are you using @uni-helper/design?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.1.1
@uni-helper/design was last scanned on 27 Nov 2026 at version 0.1.1. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.1.1 LATEST | 27 Nov 2026 | No rules fired |
| 0.1.0 | 27 Nov 2026 | No rules fired |
| 0.0.0-stage | 27 Nov 2026 | Not shown |
Findings for v0.1.1. 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.1.1; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
English | 中文
The design system for uni-helper. Neutral zinc surfaces, Geist type, brand-green marks, light and dark themes, and 30+ CSS primitives for documentation, websites, and developer tools.
pnpm add -D @uni-helper/design
Or copy the files you need from this repository. The CSS has no build step and no runtime dependencies.
Load the token sheet, the component sheet, and optionally the behavior file:
<!doctype html>
<html lang="zh-CN" data-theme="light">
<head>
<script>
try {
const theme = localStorage.getItem("uh-theme");
if (theme === "light" || theme === "dark") document.documentElement.dataset.theme = theme;
} catch {}
</script>
<link rel="stylesheet" href="node_modules/@uni-helper/design/tokens.css" />
<link rel="stylesheet" href="node_modules/@uni-helper/design/components/components.css" />
<script src="node_modules/@uni-helper/design/components/components.js" defer></script>
</head>
<body>
<button class="uh-btn uh-btn--default" type="button">新建项目</button>
<span class="uh-badge uh-badge--secondary">Beta</span>
</body>
</html>
data-theme accepts light or dark. The .dark class is also supported for Nuxt UI compatibility. When neither is set, the system follows prefers-color-scheme; an explicit choice always wins.
The inline script applies a stored choice before the first paint. Remove data-theme from <html> if the page should follow the system preference instead.
components.js is optional. It powers the theme toggle (data-theme-toggle), tabs, dialogs (data-dialog-open), toasts (data-toast-trigger), and code copy (data-copy-target).
tokens.json is the only source of truth. tokens.css, the integration files, the DESIGN.md frontmatter, and the Skill assets and references are generated from it.
--background, --foreground, --card, --card-foreground
--primary, --primary-foreground, --secondary, --muted, --accent
--border, --border-strong, --input, --ring
--link, --brand-text, --brand-cta
--brand, --brand-deep, --brand-mint, --brand-soft
--info, --success, --warning, --error
--space-1 ... --space-24
--radius-sm ... --radius-full
--shadow-sm, --shadow, --shadow-lg
--font-sans, --font-mono
Type classes use the uh-type-* prefix: uh-type-display, uh-type-heading-1 to uh-type-heading-4, uh-type-body, uh-type-small, uh-type-nav, uh-type-label, uh-type-field-label, uh-type-code, uh-type-kbd. Chinese text gets its own line height and zero tracking through :lang(zh).
See docs/tokens.md for every token and DESIGN.md for the rules.
Load components/components.css after tokens.css. Use the classes directly; the full markup lives in docs/components.md and the gallery in components/index.html.
| Family | Classes |
|---|---|
| Layout | uh-stack, uh-row, uh-container, uh-grid |
| Actions | uh-btn, uh-link, uh-ihb |
| Labels | uh-badge, uh-kbd |
| Forms | uh-field, uh-input, uh-select, uh-textarea, uh-checkbox, uh-radio, uh-switch |
| Feedback | uh-alert, uh-toast, uh-spinner, uh-skeleton, uh-empty |
| Navigation | uh-tabs, uh-breadcrumb, uh-pagination, uh-sidebar, uh-nav-item, uh-toc |
| Content | uh-card, uh-table, uh-prose, uh-code-block, uh-separator |
| Overlay | uh-dialog |
Keep the fonts beside the CSS. If you copy tokens.css to another folder, update the two @font-face URLs.
@import "tailwindcss";
@import "@uni-helper/design/tailwind.css";
This exposes bg-background, text-muted-foreground, border-border-strong, rounded-lg, shadow-sm, max-w-page, and the 4px spacing scale.
@import "tailwindcss";
@import "@nuxt/ui";
@import "@uni-helper/design/nuxt-ui.css";
The bridge maps Nuxt UI surfaces, borders, text, radii, container, header height, status colors, and chart slots to uni-helper tokens. Set primary and neutral to zinc in app.config.ts so the palettes that remain outside the bridge match the system:
export default defineAppConfig({
ui: {
colors: { primary: "zinc", neutral: "zinc" },
},
});
@import "tailwindcss";
@import "tw-animate-css";
@import "shadcn/tailwind.css";
@import "@uni-helper/design/shadcn-ui.css";
Run pnpm dlx shadcn@latest init -b base, then delete the theme blocks and the generated Geist font import that init writes. The bridge maps the sidebar colors and radius to the design tokens. See docs/integration.md for the Base UI dialog example.
Read docs/integration.md for theme switching, migration from HSL variables, and the full mapping.
| Path | What it is |
|---|---|
tokens.json |
The only value source. |
tokens.schema.json |
JSON Schema for the token file. |
tokens.css |
Generated CSS variables, type classes, and font faces. |
components/components.css |
The component and layout styles. |
components/components.js |
Optional theme, tabs, dialog, toast, and copy behavior. |
components/index.html |
A gallery of every primitive in light and dark mode. |
integrations/ |
Tailwind v4 and Nuxt UI v4 bridges. |
docs/ |
Token, component, and integration references. |
skills/uni-helper-design/ |
A self-contained Agent Skill with tokens, components, fonts, icons, and logos. |
assets/ |
Logos, a 24-icon sprite, and the social card. |
scripts/ |
The build and release scripts. |
tests/ |
Design and component behavior tests. |
skills/uni-helper-design/ is a self-contained Agent Skill. Copy the folder into your agent's skills directory. It carries its own tokens.css, components.css, components.js, fonts, icons, and logos, so it works without the rest of this repository.
pnpm build # regenerate CSS, integrations, docs, frontmatter, and the Skill
pnpm check # format, lint, and type-check with Vite+
pnpm fix # apply formatting and safe lint fixes
pnpm test # Vitest design and component tests
The repository pins Node 26 in .node-version. The published package supports Node ^22.12 or >=24. Vite+ needs Node ^22.18, ^24.11, or >=26.
Generated files keep the generator's format. pnpm test checks that they match it.
Do not edit generated files by hand. Change tokens.json, docs/components.md, components/components.css, components/components.js, or the scripts, then run pnpm build and pnpm test.
Run pnpm check and pnpm test after pnpm release and before publishing or pushing. The Release workflow does not run checks.
Publish the first version manually:
pnpm release. It bumps the version, regenerates the token files and the Skill, updates CHANGELOG.md, commits, and creates a v* tag. It does not push or publish.npm publish --access public.git push --follow-tags
The Release workflow creates the GitHub release and skips npm because 0.1.0 is already published.
Run pnpm release, then git push --follow-tags. The Release workflow publishes to npm and creates the GitHub release.
--primary is ink. The default primary button is not green. --brand-cta is an opt-in exception.prefers-reduced-motion.The system, code, and documentation are MIT licensed. Geist and Geist Mono are licensed under the SIL Open Font License 1.1; see fonts/LICENSE.txt. The uni-helper marks are trademarks of the uni-helper project. See assets/logos/README.md before use.
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.