add dark assets for test

This commit is contained in:
CJ Pais 2025-08-02 11:19:42 -07:00
parent 76b5fb4014
commit 58c3d40713
4 changed files with 8 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View file

@ -78,9 +78,16 @@ pub fn run() {
))
.manage(Mutex::new(ShortcutToggleStates::default()))
.setup(move |app| {
// Log the current system theme
if let Some(main_window) = app.get_webview_window("main") {
if let Ok(theme) = main_window.theme() {
println!("System theme: {:?}", theme);
}
}
let tray = TrayIconBuilder::new()
.icon(Image::from_path(app.path().resolve(
"resources/tray_idle.png",
"resources/tray_idle_dark.png",
tauri::path::BaseDirectory::Resource,
)?)?)
.show_menu_on_left_click(true)