# Change md-switch color of default icon

**URL:** <https://discourse.nodered.org/t/change-md-switch-color-of-default-icon/48499>\
**Category:** Dashboard\
**Created:** [16 July 2021 16:48 UTC](https://discourse.nodered.org/t/change-md-switch-color-of-default-icon/48499 "2021-07-16T16:48:41Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![Gunner](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gunner/32/43582_2.png) [@Gunner](https://discourse.nodered.org/u/Gunner)\
**Post date:** [17 July 2021 02:31 UTC](https://discourse.nodered.org/t/change-md-switch-color-of-default-icon/48499/8 "2021-07-17T02:31:40Z")

</div>

> [@Comawhite54](#):
>
> Yet I still hope we will get more info about how to trick the css or how to create a template based on the default design.

I am thinking there is no way, at least with the switch (Button, yes, Switch???)... otherwise it should have shown up somewhere by now. But my limited searching has yet to find it.

Aaaannnd... shortly after saying that I find this... But I don't think it is quite the same thing as the default switch???

> [@Md-switch in template node 19.6 vs 20.5](https://discourse.nodered.org/t/md-switch-in-template-node-19-6-vs-20-5/11063/4):
>
> That example works fine for me. Switches between red (off) and blue (on). Using Vivaldi (Chromium based) latest build. 13 May 16:36:39 - [info] Node-RED version: v0.20.5 13 May 16:36:39 - [info] Node.js version: v10.15.3 13 May 16:36:39 - [info] Windows\_NT 10.0.17763 x64 LE

---

_[View the full topic](https://discourse.nodered.org/t/change-md-switch-color-of-default-icon/48499)._
