# DarkPixlz 的现代主题

**URL:** <https://meta.discourse.org/t/darkpixlzs-modern-theme/232543>\
**Category:** Theme\
**Tags:** deprecated\
**Created:** [2022年七月11日 18:29 UTC](https://meta.discourse.org/t/darkpixlzs-modern-theme/232543 "2022-07-11T18:29:15Z")\
**Posts on this page:** 20\
**Page:** 6

<div class="post-metadata">

**Author:** ![Ventrilo](https://avatars.discourse-cdn.com/v4/letter/v/b487fb/32.png) [@Ventrilo](https://meta.discourse.org/u/Ventrilo)\
**Post date:** [2024年一月8日 17:58 UTC](https://meta.discourse.org/t/darkpixlzs-modern-theme/232543/108 "2024-01-08T17:58:05Z")

</div>

嘿，我又要等 20 小时才能再次发帖了 @darkpixlz

是否可以像默认主题一样添加一个允许自定义 CSS 的文件？我无法用您的主题更改用户名/用户组颜色。

---

<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:** [2024年一月8日 17:59 UTC](https://meta.discourse.org/t/darkpixlzs-modern-theme/232543/109 "2024-01-08T17:59:30Z")

</div>

这是核心行为，它仅在您导航页面时显示加载栏，而不是在重新加载时显示。如果它一直在重新加载，那么您网站存在问题。

---

<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:** [2024年一月8日 18:35 UTC](https://meta.discourse.org/t/darkpixlzs-modern-theme/232543/110 "2024-01-08T18:35:50Z")

</div>

大家好，

还有一些不相关的事情，但我很快将开始对代码库进行全面重构。它存在很多 bug，混乱不堪，而且经常出问题。我将重写通用脚本并增加更多移动端兼容性。还将进行一些更普遍的设计更改，使其更现代化，而不是“2021 年的我”。

我会在此处更新。敬请期待！

---

<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:** [2024年三月21日 14:25 UTC](https://meta.discourse.org/t/darkpixlzs-modern-theme/232543/111 "2024-03-21T14:25:30Z")

</div>

您好，

抱歉昨天忘了宣布，但我对整体视觉风格做了一些更改。按钮现在是白色的，我修复了一些模糊问题，并稍微清理了代码。我还将我的另一个插件 Xreplace 添加到了主题中，因为我认为徽标很难看，并且不想在主题中使用它，哈哈。

这次更新幅度不大，但应该会让视觉效果更简洁！

---

<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:** [2024年四月7日 03:29 UTC](https://meta.discourse.org/t/darkpixlzs-modern-theme/232543/112 "2024-04-07T03:29:39Z")

</div>

大家好，

又推送了一个更新。修复了损坏的标记UI，并且我在所有地方都添加了混入（mixin），这应该能让我在未来几天内使一切更加定制化。请享用！

 ![image](https://global.discourse-cdn.com/meta/original/4X/0/3/4/034531581aba3d9a8048e5ef902e573d675ee703.jpeg)

---

<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:** [2024年四月11日 04:01 UTC](https://meta.discourse.org/t/darkpixlzs-modern-theme/232543/113 "2024-04-11T04:01:01Z")

</div>

大家好，

（差不多）两周年快乐！

目前，该主题的版本是 1（忽略 GitHub 的“发布”，它对主题作用不大）。它有点不一致，并且有很多问题。当我编写主题时，我对 CSS 略知一二，但对 JS 一无所知（我的 UI/UX 在 discourse 之外看起来像这样：[this](https://devforum-uploads.s3.dualstack.us-east-2.amazonaws.com/uploads/original/4X/4/1/4/4141ea69eff91761b3e7c0c323139ac0079d448e.jpeg)）。值得庆幸的是，这种情况已经大有改变，所以我计划在重写中更多地运用这些知识。（它不需要像现在这样有 2000 行！有趣的事实是：该主题曾经只是我 fork 的 Air 主题，在我删除了圆圈并添加了模糊效果后，我将其拆分成了自己的东西）

我计划在不久的将来发布 2.0 版本，带来新的代码、焕然一新的现代外观以及对新功能的更好兼容性。希望很快能在此处发布更多消息，最好在夏天之前！有关更新，您可以查看主题的 [dev-v2](https://github.com/darkpixlz/DarkPixlz-s-Modern-Theme/tree/dev-v2) 分支，该分支很快将开始推送。

抱歉让大家在黑暗中摸索了一段时间 😔。希望这个新时代能让主题变得更好！我将很快在此处发布有关设计决策（可能还会有一两个投票）以及更多内容的更新。感谢您一如既往的持续支持！

---

<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:** [2024年七月27日 00:59 UTC](https://meta.discourse.org/t/darkpixlzs-modern-theme/232543/114 "2024-07-27T00:59:40Z")

</div>

您好，

我其实没有怎么在 v2 上工作（因为我的 discourse 开发实例所在的服务器的硬盘在接触我放入其中的 SSD 时爆炸了 ☹），但请更新您的仓库 URL（应该是 [https://github.com/darkpixlz/DarkPixlz-s-Modern-Theme](https://github.com/darkpixlz/DarkPixlz-s-Modern-Theme) → [https://github.com/pyxfluff/darkpixlz-Modern-Theme](https://github.com/pyxfluff/darkpixlz-Modern-Theme)）！v2 可能会在不同的主题下发布，因为我无法编辑这个主题的名称，而且很可能还会有另一个名称，因为“pyxfluff’s modern theme”似乎不够专业 😭

再次感谢您的持续支持，我保证很快会带来更好的消息！

---

<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:** [2024年十月20日 23:36 UTC](https://meta.discourse.org/t/darkpixlzs-modern-theme/232543/115 "2024-10-20T23:36:58Z")

</div>

大家好：

再次抱歉，许久未更新。我仍然想继续重写，但一直在忙其他事情。这次我在自己的电脑上搭建了另一个测试站点，希望它能稳定运行。

我快速浏览了一下，发现有几个组件坏了。希望很快能修复它们。

重写最终会进行的——只是不知道什么时候。

我正在修复什么仍然不确定，但我希望很快能修复（我注意到员工标签坏了、模糊效果坏了，还有一些区域又出现了纯色背景）。模糊效果可能不会修复，留待重写时处理。

如果您也发现了任何问题，请告诉我，以便我将其添加到修复列表中，或者告知您目前是否为“不予修复”（WONTFIX）。

---

<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:** [2024年十月22日 00:44 UTC](https://meta.discourse.org/t/darkpixlzs-modern-theme/232543/116 "2024-10-22T00:44:32Z")

</div>

这里进行一个快速投票，以衡量大家对设计的兴趣，因为我目前正处于设计草拟阶段。哪一个更好？请在投票中投票，谢谢

_Poll ([view on site](https://meta.discourse.org/t/darkpixlzs-modern-theme/232543/116))_

---

<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:** [2024年十月23日 22:13 UTC](https://meta.discourse.org/t/darkpixlzs-modern-theme/232543/117 "2024-10-23T22:13:33Z")

</div>

感谢那些在投票中投票的人。我现在正在一个新存储库上开始重写，有兴趣的人可以在这里跟踪进度：

> **[GitHub - pyxfluff/moderntheme: Modern theme for Discourse.](https://github.com/pyxfluff/moderntheme)**
>
> Modern theme for Discourse.

---

<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:** [2024年十月23日 22:19 UTC](https://meta.discourse.org/t/darkpixlzs-modern-theme/232543/118 "2024-10-23T22:19:59Z")

</div>

如果您想跟踪实时演示的进度，您可以使用我的测试站点（请注意，由于系统资源限制，它仅在我积极测试时才在线）：

[https://test.notpyx.me](https://test.notpyx.me)

---

<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:** [2024年十月26日 04:50 UTC](https://meta.discourse.org/t/darkpixlzs-modern-theme/232543/119 "2024-10-26T04:50:38Z")

</div>

我将在此过程中转储进度，除非有人告诉我停止以使人们了解最新情况。我开始在初步设计方面取得重大进展，虽然不多，但目前是一个开始 😅

 ![image](https://global.discourse-cdn.com/meta/original/4X/e/2/6/e266177a7775e088bc5c9da63c75567e552c7455.jpeg)

---

<div class="post-metadata">

**Author:** ![Den](https://avatars.discourse-cdn.com/v4/letter/d/ce7236/32.png) [@Den](https://meta.discourse.org/u/Den)\
**Post date:** [2024年十月28日 02:04 UTC](https://meta.discourse.org/t/darkpixlzs-modern-theme/232543/120 "2024-10-28T02:04:43Z")

</div>

我在主题审核中遇到一个问题。

当我选择要删除或移动的帖子时：

 ![image](https://global.discourse-cdn.com/meta/original/4X/5/a/5/5a53455e2c73cfeefa3048624645f675e8ef5568.png)

本应出现一个浮动菜单：

 ![image](https://global.discourse-cdn.com/meta/original/4X/5/1/f/51f965a5fc770f46fb156f21d8c90938c9b00fcd.jpeg)

 ![此响应是弹出窗口的图像，提示用户选择所有帖子或删除选定的帖子。（由 AI 添加字幕）](https://global.discourse-cdn.com/meta/original/4X/4/9/9/4994b7bb9098a59ce6349bd6ab933d97a19eea91.png)  
相反，只有当我滚动到主题顶部时才会显示。如果主题有很多帖子，这需要很长时间。

这在 Edge/FF/Chrome 中都会发生。

一如既往，非常感谢这个很棒的主题！很高兴看到它仍然得到关注。

---

<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:** [2024年十月29日 12:58 UTC](https://meta.discourse.org/t/darkpixlzs-modern-theme/232543/122 "2024-10-29T12:58:48Z")

</div>

这很奇怪。这似乎很重要，所以我将在今天下午晚些时候尝试修复。

---

<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:** [2024年十一月16日 22:04 UTC](https://meta.discourse.org/t/darkpixlzs-modern-theme/232543/123 "2024-11-16T22:04:04Z")

</div>

又来分享一些关于个人资料的有趣内容 🙂

 ![image](https://global.discourse-cdn.com/meta/original/4X/6/e/7/6e746a29ae6847b0a47172a591851c615723f93e.jpeg)

---

<div class="post-metadata">

**Author:** ![Antonis\_Xenakis](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/antonis_xenakis/32/484431_2.png) [@Antonis\_Xenakis](https://meta.discourse.org/u/Antonis_Xenakis)\
**Post date:** [2025年二月3日 09:30 UTC](https://meta.discourse.org/t/darkpixlzs-modern-theme/232543/124 "2025-02-03T09:30:42Z")

</div>

嘿，哥们，我知道你有一段时间没弄这个主题了，不过干得不错。我想说有一个 bug，回复旁边的浏览量和主题上方的日期表头没有显示出来。浏览量显示在发帖人头像的左边，而且没有表头告诉你这个数字是浏览量，虽然 HTML 中的 th 元素存在。你能修复一下吗？

---

<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年二月3日 19:58 UTC](https://meta.discourse.org/t/darkpixlzs-modern-theme/232543/125 "2025-02-03T19:58:23Z")

</div>

> [@Antonis\_Xenakis](#):
>
> 我想说有一个bug，没有在主题上方的回复和日期表头旁边显示视图。视图显示在海报头像图片的左侧，并且没有表头告诉你这个数字是视图，尽管 HTML 中的 th 元素存在

这是一个长期存在的问题。我最后一次尝试修复它是在 2022 年，但没有成功。如果我将来回到重写，它会被修复，但我没有这样做，因为[我有其他优先事项。](https://github.com/pyxfluff)

不过也许有一天我会看看。修复bug的更新并非完全不可能，因为有很多长期存在的问题，我没有完全资格修复，但我仍然会看看。

---

<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年三月16日 20:25 UTC](https://meta.discourse.org/t/darkpixlzs-modern-theme/232543/126 "2025-03-16T20:25:11Z")

</div>

大家好，

我刚刚启动了自 2022 年以来的第一个正式实例。我知道现在编辑器和管理员界面状态不佳 😅  
我会看看是否能做一些快速修复。感谢您一直以来的支持！

---

<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日 02:59 UTC](https://meta.discourse.org/t/darkpixlzs-modern-theme/232543/127 "2025-03-17T02:59:34Z")

</div>

大家好，

我刚刚进行了许多修复，应该能解决大家之前遇到的_很多_问题！🎉 欢迎大家尝试。

我尝试检查了用户菜单，但无法弄清楚如何修复其背景模糊问题。如果有人能修复它，我将接受一个拉取请求，但我个人不知道如何修复它。

---

<div class="post-metadata">

**Author:** ![Yuuki\_Mizukami](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/yuuki_mizukami/32/507644_2.png) [@Yuuki\_Mizukami](https://meta.discourse.org/u/Yuuki_Mizukami)\
**Post date:** [2025年七月30日 11:17 UTC](https://meta.discourse.org/t/darkpixlzs-modern-theme/232543/128 "2025-07-30T11:17:06Z")

</div>

不错\>.\<

[上一頁](https://meta.discourse.org/t/darkpixlzs-modern-theme/232543.md?page=5)
