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

@aios-alpha/design

v0.6.0

Published

AIOS unified design system — DTCG tokens, CSS variables, Tailwind v4 theme, Pencil variables, and the canonical brand assets (caret-A mark, wordmark, lockups). Editorial Minimal direction: greyscale chrome, Instrument typography, colour rationed to badges

Downloads

10,301

Readme

@aios-alpha/design

The one design system for every AIOS surface — website, team brain, workspace GUI, and every scaffolded workspace. Editorial Minimal direction: dual-mode, greyscale chrome, Instrument typography, colour rationed to badges and data viz.

| Package | What it ships | |---------|---------------| | @aios-alpha/design (this repo root) | DTCG tokens → dist/tokens.css, dist/tailwind-theme.css, the brand assets → dist/brand/*.svg, and DESIGN.md | | @aios-alpha/ui (react/) | shadcn-based React components themed through the token bridge |

  • DESIGN.md — pinned design contract (like brain-api.md for sync). Read this before building UI.
  • tokens/*.json — DTCG source of truth. Edit here, then rebuild.
  • brand/src/*.json — logo geometry source of truth. The one AIOS logo lives here; see DESIGN.md § Brand & Logo.
  • dist/ — generated by npm run build (build:tokens + build:brand); gitignored, CI rebuilds before publish.

Prerequisites

  • Node — for the token + React build below.

  • Git LFS — the Pencil design source (aios-design.pen, a ~2 MB binary) is tracked via Git LFS, not plain git. Install it once per machine before cloning so the file materializes instead of leaving a small text pointer:

    git lfs install                                       # once per machine
    git clone [email protected]:AIOS-alpha/aios-design.git

    Already cloned before installing LFS? Run git lfs install && git lfs pull. See PENCIL.md for opening the file.

Build

npm install
npm run build            # regenerates dist/ (tokens + brand assets)

cd react && npm install && npm run build   # compiles @aios-alpha/ui to react/dist/

Consume in another repo

Install the Design contract patch with the compatible UI package:

npm install @aios-alpha/design@^0.6.0 @aios-alpha/ui@^0.6.0

Tailwind v4 app — global stylesheet, in this order:

@import "@aios-alpha/design/tokens.css";
@import "@aios-alpha/design/tailwind-theme.css";
@import "tailwindcss";
@source "../node_modules/@aios-alpha/ui/dist";
@custom-variant dark (&:where(.dark, .dark *));

Self-host fonts (no Google CDN):

@import "@fontsource/instrument-serif/400.css";
@import "@fontsource/instrument-sans/400.css";
@import "@fontsource/instrument-sans/500.css";
@import "@fontsource/instrument-sans/600.css";
@import "@fontsource/instrument-sans/700.css";
@import "@fontsource/jetbrains-mono/400.css";

Then use bridge utilities (bg-background, text-foreground, bg-primary, text-violet, font-display, rounded-full, …). Toggle dark mode with class="dark" on <html>.

React components:

import { Button, TierBadge, AiosLogo, AiosMark, KpiStat } from "@aios-alpha/ui";

Brand assets — one monochrome logo, shipped as files for non-React surfaces:

/* currentColor: inherits ink, flips with the theme. Inline it or use it as a mask. */
.logo { mask: url("@aios-alpha/design/brand/aios-lockup.svg") center / contain no-repeat; }

aios-lockup.svg (default) · aios-lockup-stacked.svg · aios-mark.svg · aios-wordmark.svg, each also as -black.svg / -white.svg for <img>, print, and video where currentColor cannot resolve. aios-mark-prism.svg is the gradient mark (≥48px), and aios-lockup-display-white.svg / -black.svg (plus the stacked pair) put that gradient mark beside a single-ink wordmark — brand artwork only (social cards, covers, decks, merch, video), never product UI. Read DESIGN.md § Brand & Logo before using any of them.

Astro / Starlight — import tokens.css and map --aios-* onto Starlight's --sl-* (see aios-website).

Raw CSS (no Tailwind) — import tokens.css and use var(--aios-*) directly.

