use slint_build::CompilerConfiguration; fn main() { let config = CompilerConfiguration::new() .with_style("fluent-dark".to_owned()) .with_bundled_translations("assets/translations"); slint_build::compile_with_config("ui/main.slint", config).expect("Failed to compile Slint UI"); }