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

@honeycluster/gds

v0.1.0

Published

Global Design System: design tokens, theme CSS, and Tailwind integration for Honeycluster apps.

Readme

@honeycluster/gds

Global Design System: design tokens, theme CSS, and Tailwind integration for Honeycluster apps.

What’s in this package

  • Design tokens — Single source of truth (tokens.json) for colors, typography, spacing, etc.
  • Generated styles — Platform outputs (web CSS/SCSS/JSON, iOS, Android, styleguide) from the design build.
  • Tailwind theme — CSS layers and @theme definitions for use with Tailwind CSS (styles/tailwind/).
  • Build scripts — Style Dictionary config and runners for design tokens and theme CSS.

Build

From the package directory:

pnpm build

This will:

  1. Compile the TypeScript build scripts.
  2. Run the design build (web, iOS, Android, styleguide outputs from tokens.json).
  3. Run the Tailwind theme build (Dark.css, Light.css, Globals.css, theme.css).
  4. Format generated styles.

Outputs go under styles/ (e.g. styles/web/, styles/tailwind/, styles/ios/, styles/android/, styles/styleguide/).

Consuming the styles

Tailwind (recommended for web apps)

In your app’s root CSS:

@import '@honeycluster/gds/styles/tailwind/theme.css';

Then use data-theme, data-variant, and data-mode on your HTML to control theming. See styles/tailwind/README.md for:

  • What data-theme, data-variant, and data-mode do.
  • How to use them with components (e.g. buttons).
  • Tailwind v4 theme namespaces (e.g. --spacing-*, --color-*, --radius-*) and how GDS maps to them.
  • Available CSS variables and Tailwind theme keys.

Other platforms

  • Web (no Tailwind): Import or copy the generated CSS from styles/web/{mode}/ (e.g. tokens.css).
  • iOS/Android: Use the generated token files under styles/ios/ and styles/android/.

Package exports

Published (or linked) artifacts include:

  • dist/ — Compiled build scripts (for programmatic use).
  • styles/ — All generated CSS, JSON, SCSS, plist, and Tailwind theme files.

Configure your app to resolve @honeycluster/gds to this package so that imports like @honeycluster/gds/styles/tailwind/theme.css work.

Scripts

| Script | Description | |-------------------|-------------| | pnpm build | Full build: compile, design tokens, Tailwind theme, format styles. | | pnpm rebuild | Compile and run token/theme builds (no clean). | | pnpm format:styles | Format generated files under styles/ with Prettier. | | pnpm lint | Lint src/. | | pnpm format | Format src/ with Prettier. |

Configuration

Build behavior is driven by src/modules/config.ts (colors, dimensions, typography, paths). Apps can reuse the build with custom config via getDefaultConfig() and mergeConfig() and then call runDesign() and runTwThemes() from src/run.ts.

Token source

  • Design tokens are maintained in tokens.json (and optionally synced from Figma or other sources).
  • The Tailwind theme generator reads tokens.json and emits Light/Dark/Globals CSS and theme.css with the correct data-theme / data-variant / data-mode structure.

For theme usage and examples, see styles/tailwind/README.md.