修改前端代码

This commit is contained in:
qingxu fu
2023-08-31 00:21:24 +08:00
parent 89de49f31e
commit 2d5a1fbc12
11 changed files with 1059 additions and 280 deletions

View File

@@ -5,6 +5,9 @@ THEME, = get_conf('THEME')
if THEME == 'Chuanhu-Small-and-Beautiful':
from .green import adjust_theme, advanced_css
theme_declaration = "<h2 align=\"center\" class=\"small\">[Chuanhu-Small-and-Beautiful主题]</h2>"
elif THEME == 'High-Contrast':
from .contrast import adjust_theme, advanced_css
theme_declaration = ""
else:
from .default import adjust_theme, advanced_css
theme_declaration = ""