Semantic tokens (0.5.0 contract; unchanged 0.3.0 token values)

| Token | Use for | |-------|---------| | --aios-primary | Pill buttons, active tabs (near-black light / white dark) | | --aios-violet | Brand mark, team/deliverable badges, link accents | | --aios-accent | Lime — live status, checks, rationed affirmative actions | | --aios-emerald/amber/cyan/fuchsia | Kind/tier badges, KPI sparklines |

0.3.0 also adds a per-mode effects layer — card-glow shadows (--aios-shadow-glow-card* / -featured*) and liquid-glass tokens (--aios-glass-*, --aios-blur-glass*) — see the "0.3.0 — Effects layer" section in DESIGN.md.

0.3.1 does not change token values. It aligns both @aios-alpha/design and @aios-alpha/ui with the packaged contract version, makes the UI ESM entry directly importable by Node, and narrows the consumer-colour exception policy.

Upgrading from 0.3.x — one visual breaking change

Token values, CSS variables, and the Tailwind bridge are unchanged across 0.4.0 and 0.5.0, so a stylesheet-only consumer upgrades with no work. The one break is in @aios-alpha/ui:

  • AiosMark flipped its default in 0.4.0. It used to render the prism gradient; it now renders currentColor. Pass prism to get the gradient back. The old mono prop is accepted and ignored, so <AiosMark mono /> still renders correctly — but a bare <AiosMark /> that used to be colourful is now monochrome. This changes rendered output without a type error, so it will not show up in a typecheck; look at the screen.
  • If you were loading aios-mark-mono.svg from a consuming repo's own assets, the canonical equivalent is @aios-alpha/design/brand/aios-mark.svg (currentColor) or aios-mark-white.svg.

If that monochrome mark is wrong for your surface, you are probably rendering brand artwork rather than UI — see the display lockup above.

0.6.0 does not change token values, CSS variables, the Tailwind bridge, brand assets, or any component API. It relicenses the packages from MIT to Apache-2.0 and ships as a major version for that reason alone — see CHANGELOG.md and LICENSING.md. Upgrading from 0.5.0 is a version-string change and nothing else.

0.5.0 does not change token values. It splits the logo rule by context: product UI and chrome stay strictly monochrome, while brand artwork may use the new display lockup (prism mark + single-ink wordmark). The wordmark is never coloured in either context. See "0.5.0 — UI vs brand artwork" in DESIGN.md.

0.4.0 does not change token values either. It gives the design system ownership of the logo: one monochrome lockup, published as @aios-alpha/design/brand/* and as AiosLogo in @aios-alpha/ui, replacing the six inconsistent marks that were in circulation. The prism gradient is now bare-mark-only. See "0.4.0 — Brand & logo contract" in DESIGN.md.

Migrating from 0.1.x

  • Fonts: Space Grotesk + Plus Jakarta Sans → Instrument Serif + Instrument Sans.
  • Buttons: violet glow pills → near-black/white editorial pills (primary token changed).
  • Badges: team/deliverable now use violet token, not primary.
  • Local CSS bridges: if you alias --accent to --aios-primary, split — buttons stay on primary, link/highlight washes move to --aios-violet.

Light vs dark

Light is :root. class="dark" on <html> swaps color values; type, spacing, and radius are mode-independent.

Pencil prototyping

dist/tokens.pencil.json holds flat token maps for the Pencil MCP set_variables call. See PENCIL.md.

License

Apache-2.0 — see LICENSE and LICENSING.md.

Permissive on purpose. This is meant to be embedded in your interfaces, including commercial and closed-source ones. Keep the license and copyright notices, state what you changed, and it's yours to use.

Versions published at 0.5.0 and earlier were MIT and remain MIT — see LICENSE-MIT and CHANGELOG.md. The relicense is going-forward only, and it ships as a major version precisely so it isn't a surprise.

The AIOS server is AGPL-3.0 while this is Apache-2.0; that split is deliberate, and LICENSING.md explains it.