From ad8f9f55ea79a4d587aecc69698808da82de3d62 Mon Sep 17 00:00:00 2001 From: somhairle Date: Tue, 21 Apr 2026 20:40:27 +0800 Subject: 二〇二六年四月二十一日 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- themes/theme/source/css/color.styl | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 themes/theme/source/css/color.styl (limited to 'themes/theme/source/css/color.styl') diff --git a/themes/theme/source/css/color.styl b/themes/theme/source/css/color.styl new file mode 100644 index 00000000..c7cf2c25 --- /dev/null +++ b/themes/theme/source/css/color.styl @@ -0,0 +1,10 @@ +$color_path = 'color_mode/default.styl' + +if hexo-config("color_mode") == 'default' + $color_path = 'color_mode/default.styl' +else if hexo-config("color_mode") == 'dark' + $color_path = 'color_mode/dark.styl' +else if hexo-config("color_mode") == 'classic' + $color_path = 'color_mode/classic.styl' + +@import $color_path -- cgit v1.2.3