# Pyx 的现代主题

**URL:** <https://meta.discourse.org/t/pyxs-modern-theme/357665>\
**Category:** Theme\
**Created:** [2025年三月17日 23:17 UTC](https://meta.discourse.org/t/pyxs-modern-theme/357665 "2025-03-17T23:17:47Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![darkpixlz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/darkpixlz/32/549896_2.png) [@darkpixlz](https://meta.discourse.org/u/darkpixlz)\
**Post date:** [2025年三月17日 23:17 UTC](https://meta.discourse.org/t/pyxs-modern-theme/357665/1 "2025-03-17T23:17:47Z")

</div>

| | | |
| --- | --- | --- |
| ℹ | **摘要** | Pyx’s Modern Theme 是 [darkpixlz’s Modern Theme](https://meta.discourse.org/t/darkpixlzs-modern-theme/232543/127) 的继任者。 |
| 👓 | **预览** | [Theme Creator](https://discourse.theme-creator.io/theme/darkpixlz/pyx-modern-theme) |
| 🛠 | **代码库** | [GitHub - pyxfluff/moderntheme: Modern theme for Discourse. · GitHub](https://github.com/pyxfluff/moderntheme) |
| ❓ | **安装指南** | [如何安装主题或主题组件](https://meta.discourse.org/t/how-do-i-install-a-theme-or-theme-component/63682) |
| 📖 | **Discourse 主题新手？** | [Discourse 主题使用入门指南](https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966) |
| ❤ | **喜欢这个主题？** | 通过 [Github Sponsors](https://github.com/sponsors/pyxfluff) 支持我的工作和主题！ |

安装此主题

 ![此图片展示了“Pyx's Modern Theme”的标题屏幕，这是一种现代且一体化的主题设计。（由 AI 添加说明）](https://global.discourse-cdn.com/meta/original/4X/c/b/5/cb5a205bbfb12091d4c2fed75b60db6fcb6ad8e9.jpeg)

Pyx’s Modern Theme 是我旧主题 [darkpixlz’s Modern Theme](https://meta.discourse.org/t/darkpixlzs-modern-theme/232543/127) 的继任者，后者是 Air 主题的分支。它大约有 2500 行代码且存在许多问题，因此我重写了它！

## 截图

 ![image](https://global.discourse-cdn.com/meta/original/4X/4/2/4/424e5482a3eb7a9bdb06f7282b40591f73db1667.jpeg)  
 ![image](https://global.discourse-cdn.com/meta/original/4X/0/9/5/095a63bb906d94e80bbce7b9e11962ff925fcbb6.jpeg)  
 ![image](https://global.discourse-cdn.com/meta/original/4X/c/4/9/c4940faf329fce7f02f4c557d69cbf90a939ad0c.jpeg)  
 ![image](https://global.discourse-cdn.com/meta/original/4X/8/1/7/8175c5e029c039c339bb398260e0e97482e34034.jpeg)  
 ![image](https://global.discourse-cdn.com/meta/original/4X/6/4/2/642dd2ea2b8862ad009929ef57c95b96afb7c974.jpeg)  
 ![image](https://global.discourse-cdn.com/meta/original/4X/2/9/8/298184288e8acbc0bb32b1407f622f4b7c5dca76.jpeg)  
 ![image](https://global.discourse-cdn.com/meta/original/4X/e/2/e/e2ed44bde83b27c5ca0547ca228f92efcfb2315d.jpeg)  
 ![image](https://global.discourse-cdn.com/meta/original/4X/a/3/2/a3295f1d0016416501a821480a2b87007cc634f8.jpeg)  
 ![image](https://global.discourse-cdn.com/meta/original/4X/d/8/b/d8b21006a5457c3178518b1aedf16f134d3dbae1.jpeg)

## 无背景图片样式

 ![image](https://global.discourse-cdn.com/meta/original/4X/e/9/1/e91af9b83b7e0666d8c8e63fbb67ebc646d2bcdf.jpeg)  
 ![image](https://global.discourse-cdn.com/meta/original/4X/c/e/5/ce560ff6f9879c3a670d2a87917e9c2825b93eb9.jpeg)  
 ![image](https://global.discourse-cdn.com/meta/original/4X/b/6/4/b64f75d72050b214b51570bfecd286cdd681d535.jpeg)  
 ![image](https://global.discourse-cdn.com/meta/original/4X/9/a/3/9a33af9ede09c0db3b1db47fd5e5f1ff135ecb5b.png)

## 特性

- 现代一体化设计，可选择是否使用背景图片
- 支持完整的 Discourse 核心及许多插件
- 支持所有现代核心功能
- 可自定义背景图片
- 添加 `--user-bg-url` 属性，供插件读取用户个人资料中的背景图片
- 众多设置和选项

## 插件

我旨在支持大多数核心插件。下方是一些插件截图（非详尽列表）。

 ![image](https://global.discourse-cdn.com/meta/original/4X/1/f/e/1fe3732694bda86dd789b21592e1b019915a0f76.png)  
 ![image](https://global.discourse-cdn.com/meta/original/4X/a/2/6/a266186be787c53e374542e383f33502ffecd65c.jpeg)

非常欢迎对代码库做出任何贡献，并（大概）会在当天进行审查。有评论或想法？请在此回复。遇到问题？请提交 GitHub Issue，这样更便于跟踪。

 _请注意，我仅在 Firefox 上测试我的所有样式；如果 Chromium 出现异常，请随时提交报告。移动端会在每次更新后进行检查，通常应能良好支持。_ 

暂时就这些——请享受这个主题！

---

_[View the full topic](https://meta.discourse.org/t/pyxs-modern-theme/357665)._
