npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@eamonxg/luci-theme-tokens

v2.0.0

Published

Design-token toolkit for eamonxg's LuCI themes: OKLCH derivation engine (mix/shade/set/alpha/const), CSS emission helpers, the Aurora token model, and prebuilt dist artifacts (tokens.css, browser global, shell conf, resolved presets).

Readme

@eamonxg/luci-theme-tokens

Design-token toolkit for eamonxg's LuCI themes: an OKLCH derivation engine, CSS emission helpers, the Aurora token model, and prebuilt dist artifacts.

Entry points

  • /engine — the mechanism, theme-agnostic: five OKLCH operators (mix / shade / set / alpha / konst, plus toOklch) and createResolver, which binds a DERIVATIONS spec (your own or Aurora's) to a resolveTokens(mode, inputs) function.
  • /emit — CSS building blocks shared by theme token generators: kebab (snake_case → kebab-case), block (selector + token maps → a :root { ... } body, deliberately left unclosed for callers to extend), and themeColors (keys → Tailwind @theme inline --color-* mappings).
  • /aurora — the Aurora theme's own identity: DERIVATIONS / FIXED (spec), DEFAULTS (default palette), STRUCTURE / THEME_STRUCTURE (non-colour tokens), PRESETS (named palettes), and resolveTokens / resolveMode, the engine pre-bound to Aurora's spec.

dist/aurora/

Built by node build.mjs (also runs on prepublishOnly); dist/ itself is gitignored, not committed.

| Artifact | Consumer | |---|---| | tokens.css | luci-theme-aurora @imports it directly as the theme's _tokens.css. | | tokens.global.js | luci-app-aurora-config vendors it as a browser IIFE (AuroraTokens global; expects a Color global from colorjs.io) for its live-preview theme editor. | | color-tokens.conf | Vendored by luci-app-aurora-config: the ordered shell key list its rpcd backend reads for preset/import validation. | | presets.json | Vendored by luci-app-aurora-config: named palettes fully resolved to runtime hex, in the same key order as color-tokens.conf. |

luci-theme-shadcn doesn't consume dist/; it imports /engine + /emit directly and binds its own DERIVATIONS spec, independent of the Aurora model.

Versioning

Independent semver. Removing/renaming a token or changing derivation semantics is major; adding a token is minor; value tweaks are patch.

Release

Tag vX.Y.Z (matching package.json) and push — CI tests and publishes with the repo's NPM_TOKEN secret.


Renamed from @eamonxg/aurora-tokens (≤1.3.1).