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

dev-tool-chest-ui

v1.0.14

Published

A Tailwind CSS v4 preset with modern OKLCH colors and shadcn-ui compatibility

Downloads

32

Readme

Dev Tool Chest UI Preset

A modern Tailwind CSS v4 preset that provides a beautiful and consistent design system using OKLCH colors. Perfect for projects using shadcn/ui or any other React components.

Features

  • 🎨 Modern OKLCH color system
  • 🌓 Built-in dark mode support
  • 📱 Responsive design utilities
  • 🔤 DM Sans font integration
  • 🎭 Comprehensive shadow system
  • 📏 Consistent spacing and typography
  • 🎯 Sidebar-specific theme variables
  • 📊 Chart color palette

Installation

npm install dev-tool-chest-ui

Usage

  1. Import the preset in your tailwind.config.js:
import devToolChestPreset from "dev-tool-chest-ui/preset";

/** @type {import('tailwindcss').Config} */
export default {
  presets: [devToolChestPreset],
  // Your project-specific config here
  content: ["./src/**/*.{js,jsx,ts,tsx}"],
};
  1. Import the theme CSS in your main CSS file:
@import "tailwindcss";
@import "dev-tool-chest-ui/theme.css";

/* Your custom CSS here */

Theme Variables

Colors

Base UI colors with semantic meaning:

  • --background, --foreground
  • --card, --card-foreground
  • --popover, --popover-foreground
  • --primary, --primary-foreground
  • --secondary, --secondary-foreground
  • --muted, --muted-foreground
  • --accent, --accent-foreground
  • --destructive, --destructive-foreground

Chart colors for data visualization:

  • --chart-1 through --chart-5

Sidebar-specific colors:

  • --sidebar, --sidebar-foreground
  • --sidebar-primary, --sidebar-primary-foreground
  • --sidebar-accent, --sidebar-accent-foreground
  • --sidebar-border, --sidebar-ring

Typography

  • Font: DM Sans (automatically imported)
  • Letter spacing utilities:
    • --tracking-tighter through --tracking-widest

Spacing & Sizing

  • Base spacing unit: --spacing: 0.25rem
  • Border radius: --radius with variants:
    • --radius-sm, --radius-md, --radius-lg, --radius-xl

Shadows

Multiple shadow levels for depth:

  • --shadow-2xs through --shadow-2xl

Dark Mode

Dark mode is implemented using CSS custom properties. Enable it by adding the dark class to any parent element:

<html class="dark">
  <!-- Your app content -->
</html>

Or toggle it with JavaScript:

// Toggle dark mode
document.documentElement.classList.toggle("dark");

Customization

Overriding Colors

You can override any color in your CSS:

@theme {
  --primary: oklch(0.6191 0.1789 44.3709);
  --primary-foreground: oklch(1 0 0);
}

Extending the Theme

Extend or override the theme in your tailwind.config.js:

import devToolChestPreset from "dev-tool-chest-ui/preset";

/** @type {import('tailwindcss').Config} */
export default {
  presets: [devToolChestPreset],
  theme: {
    extend: {
      // Your extensions here
    },
  },
};

Best Practices

  1. Consistent Import Order: Always import Tailwind CSS before the theme
  2. Dark Mode: Use the dark class on a parent element
  3. Color Usage: Use semantic color variables instead of direct color values
  4. Shadows: Use the provided shadow scale for consistent depth
  5. Typography: Leverage the DM Sans font and tracking utilities

TypeScript Support

The preset includes TypeScript types. No additional setup needed.

Contributing

Feel free to open issues or submit pull requests. For major changes, please open an issue first to discuss what you would like to change.

License

MIT