# SOLVED: Phantom colours

**URL:** <https://forum.bricksbuilder.io/t/solved-phantom-colours/3924>\
**Category:** Bugs\
**Created:** [July 6, 2022, 8:33am UTC](https://forum.bricksbuilder.io/t/solved-phantom-colours/3924 "2022-07-06T08:33:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ainom](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/ainom/32/1220_2.png) [@ainom](https://forum.bricksbuilder.io/u/ainom)\
**Post date:** [July 6, 2022, 8:33am UTC](https://forum.bricksbuilder.io/t/solved-phantom-colours/3924/1 "2022-07-06T08:33:40Z")

</div>

**Bricks Version** : 1.5b

On this page: [https://vigscooters.com/real-home/](https://vigscooters.com/real-home/)

I have my button theme styles set like this:

 ![Screen Shot 2022-07-06 at 1.26.40 AM](https://forum.bricksbuilder.io/uploads/default/original/2X/5/510b776fb07dd13d24f043e3ed02fd3ef29eab08.png)

ANd I’ve added a button with Secondary styling:  
 ![Screen Shot 2022-07-06 at 1.30.54 AM](https://forum.bricksbuilder.io/uploads/default/original/2X/2/282d5bd7dbda80c8bea57252c37f5f9125e048a9.png)

But the HTML is output like this:

 ![Screen Shot 2022-07-06 at 1.27.20 AM](https://forum.bricksbuilder.io/uploads/default/original/2X/f/f2f0605505fe7ecfa749f28201c4188bb084351d.png)

…which is totally wrong. The button should be orange. If I set the button’s ID to orange I can override it (which is how it will be if you see the page) but this is a bug.

---

<div class="post-metadata">

**Author:** ![timmse](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/timmse/32/1192_2.png) [@timmse](https://forum.bricksbuilder.io/u/timmse)\
**Post date:** [July 6, 2022, 3:18pm UTC](https://forum.bricksbuilder.io/t/solved-phantom-colours/3924/2 "2022-07-06T15:18:24Z")

</div>

Hi Eric,  
Thanks so much for your report!

:root .bricks-background-secondary comes from the color settings of the theme styles, which will be deprecated soon. So I would recommend you stop using these colors and remove them completely. Probably that will solve your problem as well. Let me know if it works 🙂

Best regards,  
timmse

 ![Bildschirmfoto 2022-07-06 um 15.29.00](https://forum.bricksbuilder.io/uploads/default/original/2X/b/bfc29d7a2f26a5c7199323d2dd8aec1f92f16004.png)

---

<div class="post-metadata">

**Author:** ![ainom](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/ainom/32/1220_2.png) [@ainom](https://forum.bricksbuilder.io/u/ainom)\
**Post date:** [July 6, 2022, 5:44pm UTC](https://forum.bricksbuilder.io/t/solved-phantom-colours/3924/3 "2022-07-06T17:44:11Z")

</div>

Yes that was it. But it’s too bad these will be depreciated as I always set up these colours to uniformly set headings and text. It was a fantastic feature.

---

<div class="post-metadata">

**Author:** ![timmse](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/timmse/32/1192_2.png) [@timmse](https://forum.bricksbuilder.io/u/timmse)\
**Post date:** [July 7, 2022, 10:04am UTC](https://forum.bricksbuilder.io/t/solved-phantom-colours/3924/4 "2022-07-07T10:04:29Z")

</div>

Yes, but you can also easily solve this using the Color Palettes and CSS variables, which is definitely the better solution in the long run.

The Theme Style Colors are leftover from the first days of Bricks when there were no Color Palettes.

Best regards,  
timmse
