Support for CSS variables & binding styles to the CMS

Quite funny to think about what the UI could be. Being able to toggle any CSS property to a variable state, and have a panel with all the variables listed.

And along this feature, we could be able to bind any CSS property to a CMS value.

  • Vincent Bidaux
  • Apr 5 2018
  • Jeff Selser commented
    March 11, 2023 13:12

    Support for this would result in site designs that were actually maintainable. Empower power users please. Can't believe its 2023 and support for variables does not exist.

  • Boris B. commented
    January 20, 2022 14:00

    This would be a very welcomed features. We are struggling with making our design, some of the components of which rely on CSS styling, more agile based on CMS content.


    Boris

  • Russell Gathright commented
    April 23, 2021 20:22

    Web design has always baffled me from the beginning, not because its difficult to understand, but as a programer, how often web devs don't have the full advantage of working with a computer.

    If you can't easily scale a design, if you can't easily change 1 value to change many values, then things are wrong.

    I should be able to define things like common margins, give 'em a name, and slap it on as many elements as I want. The worst thing ever is when a client decides they like everything, but want to see it with box shadows increased from 3 3 to 2 2. Other elements play off that number, so its important to be able to simply make a single change instead of going through everything.

  • Jason Syratt commented
    January 21, 2021 15:09

    CSS variables on individual cms items would be nice, currently im trying to overlap the items a little

  • Rocky Berlier commented
    March 16, 2020 21:47

    This is precisely what is missing from the designer. Thank you for posting this Vincent. The ability to define a variable to a specific property would be ENORMOUS! I hope this gets the attention it deserves.

  • Hamish Maclean commented
    October 21, 2019 12:34

    Damn this would be good Vincent 

  • Aaron Hartshorn commented
    June 26, 2018 23:52

    Trying to do this with embed code right now. I can see how this would be awesome, especially if it could be integrated with IX2

  • +23