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

@skra/tokens

Latest version: v0.13.0

Overview

Last scanned
27 Nov 2026
Published
27 Nov 2026
npm package Publisher: bar-bad
17 Versions
2.0K Downloads

Scan summary

@skra/tokens was last scanned on 27 Nov 2026 at version 0.13.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 17 versions; the latest 5 were published within 5 days (23–27 Nov 2026).
  • Findings: No rules fired in version 0.13.0.
  • Downloads: 2,038 downloads.

Versions

17 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.13.0 LATEST 27 Nov 2026 No rules fired
0.12.1 26 Nov 2026 No rules fired
0.12.0 25 Nov 2026 No rules fired
0.11.2 23 Nov 2026 Not shown
0.11.1 23 Nov 2026 Not shown

No rules fired in 0.13.0

Findings

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

README

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

@skra/tokens

Project status — built primarily for the author's own applications and published quietly. No support, roadmap, or stability guarantees beyond the documented SemVer contract. Licensed under Apache-2.0 (see LICENSE / NOTICE).

Skra Design System token artifacts — the value half of the product (@skra/ui is the component half). Framework-agnostic: every file is plain CSS (shipped with a .scss extension so it drops into Sass pipelines verbatim) or JSON. No JavaScript, no framework coupling.

Versioned in lockstep with @skra/ui and @skra/shadow-dom-bridge; @skra/ui declares a peerDependency on this package so a component/token version skew is uninstallable.

Layout

<skin>/                  Per-skin artifacts (published skins only)
  _theme.scss            ref + sys value layer → :root
  _comp.scss             comp defaults → :where(:root, :host)
  _theme.dark.scss       dark scheme → [data-skra-color-scheme="dark"]
  _density.compact.scss  density overrides → [data-skra-density="compact"]
  _density.comfortable.scss
  _baseline.scss         opt-in document baseline → [data-skra-baseline]
  _form-controls.scss    cross-encapsulation residual slice (if the skin ships one)
  _overlay.scss          top-layer slice: ::backdrop + scroll-lock (if the skin ships one)
  utilities.scss         utility classes (skra-sr-only, …) (if the skin ships one)
  *.scoped.scss          runtime-scoped coexistence artifacts → [data-skra-skin="<skin>"]
  skin.config.json       skin metadata (fonts incl. loading sources, defaults, profile)
overlays/                Skin overlay presets → [data-skra-overlay="<name>"] (ADR 029)
manifests/<component>.json  Consumer Token API — skin-surface.json manifests (ADR 029 §3.2)

Usage

Load the value layers into your global stylesheet, in this order. Every layer is plain CSS — it declares no Sass members — so load each one with *`@use … as `**:

@use 'pkg:@skra/tokens/skra/_theme.scss' as *;
@use 'pkg:@skra/tokens/skra/_comp.scss' as *;
@use 'pkg:@skra/tokens/skra/_theme.dark.scss' as *; // opt-in dark scheme
@use 'pkg:@skra/tokens/skra/_baseline.scss' as *; // opt-in document baseline
@use 'pkg:@skra/tokens/skra/_form-controls.scss' as *;
@use 'pkg:@skra/tokens/skra/_overlay.scss' as *;
@use 'pkg:@skra/tokens/skra/utilities.scss' as *;
@use 'pkg:@skra/tokens/skra/_density.compact.scss' as *; // opt-in runtime densities
@use 'pkg:@skra/tokens/skra/_density.comfortable.scss' as *;

Three things about that snippet are load-bearing. Skipping any of them fails the first build, with a message that names Sass rather than Skra:

*1. `as is required, not stylistic.**@usederives a namespace from the file name, so _theme.scssandtheme.dark.scssboth want the namespacetheme` and Sass aborts with "There's already a module with namespace 'theme'"_. The same collision hits _density.compact / _density.comfortable and every .scoped pair. Because the layers define no Sass members — only CSS custom properties — there is nothing for a namespace to disambiguate, and as * is free.

2. pkg: resolves the package without build config. The Sass package importer reads this package's exports map directly. It is enabled by default in the Angular CLI / @angular/build, Vite, and sass ≥ 1.78 when the importer is registered.

If your toolchain does not wire the package importer, drop the pkg: prefix and put node_modules on the load path instead — the layer set and order are identical:

// angular.json / project.json — build target options
"stylePreprocessorOptions": { "includePaths": ["node_modules"] }
@use '@skra/tokens/skra/_theme.scss' as *; // bare specifier + includePaths
sass --load-path=node_modules styles.scss   # CLI equivalent

3. @import is not supported. Dart Sass has deprecated @import and will remove it; earlier versions of this README showed it. Use @use as above.

Runtime switches are plain DOM attributes: data-skra-color-scheme="dark", data-skra-density="compact|comfortable", data-skra-overlay="<preset>", and — for multi-skin coexistence via the *.scoped.scss artifacts — data-skra-skin="<skin>".

Manifests

manifests/<component>.json is the machine-readable Consumer Token API contract per component: which --skra-comp-* tokens are public override targets, their types, constraints, and permitted tiers. Tokens absent from a manifest are private regardless of technical overridability.

A token whose manifest entry carries scopedBy (e.g. ["intent", "emphasis"]) is re-bound by the component for each variant, so overriding its canonical name from an ancestor is a silent no-op. Target the per-variant hook instead: --skra-comp-<component>-<axis>-<intent>-<emphasis> (e.g. --skra-comp-alert-focus-ring-color-danger-high). Became variant-scoped in 0.7: --skra-comp-button-loading-indicator-color and the focus-ring-color of alert, toast and chip.

Private skins

Only skins marked "publishable": true in their skin.config.json are included in this package. Brand/client skins are distributed separately (see the Skra skin-distribution ADR, forthcoming).

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 @skra/tokens

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 (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Frame 2085668439 (1)
Group 1261154229