You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When setting "titleBarStyle": "Transparent" and specifying a backgroundColor in a Tauri app on macOS, the expected behavior is for the title bar to match the provided background color. However, instead of using the exact hex color, Tauri applies what seems to be the opposite color, or black.
Reproduction
Set the titleBarStyle to "Transparent" and specify a backgroundColor in tauri.conf.json:
Describe the bug
When setting "titleBarStyle": "Transparent" and specifying a backgroundColor in a Tauri app on macOS, the expected behavior is for the title bar to match the provided background color. However, instead of using the exact hex color, Tauri applies what seems to be the opposite color, or black.
Reproduction
Set the titleBarStyle to "Transparent" and specify a backgroundColor in tauri.conf.json:
Expected behavior
Observe that the title bar does not match the given background color.
Example: Setting a green background (#00FF00) results in a black title bar.
A temporary fix is to manually use the opposite hex value to get the intended background color.
Full
tauri info
outputStack trace
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: