mirror of
https://github.com/wekan/wekan.git
synced 2025-12-18 00:10:13 +01:00
Updated Converting Meteor Stylus to CSS (markdown)
parent
affe8d8085
commit
18af46e574
1 changed files with 5 additions and 5 deletions
|
|
@ -16,11 +16,11 @@ To convert Stylus to CSS, [this code](https://github.com/wekan/wekan/blob/master
|
||||||
|
|
||||||
## Converting Stylus to CSS
|
## Converting Stylus to CSS
|
||||||
|
|
||||||
1) Install Stylus
|
#### 1) Install Stylus
|
||||||
```
|
```
|
||||||
sudo npm -g 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
|
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 extra bullets](https://github.com/wekan/wekan/issues/4516)
|
||||||
- [Some wrong colors](https://github.com/wekan/wekan/issues/4519)
|
- [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
|
ls *.styl | xargs stylus
|
||||||
```
|
```
|
||||||
4) Remove `coagmano:stylus`
|
#### 4) Remove `coagmano:stylus`
|
||||||
```
|
```
|
||||||
meteor remove coagmano:stylus
|
meteor remove coagmano:stylus
|
||||||
```
|
```
|
||||||
5) Delete .styl files
|
#### 5) Delete .styl files
|
||||||
```
|
```
|
||||||
cd wekan
|
cd wekan
|
||||||
rm client/components/*/*.styl
|
rm client/components/*/*.styl
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue