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

@invana/styling

v0.0.11

Published

Invana TailwindCSS 4 Design System - Reusable styling configuration

Readme

@invana/styling

Invana's reusable TailwindCSS 4 design system. This package provides a consistent set of design tokens, theme configuration, and base styles that can be used across all Invana projects.

Installation

This expects tailwindcss 4

npm install @invana/styling
# or
pnpm add @invana/styling
# or
yarn add @invana/styling

Usage

In CSS Files

Import the complete stylesheet with theme and base styles:

/* 1. Import Tailwind first */
@import "tailwindcss";

/* 2. Define YOUR app's source paths */
@source "./components/**/*.{js,ts,jsx,tsx}";
@source "./pages/**/*.{js,ts,jsx,tsx}";

/* 3. Import the shared theme */
@import "@invana/styling/index.css";

Or import specific parts:

/* 1. Import Tailwind first */
@import "tailwindcss";

/* 2. Define YOUR app's source paths */
@source "./components/**/*.{js,ts,jsx,tsx}";
@source "./pages/**/*.{js,ts,jsx,tsx}";

/* 3. Import the shared theme */
@import "@invana/styling/index.css";
/* Import just the theme */
@import "@invana/styling/theme";

/* Import just the base styles */
@import "@invana/styling/base";

In React/Vite Projects

// In your main entry file (e.g., main.tsx or App.tsx)
import "@invana/styling";

In the Monorepo

This package is already set up for use within this monorepo. Simply import it in your CSS files:

/* In your globals.css or main CSS file */
@import "@invana/styling";

Features

  • 🎨 Design Tokens: Consistent color palette with semantic naming
  • 🌓 Dark Mode: Automatic dark mode support via prefers-color-scheme
  • 📦 Modular: Import only what you need
  • 🎯 TailwindCSS v4: Built with the latest TailwindCSS features using @theme directive
  • 🔧 Customizable: Easy to extend and override
  • 📱 Responsive: Container configuration with responsive breakpoints

Design Tokens

Colors

All colors follow the CSS variable pattern and can be used with TailwindCSS utilities:

  • background, foreground - Main background and text colors
  • primary, primary-foreground - Primary brand colors
  • secondary, secondary-foreground - Secondary UI elements
  • destructive, destructive-foreground - Error and dangerous actions
  • muted, muted-foreground - Muted/subdued content
  • accent, accent-foreground - Accent highlights
  • popover, popover-foreground - Popover/dropdown backgrounds
  • card, card-foreground - Card component colors
  • border, input, ring - Border and input styling

Border Radius

  • --radius: Base radius (0.5rem)
  • --radius-lg: Large radius
  • --radius-md: Medium radius
  • --radius-sm: Small radius

Animations

  • accordion-down: Accordion expand animation
  • accordion-up: Accordion collapse animation

Container

  • Centered by default
  • 2rem padding
  • Max width of 1400px on 2xl screens

Customization

You can override any variable by defining it after importing:

@import "@invana/styling";

@theme {
  --color-primary: hsl(270 100% 50%); /* Override primary color */
  --radius: 1rem; /* Increase border radius */
}

Publishing to NPM

# Make sure you're logged in to npm
npm login

# Publish the package
cd packages/styling
npm publish

Updating Versions

# Update version in package.json
cd packages/styling

# For patch update (0.1.0 -> 0.1.1)
npm version patch

# For minor update (0.1.0 -> 0.2.0)
npm version minor

# For major update (0.1.0 -> 1.0.0)
npm version major

# Then publish
npm publish

Development

This package ships source CSS files directly. Your build tool (Vite, Next.js, etc.) will process the TailwindCSS directives automatically if you have TailwindCSS v4 installed.

License

MIT © Ravi Raja Merugu

.