Imagine having a vast array of SASS variables spread across different .scss
files, such as:
$app-color-white: #ffffff;
$app-color-black: #000000;
How can we efficiently convert these variables into vanilla CSS variables?
:root {
--app-color-white: #ffffff;
--app-color-black: #000000;
}
Is there a SASS-specific method or perhaps a pre-processor that can help with this task?
I aim to use my SASS framework seamlessly in vanilla CSS projects as well.