Updated Converting Meteor Stylus to CSS (markdown)

Lauri Ojansivu 2022-05-20 20:10:56 +03:00
parent affe8d8085
commit 18af46e574

@ -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