hexo-starter
hexo-starter copied to clipboard
Use SCSS as default style sheet language
Environment Info
Node version(node -v
): 8.7.0
Hexo and Plugin version(npm ls --depth 0
):
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
`-- [email protected]
For feature request
Maybe when Stylus was selected as the default style sheet language it was somehow popular or something, but now SCSS is used more than plain CSS (ref).
SCSS is used by the most popular CSS Frameworks, such Bootstrap 4, Materialize, and Fundation, so used by default would allow theme developers to use the files of such frameworks to develop better themes.
I know there is a SCSS plugin, I'm using it, but if SCSS is included by default, users won't need to install any plugins.
I agree with your remark and also includes that the stylus is staffless to keep the project has a time without pull request and with it it is falling into disuse
I made a rendering plugin based on dart-sass
: https://github.com/next-theme/hexo-renderer-ruby-sass
Compared with stylus, scss still has some shortcomings, for example, it does not support @import
under the @if
statement.