From 95df53a2ed96873cd35a4b14a5e312d07e4e3004 Mon Sep 17 00:00:00 2001 From: Tony <68118705+Legend-Master@users.noreply.github.com> Date: Thu, 26 Sep 2024 12:26:04 +0800 Subject: [PATCH] chore: add missing set theme change file in #10210 (#11143) --- .changes/set-theme-api.md | 5 +++++ .changes/set-theme.md | 7 +++++++ 2 files changed, 12 insertions(+) create mode 100644 .changes/set-theme-api.md create mode 100644 .changes/set-theme.md diff --git a/.changes/set-theme-api.md b/.changes/set-theme-api.md new file mode 100644 index 000000000..c433e760f --- /dev/null +++ b/.changes/set-theme-api.md @@ -0,0 +1,5 @@ +--- +"@tauri-apps/api": "patch:feat" +--- + +Add the ability to set theme dynamically using `Window.setTheme` or `setTheme` function from the `app` module diff --git a/.changes/set-theme.md b/.changes/set-theme.md new file mode 100644 index 000000000..6d36c8027 --- /dev/null +++ b/.changes/set-theme.md @@ -0,0 +1,7 @@ +--- +"tauri": "patch:feat" +"tauri-runtime": patch:feat +"tauri-runtime-wry": patch:feat +--- + +Add the ability to set theme dynamically using `Window::set_theme`, `App::set_theme`