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

@planningcenter/doxy

v1.0.0

Published

Doxy provides design tokens that can be shared between Church Center Web, Church Center App, and Publishing. These tokens hold atomic design decisions (eg. background color, font weight) from the Doxy Design System and ensure visual consistency across our

Readme

Doxy

Doxy provides design tokens that can be shared between Church Center Web, Church Center App, and Publishing. These tokens hold atomic design decisions (eg. background color, font weight) from the Doxy Design System and ensure visual consistency across our Church Center applications.

Installation

yarn add @planningcenter/doxy

Links

Development scripts

yarn build              # Generates both tokens and `/dist` directory
yarn build:rollup       # Generates dist directory
yarn build:tokens       # Generates tokens from Style Dictionary in a `/build-output` directory
yarn build:tokens:nuke  # Deletes `/build-output` and generates tokens
yarn storybook          # Starts Storybook at http://localhost:6006
yarn lint               # Checks eslint and prettier
yarn format             # Fixes any prettier issues
yarn test               # Runs vitest once
yarn test:watch         # Runs vitest continually

Alias vs Primitive Tokens

Our Figma files and Style Dictionary pipeline expects two types of tokens; primitive and alias.

  • Primitive tokens represent hard-coded style values and create the underlying foundation for the alias tokens. Applications and Figma mockups don't reference primitive tokens directly.
  • Alias tokens provide a way to communicate semantic meaning about a CSS value. They might reference other alias tokens or directly reference a primitive token. For colors they support both light and dark modes.

Here are some reasons one or both token types might require their JSON to be updated in src/json/

  • Token's name or value changed
  • Token's deprecation status changed
  • Token(s) get added or deleted
  • Token(s) moves between collections (eg. From "color themeable" to "color")

Themeable Tokens

Doxy's design system includes color values that the church can customize based on its selected theme in Publishing. To reduce complexity and keep the generated token code 1-1 with Figma, the applications consuming tokens are responsible for overriding their values with the theme.

Doxy tokens helps to support this feature by providing the following utilities to applications that act as manifests of which tokens are themeable and what value to use when overriding them.

  1. tokensByThemeSet — This object contains any available "themes" as keys and assigns them an array of token names that should be overriden by that theme's value.
  2. themeableWebGradientTokens — This object contains themeable gradient tokens with their light and dark mode values, making it easier to override linear-gradient values.

Importing Doxy tokens into applications

All tokens and utilities can be imported via @planningcenter/doxy, but common files and directories are also available via subpath imports. This is to help filter out conflicting or otherwise unnecessary assets. (eg. Avoiding CSS files within a React Native app.)

For Web applications

All CSS tokens

For most cases, this is the import to use on the web as it manages all available tokens.

@import "@planningcenter/doxy/tokens.css";

Specific CSS tokens

@import "@planningcenter/doxy/tokens-dark.css";
@import "@planningcenter/doxy/tokens-deprecated.css";

Themeable web gradient tokens util

import {} from "@planningcenter/doxy/themeable-web-gradient-tokens"

For React Native applications

All tokens and utils

React Native applications like CCA should use this import because they can't process .css files.

import {} from "@planningcenter/doxy/ts"

Import specific React Native tokens & utils

import {} from "@planningcenter/doxy/types/react-native-types"
import {} from "@planningcenter/doxy/react-native-tokens-dark"
import {} from "@planningcenter/doxy/react-native-tokens-light"

For All applications

import {} from "@planningcenter/doxy/tokens-by-theme-set"

What else?

Something confusing as you're getting started? Jump in #doxy and ask away! We'll use those questions to help guide changes to this README. 🙂