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
    25 Jul, 2023 07:08am

    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
    24 Apr, 2023 12:55pm

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

  • Wenzel Massag commented
    23 Jul, 2022 08:00am

    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