pi-candy-themes
Selenized themes for Pi, based on Jan Warchoł's Selenized color palette.
Package details
Install pi-candy-themes from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:pi-candy-themes- Package
pi-candy-themes- Version
1.0.0- Published
- Sep 20, 2026
- Downloads
- 196/mo · 11/wk
- Author
- candymuj
- License
- MIT
- Types
- theme
- Size
- 19.5 KB
- Dependencies
- 0 dependencies · 2 peers
Pi manifest JSON
{
"themes": [
"./themes"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
pi-candy-themes
面向 Pi 的 Selenized 主题插件,为程序员精心调校的配色,专注于可读性与降低视疲劳。
配色表大部分来自 Gogh 收录的 Selenized 配色方案 (原始 Selenized 调色板由 Jan Warchoł 设计)。
主题
共包含 4 个变体,对应 Selenized 的 4 种背景色调:
| 主题 | 背景 | 前景 | Gogh 对应配色 |
|---|---|---|---|
candy-selenized-black |
#181818 |
#b9b9b9 |
Selenized Black |
candy-selenized-dark |
#103c48 |
#adbcbc |
Selenized Dark |
candy-selenized-light |
#fbf3db |
#53676d |
Selenized Light |
candy-selenized-white |
#ffffff |
#474747 |
Selenized White |
安装
npm 安装
pi install npm:pi-candy-themes
pi -e npm:pi-candy-themes # 临时试用,不写入配置
本地安装
git clone https://github.com/CandyMuj/pi-candy-extensions.git
cd pi-candy-extensions/pi-candy-themes # 进入插件目录
pi install . # 安装当前目录
pi -e . # 临时试用,不写入配置
本主题包无第三方依赖,两种方式都无需额外 npm install。
安装后可通过 /settings 选择主题,或在配置文件中直接设置:
{
"theme": "candy-selenized-dark"
}
主题中的图标需要 Nerd Fonts 才能正常显示(否则会出现方块或乱码):字体资源(0xProto、Sarasa Term SC Nerd)见仓库 Releases。
调色板
每个主题使用其色调对应的 Selenized 配色方案(Gogh 终端配置中的 16 色 ANSI 配色, 外加仅用于 GUI 的橙色/紫色强调色)。
以 Selenized Black 的强调色为例:
| 名称 | Hex |
|---|---|
| red | #ed4a46 |
| green | #70b433 |
| yellow | #dbb32d |
| blue | #368aeb |
| magenta | #eb6eb7 |
| cyan | #3fc5b7 |
| orange | #e67f43 |
| violet | #a580e2 |
重新生成
主题文件由 scripts/generate-themes.mjs 中的调色板数据生成,
保留该脚本便于后续 AI 编码时快速熟悉结构:
node scripts/generate-themes.mjs
许可证
MIT。Selenized 调色板由 Jan Warchoł 设计,配色收录自 Gogh。