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

@sproutsocial/seeds-react-theme

v4.3.1

Published

Seeds Theme

Downloads

11,349

Readme

@sproutsocial/seeds-react-theme

The Seeds design system semantic theme layer, providing meaningful component-oriented design tokens.

Overview

This package provides the Seeds theme in multiple formats for use across different frameworks and platforms:

  • React (styled-components) - Original theme provider for React applications
  • Tailwind CSS - Preset for Tailwind-based projects
  • CSS Custom Properties - For Angular, Vue, Svelte, vanilla HTML/CSS
  • SCSS Variables - For legacy SCSS-based projects

All formats support light and dark mode out of the box.

Installation

npm install @sproutsocial/seeds-react-theme
# or
yarn add @sproutsocial/seeds-react-theme

Usage

React (styled-components)

import { ThemeProvider } from 'styled-components';
import theme from '@sproutsocial/seeds-react-theme';

function App() {
  return (
    <ThemeProvider theme={theme}>
      <YourApp />
    </ThemeProvider>
  );
}

Tailwind CSS

See MULTI_FRAMEWORK_GUIDE.md for complete documentation.

Quick start:

// tailwind.config.js
module.exports = {
  presets: [
    require('@sproutsocial/seeds-react-theme/dist/tailwind-preset'),
  ],
  content: ['./src/**/*.{js,jsx,ts,tsx}'],
}
<button className="bg-color-button-primary-bg-base text-color-button-primary-text-base px-space-400 py-space-300 rounded-radius-500">
  Primary Button
</button>

CSS Custom Properties

<link rel="stylesheet" href="node_modules/@sproutsocial/seeds-react-theme/dist/theme.css">

<button style="
  background: var(--color-button-primary-bg-base);
  color: var(--color-button-primary-text-base);
  padding: var(--space-400);
  border-radius: var(--radius-500);
">
  Primary Button
</button>

Angular / Vue / Svelte

Import the CSS file in your application entry point:

// Angular: styles.css or styles.scss
@import '@sproutsocial/seeds-react-theme/dist/theme-all.css';

// Vue: main.js
import '@sproutsocial/seeds-react-theme/dist/theme-all.css';

// Svelte: App.svelte or +layout.svelte
import '@sproutsocial/seeds-react-theme/dist/theme-all.css';

Then use CSS variables in your component styles:

.my-button {
  background: var(--color-button-primary-bg-base);
  color: var(--color-button-primary-text-base);
  padding: var(--space-400);
}

Dark Mode

Tailwind CSS

Use the dark mode preset:

module.exports = {
  presets: [
    require('@sproutsocial/seeds-react-theme/dist/tailwind-preset-dark'),
  ],
}

CSS Variables

Add the data-theme="dark" attribute to your HTML element:

<html data-theme="dark">
  <!-- All CSS variables automatically switch to dark mode values -->
</html>

Toggle with JavaScript:

// Enable dark mode
document.documentElement.setAttribute('data-theme', 'dark');

// Disable dark mode
document.documentElement.removeAttribute('data-theme');

Available Tokens

Colors

  • Button colors (primary, secondary, destructive, etc.)
  • Text colors (headline, body, subtext, inverse)
  • Link colors
  • Container backgrounds and borders
  • Form backgrounds and borders
  • Icon colors

Spacing

  • 0, 100, 200, 300, 350, 400, 450, 500, 600

Typography

  • Font sizes and line heights (100 - 1200)
  • Font families
  • Font weights (normal, semibold, bold, extrabold)

Other

  • Border radius values
  • Box shadows
  • Motion (easing, duration)

Package Exports

{
  ".": "@sproutsocial/seeds-react-theme", // React theme
  "./dist/tailwind-preset": "Tailwind preset (light)",
  "./dist/tailwind-preset-dark": "Tailwind preset (dark)",
  "./dist/theme.css": "CSS variables (light)",
  "./dist/theme-dark.css": "CSS variables (dark)",
  "./dist/theme-all.css": "CSS variables (light + dark)"
}

Documentation

Development

Build all theme formats:

yarn build

Build specific formats:

yarn build:tailwind  # Build Tailwind presets
yarn build:css       # Build CSS variables

License

MIT

Contributing

See the main Seeds repository for contribution guidelines.