From 18af46e574ed2efa81a01a8eb252c7b5e9de9522 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Fri, 20 May 2022 20:10:56 +0300 Subject: [PATCH] Updated Converting Meteor Stylus to CSS (markdown) --- Converting-Meteor-Stylus-to-CSS.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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