优化更新

This commit is contained in:
2026-09-23 16:51:40 +08:00
parent cd4ffbfa90
commit 68e8eb91a7
15 changed files with 1858 additions and 193 deletions
+30 -30
View File
@@ -2,40 +2,40 @@ from db.database import get_setting, set_setting
THEMES = {
"dark": {
"panel_bg": "rgba(28,28,28,242)",
"panel_border": "rgba(255,255,255,18)",
"header_bg": "#3a3a3a",
"header_hover": "#484848",
"item_name_color":"#ddd",
"search_bg": "rgba(255,255,255,12)",
"search_border": "#555",
"search_color": "#eee",
"panel_bg": "rgba(30,30,30,120)", # Lower opacity for frosted glass effect
"panel_border": "rgba(255,255,255,30)", # Lighter border highlight
"header_bg": "rgba(255,255,255,25)", # Semitransparent headers
"header_hover": "rgba(255,255,255,45)",
"item_name_color":"#ffffff",
"search_bg": "rgba(255,255,255,20)",
"search_border": "rgba(255,255,255,30)",
"search_color": "#ffffff",
"search_focus": "#4a9eff",
"btn_color": "#999",
"btn_hover": "#fff",
"scrollbar": "#555",
"menu_bg": "#2b2b2b",
"menu_color": "#eee",
"menu_border": "#555",
"menu_selected": "#3a3a3a",
"btn_color": "#cccccc",
"btn_hover": "#ffffff",
"scrollbar": "rgba(255,255,255,50)",
"menu_bg": "rgba(30,30,30,230)",
"menu_color": "#ffffff",
"menu_border": "rgba(255,255,255,30)",
"menu_selected": "rgba(255,255,255,40)",
},
"light": {
"panel_bg": "rgba(245,245,245,250)",
"panel_border": "rgba(0,0,0,15)",
"header_bg": "#e0e0e0",
"header_hover": "#d0d0d0",
"item_name_color":"#222",
"search_bg": "rgba(0,0,0,8)",
"search_border": "#bbb",
"search_color": "#222",
"panel_bg": "rgba(255,255,255,140)", # Lower opacity for frosted glass effect
"panel_border": "rgba(0,0,0,30)", # Subtler border
"header_bg": "rgba(0,0,0,15)", # Semitransparent headers
"header_hover": "rgba(0,0,0,25)",
"item_name_color":"#111111",
"search_bg": "rgba(0,0,0,10)",
"search_border": "rgba(0,0,0,20)",
"search_color": "#111111",
"search_focus": "#4a9eff",
"btn_color": "#555",
"btn_hover": "#000",
"scrollbar": "#bbb",
"menu_bg": "#f5f5f5",
"menu_color": "#222",
"menu_border": "#ccc",
"menu_selected": "#e0e0e0",
"btn_color": "#555555",
"btn_hover": "#000000",
"scrollbar": "rgba(0,0,0,40)",
"menu_bg": "rgba(255,255,255,240)",
"menu_color": "#111111",
"menu_border": "rgba(0,0,0,20)",
"menu_selected": "rgba(0,0,0,15)",
},
}