# @alexeira/paseo-vesper-theme 中文文档

规范地址：https://npmcn.com/package/%40alexeira/paseo-vesper-theme/

版本：0\.1\.0
npm 元数据更新时间：2026-10-17T17:50:04.884Z
中文译文更新时间：2026-11-08T14:42:43.971Z
软件包许可：MIT

本文由上游 README 翻译，可能存在偏差，请结合原文核对 API、命令与配置。版权与许可归原作者所有。

原始 npm 页面：https://www.npmjs.com/package/%40alexeira/paseo-vesper-theme
原文对照：https://npmcn.com/package/%40alexeira/paseo-vesper-theme/?lang=original
项目主页：https://github.com/alexeira/paseo-vesper-theme#readme
源码仓库：https://github.com/alexeira/paseo-vesper-theme

## 关键信息（来自 npm 元数据）

- 包体积（解压后）：655 kB，14 个文件
- 模块格式：ES Module
- TypeScript 类型：未声明
- 运行依赖：0 个
- 首次发布：2026-10-17T17:49:07.918Z
- 最新版本发布：2026-10-17T17:50:04.661Z
- 近 30 天下载量：1778（2026-10-06 至 2026-11-04，npm 官方下载统计）
- 已发布版本数：2（近 12 个月 2 个）

## 中文简介

用于Paseo的 Vesper 暗光主题,一种带有桃花口音的最小低相通调色板.

## 安装

```sh
npm install @alexeira/paseo-vesper-theme
```

也可以使用：`pnpm add @alexeira/paseo-vesper-theme`、`yarn add @alexeira/paseo-vesper-theme`、`bun add @alexeira/paseo-vesper-theme`

## README

# Paseo 的 Vesper 软件

黑暗和光线主题 [帕西奥](https://paseo.sh/) 基于 [韦斯珀](https://github.com/raunofreiberg/vesper):近黑或近白相间的表面,柔软的灰色文字和单一的桃花口音.

## 外观

![Vesper Dark](https://npmcn.com/package/%40alexeira/paseo-vesper-theme/assets/vesper-dark-markdown.png)

![Vesper Light](https://npmcn.com/package/%40alexeira/paseo-vesper-theme/assets/vesper-light-markdown.png)

**维斯珀黑暗** 坐着 `#101010` 有白话, `#A0A0A0` 辅助文本和 a `#FFC799` 桃花口音(原变种). 卡片、输入和代码块在小灰色增量中逐步增加(`#161616`, (中文(简体) ), `#1C1C1C`与 `#282828` 边框,所以界面读取为一个平坦,安静的表面.

**紫外线光** 使用白色背景 `#1A1A1A` 文本,则, `#777777` 辅助文本和 a `#BD5B00` 口音。 。 。 提高表面、输入和代码块的使用 `#FAFAFA` 财务报告和审定财务报表 `#F4F4F4` 与 `#E8E8E8` 边框.

**维斯珀光单人** 是相同的没有口音的发光调色板,因此按钮,选择和焦点使用文本颜色.

Paseo在背景颜色中以重音填充的元素来绘制文字,在光线主题中为白色. 最初的威斯珀轻口音 `#FFB066` 只有1.8: 1对白, 所以Vesper Light 保持它的色调在 `#BD5B00` (4.5:1)并Vesper Light Mono完全放弃.

| 脚本 | 维斯珀黑暗 | 紫外线光 | 维斯珀光单人 |
| --- | --- | --- | --- |
| `background` | `#101010` | `#FFFFFF` | `#FFFFFF` |
| `foreground` | `#FFFFFF` | `#1A1A1A` | `#1A1A1A` |
| `raised` | `#161616` | `#FAFAFA` | `#FAFAFA` |
| `control` | `#1C1C1C` | `#F4F4F4` | `#F4F4F4` |
| `border` | `#282828` | `#E8E8E8` | `#E8E8E8` |
| `accent` | `#FFC799` | `#BD5B00` | 无 |
| `mutedForeground` | `#A0A0A0` | `#777777` | `#777777` |
| `ring` | `#707070` | `#AAAAAA` | `#AAAAAA` |

使用代码块 `control` 作为他们的背景, `border` 作为他们的框架和 `foreground` 作为基础文本。 语法符号颜色出自于Paseo所选择的语法主题,状态颜色(成功,警告,危险)保留了Paseo的默认,因为插件主题API没有曝光.

## 安装

要求 Paseo 0.11.0 或稍后使用 **设置 – 插件 – 启用插件** 打开了.

```sh
paseo plugin add alexeira/vesper-theme
```

该包也可直接取自npm:

```sh
paseo plugin add npm:@alexeira/paseo-vesper-theme
```

## 激活

打开 **设置 外观 主题** 选择 **维斯珀黑暗**, (中文(简体) ), **紫外线光** 或者说 **维斯珀光单人**。如果插件被禁用或删除,Paseo会回到默认主题.

## 发展

```sh
npm install
npm run typecheck
paseo plugin install /absolute/path/to/paseo-vesper-theme
paseo plugin reload vesper-theme
```

## 贷项

-   [韦斯珀](https://github.com/raunofreiberg/vesper) 由Rauno Freiberg执导,麻省理工学院许可证.
-   [紫外线](https://github.com/omarrashad/obsidian-vesper) 由Omar Rashad所著"麻省理工学院许可证"所著"暗淡文字的来源","背景"和"口音颜色";"轻口音"被暗为对比.

两个上游主题都有MIT许可;这个插件也有MIT许可. 见 [自由主义](https://npmcn.com/package/%40alexeira/paseo-vesper-theme/LICENSE)。 。 。 .

## 常见问题

### @alexeira/paseo-vesper-theme 是什么？

用于Paseo的 Vesper 暗光主题,一种带有桃花口音的最小低相通调色板\.

### 如何安装 @alexeira/paseo-vesper-theme？

在项目目录运行 npm install @alexeira/paseo-vesper-theme，或使用 pnpm add / yarn add / bun add。

### @alexeira/paseo-vesper-theme 支持 TypeScript 吗？

该包的 package\.json 没有声明类型入口。需要类型提示时，可以在 npm 上查找社区维护的 @types/alexeira\_\_paseo-vesper-theme 是否存在。

### @alexeira/paseo-vesper-theme 支持 ESM 还是 CommonJS？

以 ES Module 形式发布，推荐使用 import 引入。在 CommonJS 项目中，Node\.js 20\.19\+ / 22\.12\+ 可以直接 require\(\) 不含顶层 await 的 ES Module，更早的版本需要改用动态 import\(\)。

### @alexeira/paseo-vesper-theme 可以商用吗？

@alexeira/paseo-vesper-theme 使用 MIT 许可。宽松许可：允许商业使用、修改和再分发，通常只需在分发时保留原版权与许可声明。以上为概括，不构成法律意见，请以许可原文为准。

### @alexeira/paseo-vesper-theme 的下载量有多少？

根据 npm 官方下载统计，@alexeira/paseo-vesper-theme 在 2026/10/06 – 2026/11/04 这 30 天内被下载 1,778 次，日均约 59 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入，适合横向比较热度，不能直接等同于使用人数。

### @alexeira/paseo-vesper-theme 还在维护吗？

最新版本 0\.1\.0 发布于 2026/10/18（21 天前）；至今共发布 2 个版本，其中过去 12 个月发布了 2 个；首次发布于 2026/10/18。发布频率只是参考信号：功能稳定的工具可能很少需要更新，建议结合源码仓库的 issue 和提交记录判断。

