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

@keenmate/base-css-variables

Latest version: v2.3.0

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: benjaminhorne, ondrejvalenta, themaikxx
0 Stars
0 Forks
21 Versions
1.5K Downloads
HTML Repo language

Scan summary

@keenmate/base-css-variables was last scanned on 29 Nov 2026 at version 2.3.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 21 versions; the latest 3 were published within 4 days (26–29 Nov 2026).
  • Findings: No rules fired in version 2.3.0.
  • Downloads: 1,546 downloads.

Versions

21 versions published
Versions and the rules that fired in each
VersionPublishedStatus
2.3.0 LATEST 29 Nov 2026 No rules fired
2.2.0 27 Nov 2026 No rules fired
2.1.0 26 Nov 2026 No rules fired
2.0.2 12 Nov 2026 Not shown
2.0.1 9 Nov 2026 Not shown

No rules fired in 2.3.0

Findings

Findings for v2.3.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 2.3.0; other versions have their own rules, not their own score.

README

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

@keenmate/base-css-variables

The shared --base-* token contract behind pure-admin and every Keenmate web component.

What is it

The shared base layer of CSS custom properties (--base-*) used by all Keenmate web components — web-multiselect, web-daterangepicker, web-grid, web-dropzone, web-treeview, svelte-treeview — and by @keenmate/pure-css / @keenmate/pure-admin-core, so an app and the components inside it share one theme.

Each component ships its own prefixed variables (--ms-*, --drp-*, --wg-*, …) that *cascade from these `--base-values**. Define the base layer once and every component picks up a consistent, coordinated theme. Override a single--base-*` variable and the change propagates everywhere.

What's New in v2.3.0

Upgrade guide: the 2.3.0 release notes; full list: the CHANGELOG 2.3.0 section.

  • Token — --base-focused-outline-color, a focus color that is readable with any primary — the focus ring used to be the raw primary, so a navy primary gave a ring of 1.4:1 in dark mode, and even the default blue was only 2.4:1 on a hovered row in dark mode; WCAG asks for 3:1. The new derived token moves the primary toward white (dark mode) or black (light mode) only as far as needed for 3:1 on every default surface, so a primary that already passes is unchanged. The step is exact because it is computed from luminance in linear sRGB, and dark mode first raises the OKLCH lightness, so the hue stays (navy becomes periwinkle, not grey). --base-focused-outline and --base-input-border-focus use it. Components should draw focus with --base-focused-outline, never with the raw primary or their own accent.
  • Focus — every focus mark is a solid 2px — in light mode the old focus looked like a faint shadow: a field only changed its 1px border from grey to blue (nearly the same lightness) behind a 5% halo, and buttons got a 1px hairline. --base-outline-width is now 2px, and a focused field gets a solid ring in the focus color outside its border (--base-input-box-shadow-focus), so border + ring make one 2px line with no layout shift. Rows get a 2px inset ring; buttons, links and checkboxes get a 2px outline. Components with a var(--base-outline-width, 1px) fallback should change it to 2px (the contract check reports it).
  • Tokens — --base-primary-text-color / --base-secondary-text-color held to 4.5:1 — the fixed mix (45% black in light mode, 25% white in dark mode) left a navy primary's links at 2.2–2.8:1 in dark mode. The mix stays, followed by the same contrast limit as the focus color. The default primary's dark-mode text is a shade lighter. These tokens now compute to color(srgb …) values, so compare colors by value, not by string.
  • Examples — new design note "Focus & primary text" — examples-contrast.html: pick a primary (navy, yellow, lime, …) and see the ring, a focused field, links and badges before and now in both modes, with contrast ratios; a form to Tab / Shift+Tab through (every field state, checkboxes, radios, buttons, a link); a 72-primary sweep (dark mode: 39 failing rings → 0, 31 failing texts → 0); and the fallback formula for components.

What's New in v2.2.0

Upgrade guide: the 2.2.0 release notes; full list: the CHANGELOG 2.2.0 section.

  • Token — --base-rem is 10px, so components have the same size on every page — the size multipliers (font sizes, spacing, radii, field heights) are written in 10px units, so 1.4 means 14px. Until now --base-rem was 1rem, which is 10px only where the root font size is 10px, as in pure-admin. On any other page, loading the contract made every component bigger than intended: 1.6× on the browser's default 16px root, 1.4× on a SharePoint page with a 14px root. The components were already right without the contract, because their own fallback is 10px. Now the contract agrees with them. pure-admin doesn't change: its root is 10px, so the sizes are identical. To make components follow the browser's font-size setting instead, set --base-rem: 0.625rem yourself on a page with a 16px root.

Earlier releases: 2.1.0 release notes · 2.0.2 release notes · CHANGELOG.

Demos & docs

  • Examples site — one page per feature, live with web-multiselect and web-treeview; in the GitHub repo (make dev → http://localhost:15300). Tour: docs/examples.md.
  • docs/usage.md — loading the stylesheet, how the tokens are organised, and base-contract-check / the parity test for components.
  • docs/theming.md — overriding tokens, inputs vs derived tokens, re-theming part of a page, light / dark, and the pure-css → pure-admin layer pipeline.
  • docs/variables.md — the complete --base-* reference.
  • docs/examples.md — the examples site and the shared checkbox render method.
  • docs/accessibility.md — contrast, focus and motion.

Install

npm install @keenmate/base-css-variables

Quick start

Import the stylesheet once, as early as possible (before the component styles):

import '@keenmate/base-css-variables/base-variables.css';

then override any input — every component and pure-admin follow:

:root {
  --base-primary-color: #e11d48;   /* rebrand every component's primary color */
}

More ways to load it and every token: docs/usage.md, docs/variables.md.

Browser support

The derived tokens use light-dark(), color-mix() and relative color syntax (oklch(from …)) — Chrome / Edge 119+, Safari 16.4+, Firefox 128+.

Upgrading from 1.x

2.0 renamed and removed tokens without aliases: an override that still uses a 1.x name (--base-accent-color, --base-color-3, --base-success-bg, …) is silently ignored and the default shows instead. Rename overrides with the table in the CHANGELOG (2.0.0-rc01 → Rename table), and upgrade the components together with this package — each one reads the 2.0 names from its matching release.

Related

  • @keenmate/theme-designer — visual theme designer & generator that produces --base-* values from 3 input colors. Not yet updated for 2.0 — it still emits the 1.x names.

About

Authored and maintained by Keenmate s.r.o.. The --base-* contract is what lets Keenmate components ship standalone with sensible light/dark defaults and still adopt the host's colors, typography, and sizing automatically: mounted inside Pure Admin — or any host that publishes the --base-* taxonomy via this package or @keenmate/theme-designer — they follow the host's theme. There is no runtime dependency on Pure Admin; the integration is opt-in via CSS variables.

Built with BlissFramework

This package follows the BlissFramework web-component guidelines.

License

MIT © Keenmate s.r.o.

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 @keenmate/base-css-variables

References

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

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

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

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

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Frame 2085668439 (1)
Group 1261154229