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:
@@ -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}")
|
||||
|
||||
Reference in New Issue
Block a user