Use calc() (or equivalent) when defining values of Custom Variables

Allow the use of the calc() function when defining the value of custom variables. For example:

  • Define Variable A as 100vw

  • Define Variable B as 20px

  • Define Variable C using calc(var(--Variable-A) - var(--Variable-B)), resulting in 100vw - 20px


  • Callum Brown
  • Jul 30 2024