So, I have reported the issue that we’re having with custom themes messing up the button’s gradient color.
Turns out the custom themes are not generating the needed overwrites for variants of --color-primary that the buttons use for gradients and they are not explicitly allowing users to change them through their color picker. This leads to a bad customization experience.
How to fix this (desktop client is recommended for this operation):
- Click on the “Theme” button on the left sidebar.
- Select your beautiful custom theme.
- Click on “Export”. Your theme will be copied to your clipboard.
- Paste your theme in your favorite plain text editor. I recommend jsonformatter.org since it automatically formats your text.
- Add
200and800to theprimaryfield. You can use htmlcolorcodes.com’ s color picker to pick your favorite colors. Once you picked it, copy and paste the “RGB” field to your color theme file. - Once you’re done, save / download your new theme file.
- Back to the “Theme” page, make sure your custom theme is still selected and click on “Import”. Paste your modified theme file’s contents on the modal that will pop up.
And you’re done! Hopefully the photon people will fix this soon enough… In the meantime, this fix persists through refreshes and hard refreshes of the web ui. Just in case, keep your custom theme file saved somewhere accessible (or share it with everyone by creating a post in here!)



Ahhh i see, i would never… Ty for the post btw in hindsight really could have done it myself I just really assumed that id have to do some css bullshit and make my own full custom ones and that it wouldnt work with the theme itself… because like if it would why not just add a button… but whatever
You’d be surprised 😸 frontend development is a mess sometimes… Easy to miss stuff…