Saving theme overwrites color palette
-
Hello, in the block editor global styles I have updated the default colors to what I would like to use in my theme. Everything looks the way I’d like it to, I click over to Create Block Theme and ‘Save Changes to Theme’. I leave the default options checked (last three unchecked) and click Save Changes. The color palette resets to default and my site looks unhinged. I notice when inspecting the round color palettes, the name/label doesn’t match the hex – for example:
<button type="button" aria-selected="false" style="background-color: rgb(255, 183, 0); color: rgb(255, 183, 0);" aria-label="Color: Cyan bluish gray" role="option" id="components-circular-option-picker-1-3" class="components-button components-circular-option-picker__option" tabindex="-1"></button>
That color is a yellow but labeled as Cyan bluish gray, and that’s what it resets to. I have no idea what this means, but something seems off. Any idea what’s going on? Thankfully I
wp db export
ed beforehand and reimporting the db returns it to the state before saving.
- You must be logged in to reply to this topic.