# Is there a CSS way to modify specific items in dark mode?

**URL:** https://meta.discourse.org/t/is-there-a-css-way-to-modify-specific-items-in-dark-mode/278613
**Category:** Development
**Tags:** auto-dark
**Created:** [March 24, 2023, 9:35pm UTC](https://meta.discourse.org/t/is-there-a-css-way-to-modify-specific-items-in-dark-mode/278613 "2023-03-24T21:35:08Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [April 17, 2023, 1:28pm UTC](https://meta.discourse.org/t/is-there-a-css-way-to-modify-specific-items-in-dark-mode/278613/2 "2023-04-17T13:28:52Z")

</div>

hey @satonotdead 🙂

I’m not 100% sure I understand your request, but could this help?

> [@Is there a way to detect dark mode usage?](https://meta.discourse.org/t/is-there-a-way-to-detect-dark-mode-usage/261821):
>
> Is there a way in a plugin / theme component to detect if the current theme is using dark mode? Alternately, is there a way to get the active theme ID? Or should we create different theme components for light themes and dark themes?

---

_[View the full topic](https://meta.discourse.org/t/is-there-a-css-way-to-modify-specific-items-in-dark-mode/278613)._
