Ports https://github.com/forumone/gesso/pull/773 from Gesso Drupal and adjusts syntax to work with postcss-advanced-variables, which doesn't support conditional variables like Sass does, but instead handles scope similar to JavaScript. Also uses the range syntax for container queries and removes the default container-query() mixin, since that proved to be one nested level too far for postcss.
Ports https://github.com/forumone/gesso/pull/773 from Gesso Drupal and adjusts syntax to work with postcss-advanced-variables, which doesn't support conditional variables like Sass does, but instead handles scope similar to JavaScript. Also uses the range syntax for container queries and removes the default container-query() mixin, since that proved to be one nested level too far for postcss.