# 用一个深度定制的深色主题制作浅色主题的最简单方法是什么

**URL:** <https://meta.discourse.org/t/whats-the-easiest-way-to-make-a-light-theme-using-a-dark-theme-that-has-heavy-customizaiton/396639>\
**Category:** Development\
**Created:** [2026年二月20日 21:42 UTC](https://meta.discourse.org/t/whats-the-easiest-way-to-make-a-light-theme-using-a-dark-theme-that-has-heavy-customizaiton/396639 "2026-02-20T21:42:36Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)\
**Post date:** [2026年二月20日 21:54 UTC](https://meta.discourse.org/t/whats-the-easiest-way-to-make-a-light-theme-using-a-dark-theme-that-has-heavy-customizaiton/396639/4 "2026-02-20T21:54:25Z")

</div>

这取决于情况。只有当您使用了硬编码的颜色时，才需要这样做。只要您引用像 `var(--primary-300)` 或 `var(--danger)` 这样的颜色，它们就会根据调色板自动更改。

---

_[View the full topic](https://meta.discourse.org/t/whats-the-easiest-way-to-make-a-light-theme-using-a-dark-theme-that-has-heavy-customizaiton/396639)._
