# Change theme options from code

**URL:** <https://discourse.nodered.org/t/change-theme-options-from-code/40506>\
**Category:** Dashboard\
**Created:** [6 February 2021 17:34 UTC](https://discourse.nodered.org/t/change-theme-options-from-code/40506 "2021-02-06T17:34:14Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![hotNipi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hotnipi/32/383_2.png) [@hotNipi](https://discourse.nodered.org/u/hotNipi)\
**Post date:** [11 February 2021 08:31 UTC](https://discourse.nodered.org/t/change-theme-options-from-code/40506/5 "2021-02-11T08:31:21Z")

</div>

It does not work that way. This color is not used as color value directly. It is base value. Actual colors for classes and element id-s are created according to this base value way before the page is created. it will be too late to change the base value if all calculations are already done.

Look at the example here and try to play with it. Change values and see how it will affect the elements on page. There is no other way to learn it but doing it 🙂

> [@paintbrush Customize dashboard CSS](https://discourse.nodered.org/t/customize-dashboard-css/23139):
>
> Couple of things first.. Many things can happen if you start to play with CSS. You may break whole thing, but you can make your page really good looking. But be aware that it can be addictive. The result of your adjustments is art. So if you are changing CSS for your dashboard, you are an artist. (and a little bit a programmer of course) I'm not an expert of art nor the CSS. The tools Browser developer tools. [https://developers.google.com/web/tools/chrome-devtools/css](https://developers.google.com/web/tools/chrome-devtools/css) The main too…

---

_[View the full topic](https://discourse.nodered.org/t/change-theme-options-from-code/40506)._
