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

@santi020k/theme

v1.3.0

Published

Santi020k design tokens and shared brand assets for websites, apps, and theme surfaces.

Readme

@santi020k/theme

Shared Santi020k Theme tokens, assets, metadata, and Chrome color mapping helpers.

Use this package when a website, app, or theme surface needs the public Santi020k visual system: CSS custom properties, Tailwind v4 tokens, package metadata, project assets, or the Chrome manifest color mapping derived from the VS Code palette.

Website: theme.santi020k.com

npm: npmjs.com/package/@santi020k/theme

Install

pnpm add @santi020k/theme

This package is ESM-only and expects Node >=22.18.0.

Exports

| Export | Use it for | | --- | --- | | @santi020k/theme | JS tokens, metadata, asset lookup, Chrome theme helpers | | @santi020k/theme/site | Shared website theme and navigation helpers | | @santi020k/theme/site.css | Shared website-ready color and typography variables | | @santi020k/theme/typography.css | Shared Montserrat font-family variables | | @santi020k/theme/tokens.css | CSS custom properties and Tailwind v4 @theme values | | @santi020k/theme/tokens.json | Raw token data | | @santi020k/theme/shiki | Typed dark/light and high-contrast Shiki theme exports | | @santi020k/theme/shiki/santi020k-dark.json | Shiki-ready dark VS Code theme JSON | | @santi020k/theme/shiki/santi020k-hc-dark.json | Shiki-ready high-contrast dark VS Code theme JSON | | @santi020k/theme/shiki/santi020k-hc-light.json | Shiki-ready high-contrast light VS Code theme JSON | | @santi020k/theme/shiki/santi020k-light.json | Shiki-ready light VS Code theme JSON | | @santi020k/theme/tailwind | Tailwind-compatible theme object | | @santi020k/theme/assets/* | Package-relative static asset imports | | @santi020k/theme/docs/* | Packaged documentation such as brand guidance |

CSS Tokens

@import '@santi020k/theme/tokens.css';

.panel {
  color: hsl(var(--ink));
  background: hsl(var(--surface));
  border-color: hsl(var(--line));
}

The CSS export includes raw HSL custom properties and Tailwind v4 @theme mappings. Prefer these tokens over one-off colors when building Santi020k surfaces.

For Santi020k product websites, use the site stylesheet instead. It exposes the same public color language as CSS-ready colors, plus the shared typography variables:

@import '@santi020k/theme/site.css';

.panel {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line);
}

Use data-santi020k-site="hub" on the root element for the family hub palette offsets.

Typography

Montserrat is the canonical Santi020k web font. Import the typography-only CSS when a project only needs the shared font variables:

@import '@santi020k/theme/typography.css';

html {
  font-family: var(--santi020k-font-sans);
}

Consumers should load Montserrat from their preferred delivery path, such as Google Fonts or a self-hosted copy. The package exposes the family stacks, not renamed or repackaged font files. Tailwind v4 font mappings remain available through @santi020k/theme/tokens.css.

JavaScript

import { colors, config, getAssets, projects } from '@santi020k/theme'
import { theme } from '@santi020k/theme/tailwind'

const logos = getAssets('logo')
const project = projects.santi020kTheme

console.log(colors, config.colors, theme.colors.brand, logos, project.title)

Shiki Themes

The VS Code theme package generates clean JSON copies for syntax highlighters that cannot read JSONC comments:

import {
  getSanti020kShikiTheme,
  santi020kShikiThemes,
  santi020kShikiThemeVariants
} from '@santi020k/theme/shiki'

const themes = {
  dark: santi020kShikiThemes.dark,
  hcDark: santi020kShikiThemes.hcDark,
  hcLight: santi020kShikiThemes.hcLight,
  light: santi020kShikiThemes.light
}

const pickerOptions = santi020kShikiThemeVariants.map(variant => ({
  label: getSanti020kShikiTheme(variant).name,
  value: variant
}))

Raw JSON imports are available when a tool needs direct theme files:

import darkTheme from '@santi020k/theme/shiki/santi020k-dark.json' with { type: 'json' }
import hcDarkTheme from '@santi020k/theme/shiki/santi020k-hc-dark.json' with { type: 'json' }
import hcLightTheme from '@santi020k/theme/shiki/santi020k-hc-light.json' with { type: 'json' }
import lightTheme from '@santi020k/theme/shiki/santi020k-light.json' with { type: 'json' }

Use these exports with Shiki, Astro's <Code /> component, or other VS Code theme consumers that expect importable JSON.

Assets

import logoUrl from '@santi020k/theme/assets/logos/logo-santi020k.webp'
import vscodePreview from '@santi020k/theme/assets/vscode/previews/preview-dark.png'
import projectCover from '@santi020k/theme/assets/projects/santi020k-theme/cover.webp'

The asset tree includes:

  • assets/logos, assets/favicons, assets/banners, and assets/wallpapers
  • assets/vscode for extension icons and previews
  • assets/chrome for Chrome theme icons, images, and store media
  • assets/projects/santi020k-theme for portfolio-ready cover, logo, and preview media

For package metadata and static copy targets, import manifest from the root export.

Chrome Theme Helpers

The Chrome theme package uses this package to keep Chrome manifests centered on the VS Code palette.

Useful exports include:

  • chromeThemeVariants
  • chromeThemeVariantManifests
  • chromeThemeSourceTokenRoles
  • chromeThemeContrastPairs
  • createChromeThemeFromVSCodeColors

Use these helpers instead of duplicating Chrome color mappings in app or package code.

Development

| Command | What it does | | --- | --- | | pnpm --filter @santi020k/theme run build | Syntax-checks the package entry points | | pnpm --filter @santi020k/theme run validate | Runs the package validation shortcut | | pnpm run validate | Runs the full monorepo validation suite |

Brand Source

The canonical brand guide lives in ../../docs/brand-guidelines.md. A package copy is available at @santi020k/theme/docs/brand-guidelines.md for consumers that need the guidance from the published package.

License

MIT.