feat(ui): frameless modern window frame with dark titlebar controls and sleek dark scrollbars
Build Windows Installer / build (push) Successful in 18m51s
Build Windows Installer / build (push) Successful in 18m51s
This commit is contained in:
5 files changed
+197
-6
No files matched your search
@@ -46,7 +46,8 @@ func main() {
|
||||
AssetServer: &assetserver.Options{
|
||||
Assets: assets,
|
||||
},
|
||||
BackgroundColour: &options.RGBA{R: 13, G: 17, B: 23, A: 1},
|
||||
BackgroundColour: &options.RGBA{R: 11, G: 15, B: 23, A: 1},
|
||||
Frameless: true,
|
||||
OnStartup: app.startup,
|
||||
OnShutdown: app.shutdown,
|
||||
DragAndDrop: &options.DragAndDrop{
|
||||
@@ -54,9 +55,15 @@ func main() {
|
||||
DisableWebViewDrop: false,
|
||||
},
|
||||
Windows: &windows.Options{
|
||||
WebviewIsTransparent: false,
|
||||
WindowIsTranslucent: false,
|
||||
Theme: windows.Dark,
|
||||
WebviewIsTransparent: false,
|
||||
WindowIsTranslucent: false,
|
||||
DisableFramelessWindowDecorations: false,
|
||||
Theme: windows.Dark,
|
||||
CustomTheme: &windows.ThemeSettings{
|
||||
DarkModeTitleBar: windows.RGB(17, 24, 39),
|
||||
DarkModeTitleText: windows.RGB(241, 245, 249),
|
||||
DarkModeBorder: windows.RGB(36, 48, 68),
|
||||
},
|
||||
},
|
||||
Bind: []interface{}{
|
||||
app,
|
||||
|
||||
Reference in new issue
Block a user