Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@puzzle-ui/theme

Latest version: v0.19.1

Overview

Last scanned
24 Nov 2026
Published
24 Nov 2026
npm package Publisher: senorprogramador
0 Stars
0 Forks
21 Versions
4.3K Downloads
TypeScript Repo language

Scan summary

@puzzle-ui/theme was last scanned on 24 Nov 2026 at version 0.19.1. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 21 versions; the latest 5 were published within 4 days (21–24 Nov 2026).
  • Findings: No rules fired in version 0.19.1.
  • Downloads: 4,312 downloads.

Versions

21 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.19.1 LATEST 24 Nov 2026 No rules fired
0.19.0 24 Nov 2026 No rules fired
0.18.0 23 Nov 2026 No rules fired
0.17.0 22 Nov 2026 Not shown
0.16.0 21 Nov 2026 Not shown

No rules fired in 0.19.1

Findings

Findings for v0.19.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.19.1; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

@puzzle-ui/theme

Design tokens, color themes, typography, fonts, and theme scoping for Puzzle.

Documentation: https://puzzle-ui.com/docs/theme

See the theme documentation for API maturity and compatibility details.

@puzzle-ui/theme is the source of truth for Puzzle's visual design. Its Theme provider turns a typed token object into CSS custom properties (--puzzle-*), loads configured fonts, resolves light, dark, and system color schemes, and can scope a theme to the whole document or a single subtree. All @puzzle-ui/ui components consume these variables, so a single provider styles your application.

Install

npm install @puzzle-ui/theme
# or
bun add @puzzle-ui/theme
# or
pnpm add @puzzle-ui/theme
# or
yarn add @puzzle-ui/theme

React and React DOM 19 are peer dependencies.

Usage

Wrap your application once at the root:

import { Theme } from "@puzzle-ui/theme";

export const App = () => (
  <Theme>
    <YourApp />
  </Theme>
);

Customize the color scheme, color theme, fonts, and tokens:

<Theme
  theme="system"
  colorTheme="cobalt-sky"
  fonts={{
    heading: { family: "Sora" },
    body: { family: "Inter" },
  }}
  tokens={{
    radius: { md: "0.5rem" },
  }}
>
  <YourApp />
</Theme>

COLOR_THEMES is the read-only registry of built-in color themes. Its keys are the identifiers accepted by Theme's colorTheme prop, and each value contains the actual light colors and dark-mode brand overrides:

import { COLOR_THEMES } from "@puzzle-ui/theme";

const presets = Object.entries(COLOR_THEMES);

When colorTheme is omitted, Theme uses its package defaults. The DEFAULT_COLOR_SCHEME export exposes those default light and dark color values for tools that need to preview them without defining a second palette.

THEME_TOKEN_REGISTRY provides read-only metadata for every non-color token and named typography-role value, including its default and generated CSS variable. It is intended for tools that need to inspect or edit supported tokens without duplicating the package's token definitions:

import { THEME_TOKEN_REGISTRY } from "@puzzle-ui/theme";

const spacing = THEME_TOKEN_REGISTRY.filter(
  (token) => token.group === "spacing",
);

Features

Area Description Docs
Theme provider Injects token CSS variables, loads fonts, and applies global styles at root or local scope. Theme Provider
Design tokens Typed token groups for spacing, radius, shadows, elevation, borders, layout, motion, and z-index. Design Tokens
Colors Semantic color roles, light/dark color schemes, and built-in color themes. Colors
Typography and fonts Named typography roles, fluid font sizes, Google Fonts, and self-hosted fonts. Typography and Fonts
Breakpoints Shared responsive breakpoints for JavaScript and CSS. Breakpoints
Component overrides Global link and image components for router and framework integration. Component Overrides

Self-host fonts with the theme CLI

The @puzzle-ui/theme package includes the puzzle-theme executable. It requires Node.js 20.19 or later.

npm install @puzzle-ui/theme
npm exec -- puzzle-theme --help

Create puzzle-fonts.json in your application's working directory:

{
  "body": {
    "family": "Inter",
    "weights": [400, 700]
  }
}

Download the fonts with either package manager:

npm exec -- puzzle-theme fonts download
# Or, with the package installed using Bun:
bun run puzzle-theme fonts download

The command writes WOFF2 files and puzzle-fonts.css to public/fonts. Use --config <path> or --out-dir <path> to change these locations. Unchanged downloads are skipped; --force downloads them again.

For variable fonts, use "weightRange": [300, 700] instead of weights to request a continuous range. Only use ranges supported by the font family. Discrete weights remain supported; when both are provided, the range is used.

The downloader keeps all language subsets by default. Pass --subsets latin,latin-ext to retain only Latin and Latin Extended; missing requested subsets produce an error. Other scripts will use fallback fonts. Subset choices are included in the download cache key.

To load the generated stylesheet, set fontSource="local" on Theme and pass the same configuration to its fonts prop. The default local stylesheet URL is /fonts/puzzle-fonts.css.

When using local fonts, Puzzle automatically preloads the normal Latin variant of the body font. Use fontPreload="heading" or fontPreload="accent" to preload another configured role, or fontPreload={false} to disable preloading.

The generated stylesheet and preload link use the same font URL, avoiding duplicate downloads. Preloading only applies to local fonts and only one font is preloaded per Theme instance.

With a Nitro server, such as TanStack Start with nitro/vite, pass createFontRouteRules() from @puzzle-ui/theme/nitro to routeRules. Versioned font files are then cached for a year as immutable, and puzzle-fonts.css and preload fonts for a day with background revalidation:

import { nitro } from "nitro/vite";
import { createFontRouteRules } from "@puzzle-ui/theme/nitro";

nitro({ routeRules: createFontRouteRules() });

Related packages

OX Radar and Response Center

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.

Where it’s listed

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

  • npm @puzzle-ui/theme

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

PHP2Shell, Day 5 93.6% of Measurable Instances Still Unpatched (1)
Vulnerability Insights

PHP2Shell, Day 5: The Panic Hasn’t Turned Into Patching

Vulnerability Insights

Compromised Claude Code extensions (versions 2.1.312 & 2.1.313) in Cursor try to install a backdoor

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Frame 2085668439 (1)
Group 1261154229