summaryrefslogtreecommitdiff
path: root/libs/Matcha.php
diff options
context:
space:
mode:
authorEltrac Koalar <hi@guhub.cn>2022-08-27 00:00:52 +0800
committerEltrac Koalar <hi@guhub.cn>2022-08-27 00:00:52 +0800
commitcec1b548396b6e1c1dd7632dacaeba65aa7626bb (patch)
tree819f32bcae5d3a88b59170d6f9810313a34d2825 /libs/Matcha.php
parent6f768a58873c7a38dd135a6947009b2045b7ad81 (diff)
:moon: Add: 在 CSS 层面初步实现夜间模式
Diffstat (limited to 'libs/Matcha.php')
-rw-r--r--libs/Matcha.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/Matcha.php b/libs/Matcha.php
index 14ab26c..56a3d01 100644
--- a/libs/Matcha.php
+++ b/libs/Matcha.php
@@ -61,7 +61,9 @@ class Matcha
array_push($local_includes,
"toaster/toaster",
"matcha.grid",
- "matcha");
+ "matcha",
+ "matcha.dark"
+ );
foreach($local_includes as $value){
echo '<link rel="stylesheet" href="';
Utils::indexTheme('assets/'.$value.'.css');