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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@g2crowd/elevate-tailwind-theme

v1.0.0

Published

Tailwind CSS theme from the Elevate engine

Downloads

3

Readme

Elevate Tailwind Theme

A shareable Tailwind CSS theme extracted from the Elevate engine. This package provides a consistent design system theme that can be used in your Tailwind configuration.

Installation

npm install elevate-tailwind-config
# or
yarn add elevate-tailwind-config

Installing from GitHub Packages

This package is hosted on GitHub Packages. You'll need to configure your project to authenticate with GitHub Packages:

  1. Create or update .npmrc in your project root:
@g2crowd:registry=https://npm.pkg.github.com/
//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}
  1. Set your GitHub personal access token as an environment variable:
export GITHUB_TOKEN=your-github-token-here
  1. Install the package:
npm install @g2crowd/elevate-tailwind-config
# or
yarn add @g2crowd/elevate-tailwind-config

Usage

Basic Usage

Use the Elevate theme in your Tailwind configuration by extending your theme:

// tailwind.config.js
const elevateTheme = require('@g2crowd/elevate-tailwind-config');

module.exports = {
  content: [
    './src/**/*.{html,js,jsx,ts,tsx}',
    './public/**/*.html',
  ],
  theme: {
    extend: {
      ...elevateTheme
    }
  }
};

Selective Usage

You can use specific parts of the theme:

// tailwind.config.js
const elevateTheme = require('@g2crowd/elevate-tailwind-config');

module.exports = {
  content: [
    './src/**/*.{html,js,jsx,ts,tsx}',
    './public/**/*.html',
  ],
  theme: {
    extend: {
      // Use only specific theme properties
      colors: elevateTheme.backgroundColor,
      fontFamily: elevateTheme.fontFamily,
      spacing: elevateTheme.spacing,
      // Add your own customizations
      colors: {
        ...elevateTheme.backgroundColor,
        'my-brand': '#ff0000',
      }
    }
  }
};

Advanced Usage - Individual Theme Parts

You can also access individual theme parts for more granular customization:

// tailwind.config.js
const { palette, dataColors, backgroundColors, foregroundColors, borderColors } = require('@g2crowd/elevate-tailwind-config');

module.exports = {
  content: [
    './src/**/*.{html,js,jsx,ts,tsx}',
    './public/**/*.html',
  ],
  theme: {
    extend: {
      colors: {
        // Use Elevate's color palette
        ...palette,
        // Add custom colors
        'my-brand': '#ff0000',
      },
      backgroundColor: {
        // Use Elevate's background colors
        ...backgroundColors,
      },
      // ... other theme settings
    }
  }
};

Features

  • Consistent Design System: Use the same design system across different projects
  • Flexible Integration: Easily extend or override parts of the theme
  • Rich Color Palette: Comprehensive color system with semantic colors for different UI states
  • Responsive: Built-in responsive design with consistent breakpoints
  • Typography: Typography scales for consistent text sizing
  • Spacing: Comprehensive spacing system for consistent layout

Theme Components

Colors

The Elevate color system includes:

  • Base Palette: Foundation colors including neutral, purple, rorange (red-orange), blue, green, and yellow
  • Semantic Colors: Application-specific colors like primary, success, warning, info, and critical
  • Background Colors: Specialized background colors for different UI elements
  • Foreground (Text) Colors: Text colors for various UI states
  • Border Colors: Border colors for different UI elements

Typography

Consistent typography system with:

  • Font families for different text types (body, heading, label)
  • Font size scale (xs to 4xl)
  • Line height scale
  • Font weights (light to black)

Spacing

Comprehensive spacing system with increments from 0 to 100.

Border Radius

Variety of border radius options for different UI elements, including:

  • Size-based (xs, sm, md, lg, xl)
  • Special shapes (pill)
  • Directional corners (t, r, b, l)

Box Shadows

Multiple shadow options for depth and elevation effects.