I’ve tried to create a completely custom color scheme by defining my colors in the about.json file of my theme on GitHub.
Unfortunately only some of my color definitions are being respected in the site.
For example, in my json scheme I define: "success_low": "DDE2B2”,
However my style guide shows a different (computed) color for var(--success-low)
I’ve read through all the guides and it seems maybe the json palette definitions are not all used and instead discourse is computing some of the values on its own and not respecting my definition.
Do I need to instead hard code the colors in a css variables file? Will these override the computed values? Where and how should I do this? I’d like to define every single color for both light and dark mode in discourse, I don’t like any of the computed values.
Thanks for any help. It’s been very hard to wrap my head around how all this stuff works, what takes priority in the final css, etc.
update: this post would seem to contradict my troubleshooting:
So it leaves me more confused about why discourse still seems to be auto generating colors