Previously WeKan used Stylus, that is similar to CSS. Stylus has some additional features.
Stylus code was located at wekan/client/components/*/*.styl
, for example wekan/client/components/boards/boardsList.styl
.
coagmano:stylus
is not maintained anymorecoagmano:stylus
causes errors like Warning: Accessing non-existent property 'lineno' of module exports inside circular dependency with newest Meteor 2.7.2coagmano:stylus
fixed Mermaid Diagram error: Maximum call stack size exceeded from browserside right click / Inspect / Console. After removing coagmano:stylus
, that error was not there anymore.sudo npm -g install stylus
@import 'nib'
that is not supported syntax in newest plain Stylus, for all .styl files in directorysed -i "s|@import 'nib'|//@import 'nib'|g" *.styl
That code @import 'nib'
is using CSS imports that does Eric Meyer's CSS reset of styles. xet7 added that reset to separate CSS file. While in original converting Stylus to CSS that @import 'nib'
was in many files, it seems it's enough to have it at client/components/boards/boardsList.css that is used at all pages of WeKan.
Alternative to CSS imports would be to add that CSS code to beginning of that CSS file where it is needed.
Other CSS transpilers may use similar imports.
Not having all requires CSS can be seen like:
stylus filename.styl
ls *.styl | xargs stylus
coagmano:stylus
meteor remove coagmano:stylus
cd wekan
rm client/components/*/*.styl