diff --git a/Converting-Meteor-Stylus-to-CSS.md b/Converting-Meteor-Stylus-to-CSS.md index 08ab9f8..1f17975 100644 --- a/Converting-Meteor-Stylus-to-CSS.md +++ b/Converting-Meteor-Stylus-to-CSS.md @@ -16,11 +16,11 @@ To convert Stylus to CSS, [this code](https://github.com/wekan/wekan/blob/master ## Converting Stylus to CSS -1) Install Stylus +#### 1) Install Stylus ``` sudo npm -g install stylus ``` -2) Comment out `@import 'nib'` that is not supported syntax in newest plain Stylus, for all .styl files in directory +#### 2) Comment out `@import 'nib'` that is not supported syntax in newest plain Stylus, for all .styl files in directory ``` sed -i "s|@import 'nib'|//@import 'nib'|g" *.styl ``` @@ -34,15 +34,15 @@ Not having all requires CSS can be seen like: - [Some extra bullets](https://github.com/wekan/wekan/issues/4516) - [Some wrong colors](https://github.com/wekan/wekan/issues/4519) -3) For all files in directory, run command `stylus filename.styl` +#### 3) For all files in directory, run command `stylus filename.styl` ``` ls *.styl | xargs stylus ``` -4) Remove `coagmano:stylus` +#### 4) Remove `coagmano:stylus` ``` meteor remove coagmano:stylus ``` -5) Delete .styl files +#### 5) Delete .styl files ``` cd wekan rm client/components/*/*.styl