2025-2-26-fixed
This commit is contained in:
47
themes/next/source/css/main.styl
Normal file
47
themes/next/source/css/main.styl
Normal file
@@ -0,0 +1,47 @@
|
||||
// CSS Style Guide: http://codeguide.co/#css
|
||||
|
||||
|
||||
$scheme = hexo-config('scheme') ? hexo-config('scheme') : 'Muse';
|
||||
|
||||
$variables = base $scheme;
|
||||
|
||||
|
||||
// Variables Layer
|
||||
// --------------------------------------------------
|
||||
for $variable in $variables
|
||||
@import "_variables/" + $variable;
|
||||
for $inject_variable in hexo-config('injects.variable')
|
||||
@import $inject_variable;
|
||||
|
||||
// Mixins Layer
|
||||
// --------------------------------------------------
|
||||
@import "_mixins.styl";
|
||||
for $inject_mixin in hexo-config('injects.mixin')
|
||||
@import $inject_mixin;
|
||||
|
||||
// Dark mode colors
|
||||
// --------------------------------------------------
|
||||
@import "_colors.styl";
|
||||
|
||||
// Common Layer
|
||||
// --------------------------------------------------
|
||||
|
||||
// Scaffolding
|
||||
@import "_common/scaffolding";
|
||||
|
||||
// Layout
|
||||
@import "_common/outline";
|
||||
|
||||
// Components
|
||||
@import "_common/components";
|
||||
|
||||
|
||||
// Schemes Layer
|
||||
// --------------------------------------------------
|
||||
@import "_schemes/" + $scheme;
|
||||
|
||||
|
||||
// Custom Layer
|
||||
// --------------------------------------------------
|
||||
for $inject_style in hexo-config('injects.style')
|
||||
@import $inject_style;
|
||||
Reference in New Issue
Block a user