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

@geepers/theme

v1.0.0

Published

Minimalist zinc/indigo CSS design system with light/dark mode — Swiss Design philosophy with 8px grid, system fonts, and 38 custom properties

Readme

@lukeslp/swiss-theme

Minimalist zinc/indigo CSS design system with light/dark mode.

npm License: MIT

Swiss Design philosophy: 8px grid, system fonts, sharp edges, 38 CSS custom properties. One stylesheet covers layout, typography, forms, buttons, tables, tabs, toasts, and responsive breakpoints. Light/dark toggle included.

Install

npm install @lukeslp/swiss-theme

Usage

Via CSS import

@import '@lukeslp/swiss-theme';

Via <link> tag

<link rel="stylesheet" href="node_modules/@lukeslp/swiss-theme/src/io-theme.css">

With the theme toggle

The toggle script auto-initializes on load, reads prefers-color-scheme, and persists choice to localStorage.

<!-- Add a button with class="theme-toggle" anywhere and it wires itself up -->
<button class="theme-toggle">Dark</button>

<script src="node_modules/@lukeslp/swiss-theme/src/theme-toggle.js"></script>

Or inject a button programmatically:

import '@lukeslp/swiss-theme/toggle';

// Append a toggle button into any container
window.injectThemeToggle('.io-header-right');

Design tokens

All values live on :root as CSS custom properties and flip automatically under [data-theme="dark"].

| Variable | Light | Dark | |----------|-------|------| | --bg-0 | #f4f4f5 | #09090b | | --bg-1 | #ffffff | #18181b | | --text-0 | #18181b | #fafafa | | --text-1 | #52525b | #a1a1aa | | --accent | #4f46e5 | #818cf8 | | --border | #e4e4e7 | #27272a | | --radius | 10px | 10px | | --ease | 180ms ease | 180ms ease |

Full list of 38 properties in src/io-theme.css.

What's included

Layout.container, .container-narrow, .container-wide, .tool-layout, .tool-layout-narrow, .grid-2, .grid-3, .grid-auto, flex utilities

Components.card, .card-padded, .btn, .btn-primary, .btn-sm, .btn-lg, .btn.loading, .tab-bar, .tab-btn, .tab-content, .toast, .drop-zone, .spinner, .status-dot, .status-msg

Typographyh1h3, .eyebrow, .subtitle, .text-muted, .text-dim, .text-accent, .mono

Formsinput, select, textarea, label, .control-group, .form-group, .helper-text, .grid-controls

Navigation.io-header, .io-nav-wrapper, .io-nav-dropdown, .io-nav-item, .io-footer

Responsive — collapses grids and tool layouts to single-column at 768px; tightens padding at 480px

Toggle API

When the toggle script loads it exposes three globals:

window.initTheme()                    // Re-apply saved preference
window.toggleTheme()                  // Flip light ↔ dark
window.injectThemeToggle(selector)    // Append a button into a container

Storage key: swiss-theme in localStorage.

Author

Luke Steuber

License

MIT License — see LICENSE for details.