# Codeblock Theme Picker

**URL:** <https://meta.discourse.org/t/codeblock-theme-picker/146396>\
**Category:** Theme component\
**Tags:** official, codeblock-theme-picker\
**Created:** [April 1, 2020, 6:53am UTC](https://meta.discourse.org/t/codeblock-theme-picker/146396 "2020-04-01T06:53:35Z")\
**Posts on this page:** 1\
**Showing post:** 28

<div class="post-metadata">

**Author:** ![jordan-violet](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jordan-violet/32/281428_2.png) [@jordan-violet](https://meta.discourse.org/u/jordan-violet)\
**Post date:** [May 15, 2024, 5:17pm UTC](https://meta.discourse.org/t/codeblock-theme-picker/146396/28 "2024-05-15T17:17:32Z")

</div>

Just found this theme component—so glad this exists! I notice that the setting `hljs dark match` does not seem to work.

For example, we have `hljs theme` set to `atom-one-light` (to which there also exists, `atom-one-dark`).

Upon refreshing, the `atom-one-light` takes while in dark mode, but the code block does not switch to dark when switching to dark mode—it stays as light.

---

_[View the full topic](https://meta.discourse.org/t/codeblock-theme-picker/146396)._
