Global Swatches 2.0 & CSS Variables

I love the global swatches! But - they are not part of my CSS. They are part of Webflow's magic toolbox.

It would be so awesome, if those global swatches were CSS-Variables. So, we could address them, when embed a code snippet or if we play with single colored SVGs or if (🦄)

Yeah. That's about it.

Much Love.

  • Boris Périsset
  • Sep 29 2020
  • Shipped
  • Ömür Yanıkoğlu commented
    July 25, 2023 07:08

    Maybe they can add a checkbox in the color swatch settings like "Public" so we can select which color swatches will be available in front-end.

    Or maybe they can add ability to add color swatches as variables in embed popup so we can configure them as we want in our global custom code component.

  • Duncan Hamra commented
    April 24, 2023 12:55

    Well said! I agree this would be a super handy feature

  • Wenzel Massag commented
    July 23, 2022 08:00

    Would be great, also if code could override them to use media querys to implement p3 colors on devices that support it — like all iPhones, iPad, and Macs.

  • +87