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

@adrelle/design-system

v3.3.1

Published

A premium, state-of-the-art CSS-first Design System built for modern SaaS applications. Compatible with vanilla HTML/CSS and fully integrated with Tailwind CSS v4.

Readme

@adrelle/design-system

A premium, state-of-the-art CSS-first Design System built for modern SaaS applications. Compatible with vanilla HTML/CSS and fully integrated with Tailwind CSS v4.


🚀 Installation

Install the package via your preferred package manager:

npm install @adrelle/design-system
# or
yarn add @adrelle/design-system
# or
pnpm add @adrelle/design-system

Agent Skill Installation

To add the AI agent skill to your project (Cursor, Windsurf, Claude Code, Antigravity):

npx skills add adrelle-invent/design-system

🛠️ Usage

1. Vanilla CSS Integration

Import the CSS bundle (or its minified variant) into your main stylesheet:

@import "@adrelle/design-system";

/* Or import the minified bundle directly */
@import "@adrelle/design-system/min";

2. Tailwind CSS v4 Integration

If your project is built with Tailwind CSS v4, import Tailwind and then load our theme wrapper stylesheet (or its minified variant):

@import "tailwindcss";

/* Imports all components and links theme variables to Tailwind v4 */
@import "@adrelle/design-system/app.css";

/* Or import the minified Tailwind v4 bundle */
@import "@adrelle/design-system/app.min.css";

Theming & Dark Mode:

Theme switching is driven entirely by CSS variables. Toggling the .dark class on :root (<html>) switches all semantic variables (--background, --foreground, --card, --border, --primary, etc.) automatically without needing inline conditional classes.

Preventing Dark Mode Flicker (Flash of Unstyled Theme):

To prevent a flash of light theme when reloading a dark-themed page, add this blocking inline script inside your document's <head> before any stylesheets or markup render:

<script>
  (function () {
    try {
      const storedTheme = localStorage.getItem("theme");
      const prefersDark = window.matchMedia("(prefers-color-scheme: dark)").matches;
      if (storedTheme === "dark" || (!storedTheme && prefersDark)) {
        document.documentElement.classList.add("dark");
      } else {
        document.documentElement.classList.remove("dark");
      }
    } catch (_) {}
  })();
</script>

Disabling Dark Mode (Light Mode Only):

If you want to disable dark mode entirely and force your website to stay in light mode (even if the user's OS prefers dark mode), simply add the light class to your root <html> element:

<html class="light">

This disables the built-in prefers-color-scheme media query and keeps the light-mode variables active.


🎨 Theme Variables & Customization

The design system is engineered for modern B2B SaaS interfaces. It exposes slate neutrals, sky/ocean brand blue (#0284C7 anchor), micro-elevations (shadow-xs), and strict mathematical corner radii:

:root {
  --primary: var(--sky-700);        /* #0369a1 - Primary brand action (Light) */
  --primary-hover: var(--sky-800);  /* #075985 - Hover state */
  --primary-active: var(--sky-900); /* #0c4a6e - Active state */
  --primary-foreground: #fff;
  --radius-xl: 0.75rem;             /* Page containers, cards, modals */
  --radius-lg: 0.5rem;              /* Action buttons, form inputs */
  --radius-md: 0.375rem;            /* Badges, table chips, segmented tabs */
}

.dark {
  --background: #020617;            /* Deep slate-950 canvas (no pitch black) */
  --card: #0f172a;                  /* Slate-900 surface */
  --border: #1e293b;                /* Crisp 1px border */
  --primary: var(--sky-300);        /* #7dd3fc - Accessible high-contrast primary (Dark) */
  --primary-foreground: #020617;
}

Design Tokens

Core Semantic Tokens Available:

  • --background / --foreground: Base canvas (slate-50 / slate-950) & text
  • --card / --card-nested: Surfaces & cluster wells (slate-50/70 / slate-800/40)
  • --primary / --primary-hover / --primary-active / --primary-foreground: Brand actions (Sky scale anchored on #0284C7)
  • --primary-tint / --primary-border: Subtle brand highlighting
  • --secondary / --secondary-hover / --secondary-foreground: Secondary actions
  • --accent / --accent-hover / --accent-foreground: Interactive highlights
  • --neutral / --neutral-hover / --neutral-foreground: Muted helpers and subtle backgrounds
  • --border: Structural container borders (slate-200 / slate-800)
  • --success / --warning / --info / --danger: High-contrast semantic indicators (Emerald, Amber, Sky, Rose)
  • --radius-xl / --radius-lg / --radius-md / --radius-full: Geometry scale
  • --shadow-xs / --shadow-lg / --shadow-xl: Crisp micro-elevation hierarchy

⚡ Component & Layout Reference

The package includes pre-styled, accessibility-compliant CSS components with zero AI artifacts (no purple orbs, no decorative emojis, no indiscriminate pill badges):

  • .button: Standardized, transition-ready buttons with rounded-lg and shadow-xs. Variants: .button-primary, .button-secondary, .button-outline, .button-destructive, .button-ghost, .button-icon, and .button-link. Sizes: .button-sm, .button-lg.
  • .segmented-switcher & .segmented-tab: Segmented view switchers.
  • .card: 5-level container rhythm (.card, .card-well, .card-tile, .icon-box, .stat-value, .stat-change).
  • .table-container & .table: Tabular ledgers with sticky headers, .table-numeric right-aligned monospace numbers, and .table-footer pagination.
  • .form-group: Form elements:
    • .form-input / .form-select / .form-textarea: Form control fields with brand focus ring (--primary)
    • .form-search: Search input with inline icon positioning
    • .form-error-banner: Structured validation callout banner
    • .form-file / .form-range / .form-checkbox / .form-radio: Fully styled input components
  • .badge: Rectangular status badges (rounded-md uppercase tracking-wider) with .badge-dot pulsing indicators and .badge-mono numeric chips. Never pill-shaped.
  • .alert: Semantic feedback containers with 1px tinted borders (.alert-success, .alert-warning, .alert-danger, .alert-info).
  • .dialog & .drawer: 5-region modal dialogs (shadow-lg, backdrop blur) and slide-over preview drawers (shadow-xl).
  • .sidebar & .navbar: Collapsible sidebars with subtle blue tint active highlighting (.sidebar-item.active) and .telemetry-pulse operational indicators.