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

@atlantum/core

v0.5.3

Published

AtlantumUI design tokens — primitives and semantic CSS variables

Downloads

1,276

Readme

@atlantum/core

Design tokens for the AtlantumUI design system — primitives and semantic CSS variables, themes.

Installation

npm i @atlantum/core
# or
pnpm add @atlantum/core

No peer dependencies required.

Setup

Import the base CSS once at the entry point of your app:

// Semantic tokens (required)
import "@atlantum/core/foundation.css";

// Raw color/typography primitives (optional, needed only if you reference primitive variables directly)
import "@atlantum/core/primitives.css";

Themes

Apply a theme by importing its CSS and setting the data-theme attribute on the root element:

import "@atlantum/core/foundation.css";
import "@atlantum/core/themes/dark.css";
<html data-theme="dark">…</html>

| Import | Activates | |-------------------------------------|-----------------------------------------------| | @atlantum/core/themes/dark.css | Dark theme overrides (data-theme="dark") | | @atlantum/core/themes/professional.css | Professional theme (data-theme="professional") | | @atlantum/core/themes/none.css | Strips all theme overrides (flat palette) | | @atlantum/core/index.css | All of the above bundled together |

CSS Variables

All semantic tokens are available as CSS custom properties on :root. Reference them directly in your styles:

.card {
  background: var(--bg-surface-primary);
  color: var(--fg-neutral-loud-enabled);
  border: 1px solid var(--border-neutral-calm-enabled);
}

Token categories:

| Prefix | Description | |--------------------|----------------------------------------------| | --bg-* | Background fills (surfaces, accents, states) | | --fg-* | Foreground / text colors | | --border-* | Border colors | | --brand-* | Brand palette primitives | | --accent-* | Accent palette primitives | | --gap-* | Spacing aliases |

JS / TypeScript API

import { tokens } from "@atlantum/core";
import type { TokenName, TokenOverrides } from "@atlantum/core";

tokens

Object that maps semantic token names to their CSS variable strings. Use with AtlantumUIProvider for runtime token overrides:

import { tokens } from "@atlantum/core";

const overrides: TokenOverrides = {
  [tokens.bgAccentLoudEnabled]: "#7c3aed",
  [tokens.brand500]: "#6d28d9",
};

TokenName

Union type of all token CSS variable names (e.g. "--bg-accent-loud-enabled").

TokenOverrides

Partial<Record<TokenName, string>> — map of token names to override values, passed to AtlantumUIProvider.

Changelog

See CHANGELOG.md for the full version history.

License

MIT