You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For SCSS users, sometimes we need to assign custom CSS properties to SCSS variables, which requires those variables be defined before custom properties are. But with the current ordering, this is impossible.
div {
$color: blue;
// Throws an error saying this should be placed above $color.--theme-color: #{$color};
}
Can we swap the ordering here of custom-properties and dollar-variables so that variables always come first and before all others?
For SCSS users, sometimes we need to assign custom CSS properties to SCSS variables, which requires those variables be defined before custom properties are. But with the current ordering, this is impossible.
Can we swap the ordering here of
custom-properties
anddollar-variables
so that variables always come first and before all others?e.g.
The text was updated successfully, but these errors were encountered: