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

@holisticon/hap-tailwind

v4.0.0

Published

Tailwind configuration for the atomic-playfulness design system.

Downloads

134

Readme

Atomic Playfulness defines the brand design for Holisticon AG. This design system "Holisticon Atomic Playfulness" (HAP) makes the brand design accessible to web applications. It is intended to be used by applications that are built by and for Holisticon.

Installation

Install the Tailwind package together with the foundation tokens and Tailwind v3:

npm install @holisticon/hap-foundation @holisticon/hap-tailwind tailwindcss@^3.4

Quick Start

The recommended setup uses the exported Tailwind preset and the tokens-only CSS file.

1. Configure Tailwind

Create tailwind.config.mjs:

import { preset as hapPreset } from "@holisticon/hap-tailwind";

export default {
  content: ["./src/**/*.{js,ts,jsx,tsx,html}"],
  presets: [hapPreset],
};

If your project still uses CommonJS, keep the application code as-is and switch only the Tailwind config file to tailwind.config.mjs so it can import this ESM package.

2. Import the CSS variables

In your global stylesheet, import the design tokens before Tailwind layers:

@import "@holisticon/hap-foundation/tokens.css";

@tailwind base;
@tailwind components;
@tailwind utilities;

If you also want the full Atomic Playfulness base, component, and layout styles, import @holisticon/hap-foundation/atomic-playfulness.css instead.

3. Start using the utilities

<button
  class="rounded-large bg-fill-brand-onLight-default p-md text-text-primary-onLight shadow-firstLevel"
>
  Click me
</button>

API

  • preset: recommended export for Tailwind v3 projects; use it in presets.
  • theme: legacy export if you prefer theme: { extend: hapTheme }.
import { theme as hapTheme } from "@holisticon/hap-tailwind";

export default {
  content: ["./src/**/*.{js,ts,jsx,tsx,html}"],
  theme: {
    extend: hapTheme,
  },
};

Notes

  • This package targets Tailwind v3.
  • The generated class names follow the token structure, for example text-text-primary-onLight or bg-fill-brand-onLight-default.
  • A more detailed guide and class reference are available in our Storybook Tailwind documentation.

License

Atomic Playfulness is created for Holisticon AG and only intended to be used by Holisticon and its projects.