Skip to content

Commit

Permalink
feat: background color APIs (#11486)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
amrbashir and lucasfernog authored Nov 6, 2024
1 parent fabc2f2 commit 4d545ab
Show file tree
Hide file tree
Showing 26 changed files with 976 additions and 200 deletions.
6 changes: 6 additions & 0 deletions .changes/background-color-apis.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@tauri-apps/api": minor:feat
---

Added `Webview::setBackgroundColor`, `WebviewWindow::setBackgroundColor` APIs to set the window background color dynamically
and a `backgroundColor` window option to set the background color on window creation.
8 changes: 8 additions & 0 deletions .changes/background-color.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"tauri": minor:feat
"tauri-utils": minor:feat
"tauri-runtime": minor:feat
"tauri-runtime-wry": minor:feat
---

Added `Window::set_background_color` and `WindowBuilder::background_color`.
Loading

1 comment on commit 4d545ab

@S1lander
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that's exciting!

Please sign in to comment.