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

@saas-maker/tailwind-preset

v0.2.0

Published

Foundry brand tokens — Tailwind v4 @theme + v3 JS preset.

Readme

@saas-maker/tailwind-preset

Foundry brand tokens — colors, spacing, type scale, radii, shadows. Ships both a Tailwind v4 @theme CSS file and a v3 JS preset so every Fleet app shares the same palette without copy-pasting globals.css.

Install

pnpm add -D @saas-maker/tailwind-preset

Tailwind v4

/* app/globals.css */
@import "tailwindcss";
@import "@saas-maker/tailwind-preset/theme.css";

That's it — bg-primary, text-muted-foreground, border-border, shadow-foundry-md, dark: variant, etc. are all live.

Overriding tokens for app brand

Tokens are scoped inside @layer base, so apps can override any subset by declaring their own values in a @layer base block AFTER the import:

@import "tailwindcss";
@import "@saas-maker/tailwind-preset/theme.css";

@layer base {
  :root {
    --primary: oklch(0.55 0.18 250);
    --primary-foreground: oklch(1 0 0);
    --radius: 0.5rem;
  }
  .dark {
    --primary: oklch(0.75 0.15 250);
  }
}

Anything you don't override falls back to foundry defaults. Because both the preset's :root and your override live in @layer base, source order wins — your @layer base block must come after the preset import.

Tailwind v3

// tailwind.config.ts
import { foundryPreset } from '@saas-maker/tailwind-preset';
import type { Config } from 'tailwindcss';

export default {
  content: ['./src/**/*.{ts,tsx}'],
  presets: [foundryPreset],
} satisfies Config;

Tokens (programmatic)

import { colors, colorsDark, spacing, baseRadius } from '@saas-maker/tailwind-preset/tokens';

console.log(colors.primary); // 'oklch(0.205 0 0)'

Token reference

| Group | Keys | |---|---| | Surface | background, foreground, card, popover, muted, border, input, ring | | Action | primary, secondary, accent, destructive (each with *-foreground) | | Charts | chart1chart5 | | Radii | sm, md, lg, xl, 2xl (derived from --radius: 0.625rem) | | Shadows | foundry-xs, foundry-sm, foundry-md, foundry-lg, foundry-xl |

Dark mode

theme.css ships a .dark selector. Pair with next-themes or any class="dark" toggle.