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

@ilijazm/tailwindcss-semantic-typography

v0.0.1

Published

TailwindCSS Semantic Typography is a highly extendable plugin for Tailwind CSS that add semantic text utilities for many use cases like headings, labels, code-blocks, etc.

Readme

TailwindCSS Semantic Typography

TailwindCSS Semantic Typography is a highly extendable plugin for Tailwind CSS that add semantic text utilities for many use cases like headings, labels, code-blocks, etc. This allows the user to define a type system and re-use these font styles later.

For example heading translates to the following:

.text-heading {
    @apply text-3xl leading-12 tracking-tight font-extrabold color-[var(--color-content-emphasis, var(--color-black))];
}

Introduction

Table of content

  1. Installation
  2. Features
  3. Customization
  4. Contributions
  5. Further information

1. Installation

To install the TailwindCSS Semantic Typography follow the following steps:

  1. Install the TailwindCSS Semantic Typography dependency:
npm install @ilijazm/tailwindcss-semantic-typography
  1. Import the plugin in your .css-file.
@import "tailwindcss";
+ @plugin "@ilijazm/tailwindcss-semantic-typography";

2. Features

Default utilities

By default, the plugin adds the following utility classes:

| utility | translates | |--------------|-------------------------------------------------------------------------------------------------------------------------| | display-1 | text-7xl leading-32 tracking-tighter font-normal color-[var(--color-content-emphasis var(--color-black))] | | display-2 | text-5xl leading-20 tracking-tighter font-normal color-[var(--color-content-emphasis var(--color-black))] | | heading | text-3xl leading-12 tracking-tight font-extrabold color-[var(--color-content-emphasis var(--color-black))] | | subheading | text-lg leading-8 tracking-normal font-bold color-[var(--color-content-emphasis var(--color-black))] | | lead | text-xl leading-7 tracking-normal font-normal color-[var(--color-content-text-emphasis var(--color-black))] | | body | text-base leading-6 tracking-normal font-normal color-[var(--color-content-text var(--color-neutral-700))] | | quote | text-xl leading-7 tracking-normal font-medium color-[var(--color-content-text-muted var(--color-neutral-500))] italic | | overline | text-xs leading-5 tracking-widest font-bold color-[var(--color-content-emphasis var(--color-black))] uppercase | | code | text-base leading-5 tracking-normal font-normal color-[var(--color-content-emphasis var(--color-black))] font-mono | | heading-1 | text-7xl leading-[8rem] tracking-tighter font-normal color-[var(--color-content-emphasis var(--color-black))] | | heading-2 | text-5xl leading-20 tracking-tighter font-normal color-[var(--color-content-emphasis var(--color-black))] | | heading-3 | text-4xl leading-15 tracking-tight font-semibold color-[var(--color-content-emphasis var(--color-black))] | | heading-4 | text-3xl leading-10 tracking-tight font-bold color-[var(--color-content-emphasis var(--color-black))] | | heading-5 | text-lg leading-7 tracking-normal font-bold color-[var(--color-content-emphasis var(--color-black))] | | heading-6 | text-base leading-6 tracking-normal font-black color-[var(--color-content-emphasis var(--color-black))] |

3. Customization

wip

4. Contributions

Contributions are welcome! Please feel free to submit a Pull Request.

Build project

  1. Install dependencies with npm install
  2. Run npm run build
  3. Result is in the dist/ directory

Run example

  1. Go into the directory example/
  2. Install dependencies with npm install
  3. Run development build with npm run dev
  4. Check the example via http://localhost:5173/

5. Further information

Dependencies

.
└── 📦 tailwindcss

License

MIT