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

@umamichi-ui/giscus-theme

v0.5.10

Published

Giscus widget themes aligned with Umamichi UI (default Aqua palette).

Readme

@umamichi-ui/giscus-theme

npm version license: LGPL-3.0-or-later + MIT CSS

本 README 由 Cursor 生成,未经过人工核对,请谨慎对待

面向 Umamichi UI 站点的 giscus 评论组件主题包:在 giscus 上游 主题基础上,叠加 默认 Aqua 色板(与 @umamichi-ui/common-css 对齐的灰阶与水色 accent)。

安装

npm install @umamichi-ui/giscus-theme

@umamichi-ui/common-csspeerDependency>=0.12.0),用于版本对齐;发布的 CSS 为构建期内联的单文件,不含运行时 @import

构建(维护者)

npm run build

styles/src/ 合并上游 base 与 _umamichi-aqua-*.css 覆盖层,输出到 styles/themes/light.cssdark.css

在站点中使用

giscus 的 theme 须为 绝对 URL。推荐将主题复制到站点 public/giscus/ 并配置 /giscus/* 的 CORS(giscus iframe 跨域加载)。

# 示例:从 node_modules 同步到 public/giscus/
cp node_modules/@umamichi-ui/giscus-theme/styles/themes/*.css public/giscus/
const giscusThemeUrls = {
  light: "/giscus/light.css",
  dark: "/giscus/dark.css",
} as const

// new URL(path, window.location.origin).href → 传给 <Giscus theme={...} />

导出

| 子路径 | 说明 | |--------|------| | @umamichi-ui/giscus-theme/light.css | 浅色 + 默认 Aqua | | @umamichi-ui/giscus-theme/dark.css | 深色 + 默认 Aqua |

许可证与归属

LICENSETHIRD_PARTY_NOTICES.mdvendor/giscus/LICENSE

发布

  1. npm publish --access public
  2. 消费方升级依赖并重新同步 public/giscus/
  3. 未发布前联调:npm install @umamichi-ui/giscus-theme@file:../umamichi-ui-giscus-theme