[Resolved] Question about Colors and grouping them (or Variables)

Home Forums Support [Resolved] Question about Colors and grouping them (or Variables)

Home Forums Support Question about Colors and grouping them (or Variables)

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #832913
    Patrick

    Hi, very often I need to make a lot of color changes to test different designs, sure it’s easy doing it in the customizer with GP Pro, but it’s very slow.
    I would love to have something like a color grouping option. Let’s say I have 4 main Colors for the entire website, I would like to group all Link colors from Body, Header, Content, Footer, etc. So I only need to change the color for Links let’s say. Is this possible with PHP maybe?
    I was thinking about doing it with CSS Variables but I would need all CSS classes that use colors.

    #833135
    Leo
    Staff
    Customer Support

    Hi there,

    Unfortunately there isn’t a good solution for this.

    Although if you just change the link of the body, the rest of the link options should just inherit that setting unless you’ve changed them to something else.

    There is also this filter that might help to select colors faster:
    https://docs.generatepress.com/article/generate_default_color_palettes/

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.