multiple updates

- colour theme implemented. ThemeService based global switching for future light detection triggers
- test flipflop service for various fun
- navigator widget class with state switching
This commit is contained in:
Mikkeli Matlock
2026-01-26 00:20:52 +09:00
parent b1e23fdd10
commit c7edc30b79
18 changed files with 489 additions and 67 deletions

View File

@@ -56,11 +56,22 @@ def set_cross_compile_env():
return env_vars
def generate_theme() -> bool:
"""Generate theme colors before build."""
import generate_theme as theme_gen
return theme_gen.main()
def build(clean: bool = False) -> bool:
"""Run the build process. Returns True on success."""
print("=== Smart Serow Build ===")
print(f"Project: {UI_DIR}")
# Generate theme colors first
if not generate_theme():
print("ERROR: Theme generation failed")
return False
# Check flutter-elinux
flutter_path = check_flutter_elinux()
print(f"Using: {flutter_path}")