Skip to content

Commit 4d545ab

Browse files
feat: background color APIs (#11486)
* feat: background color APIs closes #10519 closes #1564 * clippy * git branch * bundle * fix hex color schema pattern * add missing `^` * fix iOS * revert test * revert apple-codesign bump * fmt * add change files --------- Co-authored-by: Lucas Nogueira <lucas@tauri.app>
1 parent fabc2f2 commit 4d545ab

File tree

26 files changed

+976
-200
lines changed

26 files changed

+976
-200
lines changed

.changes/background-color-apis.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@tauri-apps/api": minor:feat
3+
---
4+
5+
Added `Webview::setBackgroundColor`, `WebviewWindow::setBackgroundColor` APIs to set the window background color dynamically
6+
and a `backgroundColor` window option to set the background color on window creation.

.changes/background-color.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
"tauri": minor:feat
3+
"tauri-utils": minor:feat
4+
"tauri-runtime": minor:feat
5+
"tauri-runtime-wry": minor:feat
6+
---
7+
8+
Added `Window::set_background_color` and `WindowBuilder::background_color`.

0 commit comments

Comments
 (0)