main.styl 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. // CSS Style Guide: http://codeguide.co/#css
  2. $scheme = hexo-config('scheme') ? hexo-config('scheme') : 'Muse';
  3. $variables = base $scheme;
  4. // Variables Layer
  5. // --------------------------------------------------
  6. for $variable in $variables
  7. @import "_variables/" + $variable;
  8. for $inject_variable in hexo-config('injects.variable')
  9. @import $inject_variable;
  10. // Mixins Layer
  11. // --------------------------------------------------
  12. @import "_mixins.styl";
  13. for $inject_mixin in hexo-config('injects.mixin')
  14. @import $inject_mixin;
  15. // Dark mode colors
  16. // --------------------------------------------------
  17. @import "_colors.styl";
  18. // Common Layer
  19. // --------------------------------------------------
  20. // Scaffolding
  21. @import "_common/scaffolding";
  22. // Layout
  23. @import "_common/outline";
  24. // Components
  25. @import "_common/components";
  26. // Schemes Layer
  27. // --------------------------------------------------
  28. @import "_schemes/" + $scheme;
  29. // Custom Layer
  30. // --------------------------------------------------
  31. for $inject_style in hexo-config('injects.style')
  32. @import $inject_style;