mcss2scss
v0.1.0
Published
A MCSS-to-SCSS converter
Downloads
21
Readme
mcss2scss
I make this converter just because SCSS is too popular but I still tend to use MCSS.
Some features cannot be converted entirely.
Following features can be converted entirely
@import *.mcss
->@import *.scss
index($list, $index)
->nth($list, $index + 1)
typeof
->type-of
a-adjust
->fade_in
orfade_out
l-adjust
->lighten
ordarken
s-adjust
->saturate
ordesaturate
h-adjust
->adjust-hue
$function = {}
->@mixin: {}
$xxx = (...){...}
->@mixin xxx(...){...}
$xxx(...)
->@include $xxx(...)
@for ... of x...x
->@for ... from x through x
@for ... in
->@each ... in
=
->:
mass/mass/index.mcss
->mass2scss/dist/index.scss
Following features CANNOT be converted
x-adjust(..., ..., true/false)
->$function = {}
->@function
$keyframe
->@-prefix-keyframe
- Any features NOT mentioned above