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

@eastgold15/slidev-theme-jingjiang

v0.1.1

Published

[![NPM version](https://img.shields.io/npm/v/@eastgold15/slidev-theme-jingjiang?color=3AB9D4&label=)](https://www.npmjs.com/package/@eastgold15/slidev-theme-jingjiang)

Readme

@eastgold15/slidev-theme-jingjiang

NPM version

深紫哑光磨砂政务风 Slidev 主题 —— 适配述职汇报、方案评审、项目分析、学术答辩等正式汇报场景。

② 内容优先(由内向外 / 内容驱动) 行业别名:内到外构图、内容先行、内容自适应外框 定义:先确定内容本身(文字、图形、组件主体),再给内容附加装饰、边距、外容器。 对应 PPT、设计稿、双层嵌套卡片(内层承载 padding + 装饰)。 关键词:先有内容,再包外壳 / 加装饰。

安装

slides.md 的 frontmatter 中添加:

---
theme: "@eastgold15/slidev-theme-jingjiang"
---

然后启动 Slidev,它会自动提示安装主题。

布局 Layouts

| 布局名 | 说明 | |--------|------| | cover | 封面页,居中对称大标题 + 副标题 + 分割线 + 页脚 | | intro | intro 页,同封面风格 | | circletl-br | 左上 + 右下双透明圆装饰背景 | | circletr-bl | 右上 + 左下双透明圆装饰背景 |

使用方式:

---
layout: circletl-br
---

组件 Components

MermaidView

流程图/图表的可缩放查看容器。鼠标滚轮缩放(以光标为中心),拖拽平移。

<MermaidView :max-height="480">

```mermaid
graph TB
    subgraph "📱 用户端"
    A[微信小程序]
    end
    subgraph "☁️ 服务器端"
    B[后端服务]
    end
    A --> B

| 属性 | 类型 | 默认 | 说明 | |------|------|------|------| | max-height | string | 400px | 容器最大高度 |

操作:

  • 滚轮:以鼠标位置为中心缩放
  • 拖拽:平移视图
  • 右上角 +/-:以画面中心缩放
  • :重置缩放

操作:

  • 滚轮:垂直翻页(默认)
  • Shift + 滚轮:水平平移
  • 滚动条隐藏,不影响触控板手势

Card

整个主题唯一的容器组件。默认磨砂底无装饰条,通过属性变成任意形态。

<!-- 默认:磨砂底无装饰条(结论框) -->
<Card>内容</Card>

<!-- 左侧金色装饰条 -->
<Card accent="#F9D240">内容</Card>

<!-- 顶部装饰条 -->
<Card accent="#F9D240" accent-side="top">内容</Card>

<!-- 无背景,仅左侧色条 -->
<Card :matte="false" accent="#F9D240">内容</Card>

| 属性 | 类型 | 默认 | 说明 | |------|------|------|------| | accent | string | — | 装饰条颜色,不传则不显示 | | accent-side | left/right/top/bottom | left | 装饰条方向 | | matte | boolean | true | 是否显示磨砂背景 | | padding | number | 6 | 内边距(UnoCSS p-X) | | title | string | — | 标题(带底部分割线) | | mb | number | 0 | 底部外边距 | | maxHeight | string | — | 最大高度,传了则内容超出后滚动(如 "460px") |

使用注意:

  • Card 标签上下必须空一行,否则 Markdown 不会正确渲染
  • 不要嵌套 Card,内层用 .section-accent 替代
  • 纯数字展示用 .data-block 替代 Card,避免视觉疲劳

原子组件(全局注册)

| 组件 | 作用 | 关键 Props | |------|------|-----------| | <AtomBox> | 容器盒子 | bordered | | <AtomFlex> | 弹性布局 | 无,靠 UnoCSS class | | <AtomText> | 主题文字 | type="primary \| muted \| data \| total" | | <AtomBadge> | 角标标签 | type="primary \| success \| warning \| info \| default" | | <AtomBtn> | 按钮 | type="primary \| default" | | <AtomDivider> | 分割线 | 无 |

<AtomFlex class="gap-4">
  <AtomBox class="p-4">
    <AtomText type="primary">标题</AtomText>
    <AtomBadge type="success">标签</AtomBadge>
  </AtomBox>
</AtomFlex>

Outline

目录导航组件,展示演示文稿的章节列表。

<Outline :items="[
  {icon: '🎯', number: '①', title: '项目概述', tag: '🌟 所有人'},
  {icon: '💰', number: '②', title: '成本估算', tag: '🌟 所有人'},
]" />

| 属性 | 类型 | 说明 | |------|------|------| | items[].icon | string | 图标 emoji | | items[].number | string | 序号(① ② ③) | | items[].title | string | 章节标题 | | items[].desc | string | 补充说明 | | items[].tag | string | 受众标签 |


Timeline

横向阶段线组件,适合展示项目排期、开发时间线。

<Timeline :steps="[
  {icon: '📄', label: '需求分析', period: '第1-2周', accent: '#F9D240'},
  {icon: '☁️', label: '后端开发', period: '第3-6周', accent: '#7EC8E3'},
  {icon: '📱', label: '前端开发', period: '第4-8周', accent: '#6BCB9C'},
  {icon: '🚀', label: '上线发布', period: '第10周', accent: '#C792EA'},
]" />

| 属性 | 类型 | 说明 | |------|------|------| | steps[].icon | string | 图标 emoji | | steps[].label | string | 阶段名称 | | steps[].period | string | 时间周期 | | steps[].desc | string | 补充描述 | | steps[].accent | string | 顶部色条颜色 |


样式工具类

数据展示

| 类名 | 作用 | |------|------| | .data-block | 数据指标容器(纯文字无背景) | | .data-value | 数据值(金黄大号加粗) | | .data-label | 数据标签(浅灰小字) |

Card 已统一支持四种容器形态(磨砂底/无背景/装饰条四方向),不再需要 .section-accent.highlight-box。旧类名仍兼容可用。


主题切换

在 slide 的 frontmatter 中添加 class 切换配色:

| class | 场景 | |-------|------| | —(默认) | 深紫哑光政务风 | | theme-light | 浅紫清爽,对外宣讲/答辩 | | theme-project | 浅灰白底,方案评审/商业计划 |

---
layout: circletl-br
class: "theme-project"
---

配色(默认主题)

| 用途 | 色值 | 说明 | |------|------|------| | 页面背景 | #42205C | 哑光深紫 | | 卡片底色 | #532B73 | 磨砂紫 | | 表头底色 | #4C2668 | 加深紫 | | 分割线 | #9D78C2 | 浅紫 | | 高亮数据 | #F9D240 | 金黄 | | 辅助文字 | #D1C4E0 | 浅灰紫 | | 总计/强调 | #9E2B42 | 暗酒红 |

开发

npm install
npm run dev      # 预览 example.md
npm run build    # 构建
npm run export   # 导出 PDF

Built with Slidev.