feat: add new sections to custom themes

This commit is contained in:
3252a8
2026-05-21 08:22:40 +03:00
parent 044cb4de7e
commit a300a4a9c0
9 changed files with 444 additions and 57 deletions
+4 -1
View File
@@ -373,6 +373,7 @@ def _builtin_theme_assets_need_refresh(key: str, target_dir: Path) -> bool:
or "ascii-skeleton-scan" not in style
or "ascii-boot-type" not in style
or "Console-style tables" not in style
or "New webapp surfaces: support, purchase info, password login" not in style
)
if key != "windows95":
return False
@@ -391,7 +392,9 @@ def _builtin_theme_assets_need_refresh(key: str, target_dir: Path) -> bool:
or "lucide-circle-check" not in style
or "border-radius: 0 !important" not in style
or "::-webkit-slider-thumb" not in style
or "?v=6" not in style
or "?v=8" not in style
or "lucide-life-buoy" not in style
or "New webapp surfaces: support, purchase info, password login" not in style
or any(not (target_dir / "icons" / icon).exists() for icon in required_icons)
)