# How do you set alternating colors in the list of topics

**URL:** https://meta.discourse.org/t/how-do-you-set-alternating-colors-in-the-list-of-topics/46768
**Category:** Development
**Created:** [03.Июль.2016 10:52:26 UTC](https://meta.discourse.org/t/how-do-you-set-alternating-colors-in-the-list-of-topics/46768 "2016-07-03T10:52:26Z")
**Posts on this page:** 1
**Showing post:** 15

<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: [14.Февраль.2023 16:22:52 UTC](https://meta.discourse.org/t/how-do-you-set-alternating-colors-in-the-list-of-topics/46768/15 "2023-02-14T16:22:52Z")

</div>

Эта тема может ответить на ваш вопрос 🙂 :

> [@No specific class for dark mode](https://meta.discourse.org/t/no-specific-class-for-dark-mode/254984?u=canapin):
>
> Continuing the discussion from [How to add a specific body class for the dark (or light) mode?](https://meta.discourse.org/t/how-to-add-a-specific-body-class-for-the-dark-or-light-mode/220062/10): Is this still the case? I’d like to add specific CSS for an external widget (a leaflet map) when dealing with a dark theme, is it still not possible to identify using just a CSS selector? Of course I can just create a Theme Component to apply the changes and assume the admin just adds that to the Dark Scheme, but that won’t switch automatically … (which is [the current solution](https://meta.discourse.org/t/locations-plugin/69742/841))

---

_[View the full topic](https://meta.discourse.org/t/how-do-you-set-alternating-colors-in-the-list-of-topics/46768)._
