# 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:** 5

<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:** [2023年七月22日 06:51 UTC](https://meta.discourse.org/t/darkpixlzs-modern-theme/232543/88 "2023-07-22T06:51:13Z")

</div>

大家好，

正如我承诺的那样，我将继续支持小的 Discourse 更改，因此我发布了一个小的更新，修复了以下问题：

1. 用户卡片不再像其他 div 一样动画式地固定到您的位置
2. 修复了 onebox

 ![image](https://global.discourse-cdn.com/meta/original/4X/0/9/5/095e805f0e96daa4226c689993082861ddfe7728.jpeg)

1. 我尝试隐藏用户菜单中的边框，因为我觉得它很难看，我可能会在下一个补丁中恢复它

 ![image](https://global.discourse-cdn.com/meta/original/4X/d/c/8/dc88c2fc9abbb81a73320430c7bc9ccac7e4b548.png)

1. 徽章已修复

 ![image](https://global.discourse-cdn.com/meta/original/4X/0/7/8/078bb4ef35511876a6a5cb7a2993967c499ed882.jpeg)

1. 修复了侧边栏下拉菜单

 ![image](https://global.discourse-cdn.com/meta/original/4X/5/b/d/5bdd23927bb64bb5b57b0b98937f00767e73af35.jpeg)

1. 模态框也已修复（有模糊，滚动时效果最佳）

 ![image](https://global.discourse-cdn.com/meta/original/4X/d/6/f/d6fd111654bdbe34f5cd6b9766694b4d91ba8b8e.jpeg)

1. 我删除了帖子轮廓，因为它看起来比我之前想象的要差得多。如果您希望它回来或获得一个设置，请告诉我，我可能会设法实现它。

再次感谢您的持续支持 - 这并不是一个重大的内容更新，只是随着 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:** [2023年十一月23日 03:49 UTC](https://meta.discourse.org/t/darkpixlzs-modern-theme/232543/89 "2023-11-23T03:49:43Z")

</div>

大家好，

我注意到模态框已完全损坏。

如果有人想修复它，可以自己动手，否则我将在几天内处理。不确定何时或发生了什么变化，但它目前正在破坏主题。

 ![image](https://global.discourse-cdn.com/meta/original/4X/3/9/e/39eca0b8097ba009d107ed30a729fc1f492f0326.png)

用户卡片似乎也已损坏。

---

<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:** [2023年十一月23日 06:06 UTC](https://meta.discourse.org/t/darkpixlzs-modern-theme/232543/90 "2023-11-23T06:06:21Z")

</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:** [2023年十一月24日 18:18 UTC](https://meta.discourse.org/t/darkpixlzs-modern-theme/232543/91 "2023-11-24T18:18:36Z")

</div>

忘了说，但昨晚我出于无聊发布了一个小小的功能更新。没什么重大的，我做了以下更改：

- 更新了管理员页面

管理员页面已全部重做。

 ![image](https://global.discourse-cdn.com/meta/original/4X/8/4/0/8403a2901d724eadbfecdcae60086f25efa17562.jpeg)  
 ![image](https://global.discourse-cdn.com/meta/original/4X/0/6/5/0654242ed1d33971412aa31347865d739ac8e762.jpeg)

- 设置

现在默认启用全宽。我不会移除该选项，但现在是选择退出。

- 模态框

与昨天的更改一样，它们已修复，并采用了新外观。我删除了无用的“取消”文本，并使整个背景不再模糊。

 ![image](https://global.discourse-cdn.com/meta/original/4X/c/7/6/c7615a1a44a074a097271313bc98049a7e624532.png)  
 ![image](https://global.discourse-cdn.com/meta/original/4X/d/9/f/d9fa98230fc5ecf2860a7123bb827bac88b9a436.jpeg)

我非常喜欢无边框设计，并可能开始将其推广到更多地方。

- 聊天

这是我第四次更改所有内容，但希望这次更改已告一段落。

 ![image](https://global.discourse-cdn.com/meta/original/4X/d/b/2/db2af165168ff2bb898741600d73d5d9e24d4157.png)  
 ![image](https://global.discourse-cdn.com/meta/original/4X/a/2/3/a23da17411039dbf21b90dfd1bfa856d5d45ac56.png)

- 徽章

我也重新设计了徽章的整体样式。

 ![image](https://global.discourse-cdn.com/meta/original/4X/c/6/0/c60058d6237af33c998c4b4e6447eb32fce6cdb2.jpeg)  
 ![image](https://global.discourse-cdn.com/meta/original/4X/9/8/e/98eea9d42950043422182336a2afc964846ac150.jpeg)

目前就这些。不要期望这些更新会很频繁，我只是为了好玩而修补了一些圆角。重写一个长达 2500 行的脚本会非常困难。

---

<div class="post-metadata">

**Author:** ![ThePastaDude](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thepastadude/32/348609_2.png) [@ThePastaDude](https://meta.discourse.org/u/ThePastaDude)\
**Post date:** [2023年十二月13日 10:57 UTC](https://meta.discourse.org/t/darkpixlzs-modern-theme/232543/92 "2023-12-13T10:57:27Z")

</div>

出色的主题，非常感谢您的制作。  
我知道您没有花时间在这上面，但我想让您知道我遇到的两个问题；  
1- 用户菜单的背景不知何故没有显示模糊，它是完全透明的

 ![image](https://global.discourse-cdn.com/meta/original/4X/7/4/f/74f2e480ca5e92212ac861537815f5a5a906fbac.png)

---

<div class="post-metadata">

**Author:** ![ThePastaDude](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thepastadude/32/348609_2.png) [@ThePastaDude](https://meta.discourse.org/u/ThePastaDude)\
**Post date:** [2023年十二月13日 10:58 UTC](https://meta.discourse.org/t/darkpixlzs-modern-theme/232543/93 "2023-12-13T10:58:04Z")

</div>

2-当新用户加入并想撰写帖子或评论时，他们的文字会显示在自动发布的“新帖子帮助工具”的上方。

 ![image](https://global.discourse-cdn.com/meta/original/4X/f/4/0/f403ca0656a1009d2df2f10f4fd57d719f74c9e8.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:** [2023年十二月13日 13:45 UTC](https://meta.discourse.org/t/darkpixlzs-modern-theme/232543/94 "2023-12-13T13:45:28Z")

</div>

> [@ThePastaDude](#):
>
> 1- 用户菜单的背景不知何故没有显示为模糊，它是完全透明的

这是 Chrome 渲染不佳的问题。我不确定是什么原因造成的，但我无法修复。总的来说，我建议改用 Firefox，因为我正在使用它，而且它可能会得到最好的支持。

> [@ThePastaDude](#):
>
> 2- 当新用户加入并想撰写帖子或评论时，他们的文字会显示在自动的“2 次新帖子帮助工具”的顶部

这可能是另一个 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:** [2023年十二月13日 20:01 UTC](https://meta.discourse.org/t/darkpixlzs-modern-theme/232543/95 "2023-12-13T20:01:00Z")

</div>

实际上，完全可能是这样。[Preparing for Discourse's upgrade to Ember 5](https://meta.discourse.org/t/preparing-for-discourses-upgrade-to-ember-5/287211?u=darkpixlz)

你用的是 Ember 5 吗？我几周前才更新了它，他们已经完全重做了框架了 ☹。最终我_不得不_让它兼容。如果它再次破坏了模态框，我会很不高兴。

---

<div class="post-metadata">

**Author:** ![ThePastaDude](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thepastadude/32/348609_2.png) [@ThePastaDude](https://meta.discourse.org/u/ThePastaDude)\
**Post date:** [2023年十二月14日 09:38 UTC](https://meta.discourse.org/t/darkpixlzs-modern-theme/232543/96 "2023-12-14T09:38:05Z")

</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:** [2023年十二月14日 18:19 UTC](https://meta.discourse.org/t/darkpixlzs-modern-theme/232543/97 "2023-12-14T18:19:58Z")

</div>

如果您发现您的网站有其他地方出现问题，请告诉我，以便我修复（或至少尝试修复）。核心功能完成后，我会发布一个完整的补丁。

---

<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日 14:36 UTC](https://meta.discourse.org/t/darkpixlzs-modern-theme/232543/98 "2024-01-08T14:36:56Z")

</div>

我创建了一个自定义颜色选择器，但在主题设置中将其保存为选定选择器时，颜色并未更改。

[[Album] imgur.com ![](https://global.discourse-cdn.com/meta/original/4X/f/7/5/f752ff85b2759edccd653e0085f8b8e39001f3d0.jpeg "imgur.com") ](https://imgur.com/a/H2AHOhN)

---

<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日 14:40 UTC](https://meta.discourse.org/t/darkpixlzs-modern-theme/232543/99 "2024-01-08T14:40:56Z")

</div>

您好，您能分享一下您的完整主题配置吗？

---

<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日 14:42 UTC](https://meta.discourse.org/t/darkpixlzs-modern-theme/232543/100 "2024-01-08T14:42:51Z")

</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日 14:44 UTC](https://meta.discourse.org/t/darkpixlzs-modern-theme/232543/101 "2024-01-08T14:44:04Z")

</div>

如果你愿意，可以私信我。不是网站设置，只是主题。

---

<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日 16:42 UTC](https://meta.discourse.org/t/darkpixlzs-modern-theme/232543/102 "2024-01-08T16:42:08Z")

</div>

我解决了之前的问题，但现在当我添加个人资料标题时，会出现这种情况；

 ![image](https://global.discourse-cdn.com/meta/original/4X/5/7/d/57df717ae05d2d1c30d922348f18fbacadd775a6.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年一月8日 16:42 UTC](https://meta.discourse.org/t/darkpixlzs-modern-theme/232543/103 "2024-01-08T16:42:46Z")

</div>

这是预期行为。如果需求足够，我最终可能会添加一个选项。

---

<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日 16:45 UTC](https://meta.discourse.org/t/darkpixlzs-modern-theme/232543/104 "2024-01-08T16:45:06Z")

</div>

如果用户上传了图片，是否有办法使用自定义 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:32 UTC](https://meta.discourse.org/t/darkpixlzs-modern-theme/232543/105 "2024-01-08T17:32:24Z")

</div>

我回来后会有一个更新，添加一个设置

---

<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:37 UTC](https://meta.discourse.org/t/darkpixlzs-modern-theme/232543/106 "2024-01-08T17:37:50Z")

</div>

太棒了！您能否也考虑将此作为一种选项？

该主题的浏览量和评论/统计数据目前显示如下：

 ![image](https://global.discourse-cdn.com/meta/original/4X/8/e/9/8e98457a7399e748f95cd5669c582abfb8b98b32.png)

但我更希望它们在表格中显示如下：

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

---

<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:41 UTC](https://meta.discourse.org/t/darkpixlzs-modern-theme/232543/107 "2024-01-08T17:41:44Z")

</div>

我也会看看那个。我不确定我什么时候会添加它，但我可能是为了节省空间。我尽量不怎么修改 HTML，所以不确定我为什么会那样做。

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

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