Switch to css variables instead of sass like variables
equinusocio opened this issue · 3 comments
equinusocio commented
It would be awesome write vars with the native css syntax instead of sass.
- It avoid conflicts with sass or other plugins
- It avoid confusion between sass/postcss
- Postcss is a postprocessor, so starting syntax should be more css like
The related plugin is https://github.com/MadLittleMods/postcss-css-variables
ai commented
But mixins is not-standard syntax. For my opinion it will be strange 😊.
But if you like it, fork the project and create your own plugin. It is easy.
equinusocio commented
is not about a "standard". Is about confusing and conflicts. Using a syntax which belongs to Sass preprocessor is confusing. Also Lost plugin will switch to another syntax for variables.
ai commented
Anyway you will have conflict with @mixin
at-rule.
You can try @apply
from cssnext.