Skip to content

feat: add create_custom_titlebar and impored the css of buttons#42

Open
CakeAL wants to merge 1 commit intoclearlysid:mainfrom
CakeAL:main
Open

feat: add create_custom_titlebar and impored the css of buttons#42
CakeAL wants to merge 1 commit intoclearlysid:mainfrom
CakeAL:main

Conversation

@CakeAL
Copy link
Copy Markdown

@CakeAL CakeAL commented Apr 4, 2025

The main_window.create_custom_titlebar() function could let users to custom the titlebar with adding data-tauri-decorum-tb to the header div.
I made this change because when I add data-tauri-decorum-tb to the header div I wrote myself with Vue, the titlebar.js always creates the other div I don't need.
And I added some css to the buttons, which could let them change the colors when the theme change to dark.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant