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

@citron-systems/citron-ds

v1.0.4

Published

Inkblot Studio design token system — Apple-inspired, accessible, AI-ready. Citron design language.

Readme

Citron Design System

Package: @citron-systems/citron-ds · Studio: Inkblot Studio

Design tokens — Apple-inspired, accessible, AI-ready. Warmly minimal, quietly distinctive.

Brand accent (Citron 500): #c4a030. Mascot and lockups ship as SVG under brand/ (see Brand assets).

npm License: MIT GitHub

Repository · npm


Install

npm install @citron-systems/citron-ds

CDN (no build step)

<link rel="stylesheet" href="https://unpkg.com/@citron-systems/citron-ds/dist/css/inkblot-variables.css">

Quick Start

CSS (recommended)

@import '@citron-systems/citron-ds/css';

.button {
  background: var(--inkblot-semantic-color-interactive-primary);
  color: var(--inkblot-semantic-color-text-inverse);
  padding: var(--inkblot-spacing-3) var(--inkblot-spacing-6);
  border-radius: var(--inkblot-radius-lg);
  font-weight: var(--inkblot-typography-font-weight-medium);
  min-height: var(--inkblot-size-touch-target-min);
  transition: all var(--inkblot-duration-fast) var(--inkblot-easing-default);
}

SCSS

@use '@citron-systems/citron-ds/scss' as *;

.card {
  background: var(--inkblot-semantic-color-background-secondary);
  border: 1px solid var(--inkblot-semantic-color-border-default);
  border-radius: var(--inkblot-radius-xl);
  padding: var(--inkblot-spacing-6);
}

JavaScript / ESM

import {
  InkblotColorAccentCitron500,
  InkblotSpacing4,
  InkblotRadiusLg,
} from '@citron-systems/citron-ds';

// Use in JS-driven styling (e.g. React inline, Canvas, etc.)
const styles = {
  backgroundColor: InkblotColorAccentCitron500,
  padding: InkblotSpacing4,
  borderRadius: InkblotRadiusLg,
};

JSON (for tooling, build scripts, AI)

import tokens from '@citron-systems/citron-ds/tokens';
// Flat resolved values: { "inkblot.color.accent.citron.500": "#c4a030", ... }

Package exports

| Import path | Contents | |-------------|----------| | @citron-systems/citron-ds | ESM JS tokens (default) | | @citron-systems/citron-ds/css | CSS variables (:root) | | @citron-systems/citron-ds/scss | SCSS variables | | @citron-systems/citron-ds/tokens | Flat JSON (resolved values) | | @citron-systems/citron-ds/ai-reference | AI agent reference (token map, patterns, rules) | | @citron-systems/citron-ds/brand/citron-mascot.svg | Citron mascot (full color; optional --citron-mascot-fill) | | @citron-systems/citron-ds/brand/citron-mascot-mono.svg | Mascot lockup (currentColor) | | @citron-systems/citron-ds/bundle | Bundle entry (dist/bundle/README.md) | | @citron-systems/citron-ds/bundle/* | Resolved tokens, CSS/SCSS bundles, system JSON, etc. | | @citron-systems/citron-ds/preview/mascot.html | Static mascot preview page |


Brand assets

Source SVGs live in assets/brand/; npm run build copies them into dist/brand/ for publishing. Import from the package as in the table above, or copy from dist/brand/ in a checkout.

| File | Use | |------|-----| | citron-mascot.svg | Full-color mark (#c4a030 citron 500) | | citron-mascot-mono.svg | Single-color / currentColor lockups |

GitHub (maintainers): For Social preview (Settings → General), use any 1280×640 image you export yourself (PNG) from the mascot or your own layout — GitHub does not reliably show SVG in README <img> tags. For the repo or org avatar, citron-mascot-mono.svg stays readable at small sizes.


CLI

The citron-mascot binary prints the ASCII Citron mascot (with a short color animation in supported terminals).

From a project that already depends on this package:

npx citron-mascot

One-off without adding a dependency:

npx --package=@citron-systems/citron-ds citron-mascot

Principles

  • Radical Clarity — One correct interpretation per rule. No ambiguity.
  • Composable Independence — Every component is self-contained and works in isolation.
  • Universal Access — WCAG AAA. 7:1 contrast. 44px touch targets. Full keyboard nav.
  • AI-First — Every token, component, and rule is machine-parseable JSON.
  • Deliberate Restraint — Minimum visual complexity. Every element earns its place.

Color modes

Light mode is default. Dark mode activates via:

  • [data-theme="dark"] on a parent element, or
  • prefers-color-scheme: dark (system preference)

For AI agents

Primary reference (include in context): @citron-systems/citron-ds/ai-reference

  • CSS variable map for all semantic tokens
  • Composite patterns (form, card, modal, table, list item)
  • Breakpoints, grid, easing (in CSS format)
  • Icon semantics, CSS snippets, component spacing
  • Validation and ARIA patterns

Rule: Always use semantic tokens (var(--inkblot-semantic-color-*)), never primitives.


Standards


Development

git clone https://github.com/Inkblot-Studio/citron-ds.git
cd citron-ds
npm install
npm run build
npm run dev        # Live preview at localhost:5173
  • npm run build — Style Dictionary outputs plus copy steps for brand assets, mascot preview, and desktop bundle (dist/).
  • prepublishOnly runs npm run build before npm publish.

Publish note (maintainers)

If you publish with npm provenance from GitHub Actions, package.json repository.url must point at the same GitHub repository as the workflow (otherwise the registry returns 422 provenance validation errors). Run npm pkg fix if npm warns about normalized fields during publish.


Deploy preview to Vercel

  1. Push to GitHub and import the repo in Vercel.
  2. Vercel will auto-detect the build from vercel.json.
  3. Deploy — the preview site will be live.

Or deploy from the CLI:

npm install -g vercel
npm run build:deploy
vercel --prod

License

MIT © Inkblot Studio