add change theme function

This commit is contained in:
2023-11-18 21:17:37 +07:00
parent 6725dca807
commit c53bdb68e5
4 changed files with 73 additions and 10 deletions

26
src-tauri/Cargo.lock generated
View File

@@ -2633,6 +2633,7 @@ dependencies = [
"tauri-plugin-single-instance",
"tauri-plugin-sql",
"tauri-plugin-store",
"tauri-plugin-theme",
"tauri-plugin-updater",
"tauri-plugin-upload",
"tauri-plugin-window-state",
@@ -5172,6 +5173,21 @@ dependencies = [
"thiserror",
]
[[package]]
name = "tauri-plugin-theme"
version = "0.2.0"
source = "git+https://github.com/reyamir/tauri-plugin-theme?branch=tauri-v2#73e8fc84cb4fb8363fee4edcbbab82c98c1874cc"
dependencies = [
"cocoa 0.25.0",
"futures-lite",
"gtk",
"once_cell",
"serde",
"tauri",
"tintanum",
"tokio",
]
[[package]]
name = "tauri-plugin-updater"
version = "2.0.0-alpha.4"
@@ -5417,6 +5433,16 @@ dependencies = [
"time-core",
]
[[package]]
name = "tintanum"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7abbcf9173afc80733c20b7e27a30bc9284d6535bdbde2a70904032de63e16e8"
dependencies = [
"futures-lite",
"zbus",
]
[[package]]
name = "tinyvec"
version = "1.6.0"