Skip to content

somedevsdo/tailwind

Repository files navigation

@somedevsdo/tailwind

Shared brand tokens for Tailwind CSS v4 projects.

Install

pnpm add @somedevsdo/tailwind

Usage

Import a single stylesheet that includes light and dark tokens:

@import "@somedevsdo/tailwind/base.css";

Dark mode tokens are applied when an ancestor has data-theme="dark".

Local development

pnpm install
pnpm test:harness

src/base.css is source-controlled and edited directly in this repo.

pnpm build is a no-op placeholder used by CI/release scripts.

pnpm test:harness runs a Tailwind v4 compile against a local fixture to verify the package generates expected utilities and token mappings.

Release flow

This repo uses Changesets.

Prerelease mode is enabled with the beta tag (.changeset/pre.json), so published versions are pushed as beta prereleases until prerelease mode is exited.

  1. Add a changeset:

    pnpm changeset
  2. Merge to main.

  3. GitHub Actions opens/updates a release PR.

  4. Merging the release PR publishes to GitHub Packages automatically.

To leave prerelease mode later:

pnpm changeset:pre:exit

About

Tailwind config for the somedevsdo branding

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors