# 如何控制配色方案以获得深色或浅色徽标？

**URL:** <https://meta.discourse.org/t/how-to-control-if-a-color-scheme-gets-the-dark-or-the-light-logo/276526>\
**Category:** Support\
**Created:** [2023年八月24日 23:09 UTC](https://meta.discourse.org/t/how-to-control-if-a-color-scheme-gets-the-dark-or-the-light-logo/276526 "2023-08-24T23:09:15Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)\
**Post date:** [2023年八月24日 23:35 UTC](https://meta.discourse.org/t/how-to-control-if-a-color-scheme-gets-the-dark-or-the-light-logo/276526/2 "2023-08-24T23:35:35Z")

</div>

你好 @FroggyC 👋

也许这些会有帮助：

> [@Automatic Dark Mode color scheme switching](https://meta.discourse.org/t/automatic-dark-mode-color-scheme-switching/161593):
>
> You can now set up your Discourse site to automatically switch color schemes when the user’s device is in dark mode. For a quick preview, head over to the [try.discourse.org](http://try.discourse.org) instance and toggle your device’s dark mode on and off to see this new feature in action. (This feature not enabled on meta.) Enabling automatic dark mode To enable this feature on your instance, you can pick the dark mode color scheme in your site settings: Once that setting is set, you can reload your site with …

> [@Is it possible to set logo image per theme?](https://meta.discourse.org/t/is-it-possible-to-set-logo-image-per-theme/203537):
>
> The logo, that is black color in a light theme, becomes invisible when switching to a (material design) dark theme. So, it’d be convenient to set a logo per a theme.

> [@Force Dark Mode Logo](https://meta.discourse.org/t/force-dark-mode-logo/187251/4):
>
> Sorry but I don’t think I understand what you want to accomplish. Please correct me if I’m wrong: You have two logos: one blue and one white. The blue logo is for your theme in a color palette with white background. And you want the white logo to show up with a different theme that has a color palette with a black header, correct? For the dark mode logo to show up, you have to create the color palette from one of the dark base palettes (like Dark and WCAG Dark) then adjust the colors to your …

> [@Logo-related features](https://meta.discourse.org/t/logo-related-features/276471):
>
> Could we get a “logo dark” option? And maybe even a “Use default site logos” checkbox?! (I hope to contribute to this kind of thing soon, but above my coding pay grade at the moment. Thank you for a wonderful component!)

---

_[View the full topic](https://meta.discourse.org/t/how-to-control-if-a-color-scheme-gets-the-dark-or-the-light-logo/276526)._
