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

@mooncellwiki/prts-design-tokens

v0.1.34

Published

PRTS Design · 明日方舟网页设计系统的设计令牌:W3C DTCG 格式的 JSON5 源 + CSS 变量版 tokens.css(亮 / 暗 / 跟随系统 / 局部主题)+ 解析后的 tokens.json(每个令牌带 CSS 写法与亮 / 暗解析值)

Readme

@mooncellwiki/prts-design-tokens

PRTS Design(明日方舟网页设计系统,prts.wiki 皮肤)的设计令牌,≈ primer/primitives。

  • src/**/*.json5:W3C DTCG 格式的源——base/ 原始色板 · 字体 · 尺寸 · 动效 · 层级,functional/ 亮 / 暗 / 高对比语义令牌、页眉头图画布主题接口,以及窄屏(≤ 639)与低分屏的覆盖,bridge/ MediaWiki Codex 桥接
  • tokens.css:CSS 变量版——亮 :root / 暗 data-theme="dark" · html.skin-theme-clientpref-night / 跟随系统 / 局部主题 .ak-scope[data-theme] / 高对比;只要令牌时 import "@mooncellwiki/prts-design-tokens/tokens.css"
  • tokens.json:每个令牌的 CSS 写法与亮 / 暗解析值

tokens.css 与 packages/css(@mooncellwiki/prts-design-css)里的 src/tokens.css 是同一份生成物;Codex / MediaWiki 桥接(bridge/codex 源)单独生成在 CSS 包的 bridge-codex.css,只属于皮肤、不在这份 tokens.css 里(tokens.json 里仍有它们)。仓库内改完源文件跑 pnpm tokens 重新生成。

许可:MIT。

文档:https://mooncellwiki.github.io/prts-design/foundations/color