• Resolved madtho

    (@madtho)


    Hi there-
    I’ve run into an issue.

    I created a custom color palette, works fine.

    When giving the Container block (gb-container) a background in my custom color, the hex code is written into the block’s css: div style=”background-color:#F6D10B;
    This means that if I change that yellow (in functions and styles, which is how I discovered this) it does *not* change container backgrounds.
    It looks like gb-button is handled the same way.

    If you give a regular paragraph block (or button block) a background, you instead get a class: has-yellow-background-color.

    I’d love to see this changed (fixed?).
    thanks
    -mat

Viewing 2 replies - 1 through 2 (of 2 total)
  • @madtho Thank you for reporting this! This is definitely a downside of the current way we implement background and text colour in Genesis Blocks.

    I’ve reported the issue to the team, recommending switching to a class based approach to match WordPress Core blocks. This will become especially important when Global Styles is released, allowing users to change the colour palette directly.

    Unfortunately, I’m unsure when or how this issue will be prioritised (we do have a lot on our plate at the moment), so I can’t give you any sort of ETA on when this might be implemented.

    Thanks again.

    Thread Starter madtho

    (@madtho)

    Glad you’re on it. Thanks.
    – mat

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom color palette problem’ is closed to new replies.