From 9286c8b9c23a613f96636b8e2d1391d89cedd199 Mon Sep 17 00:00:00 2001
From: Zhao Yuhang <2546789017@qq.com>
Date: 周六, 07 12月 2024 21:11:05 +0800
Subject: [PATCH] Win32 code cleanup & improve

---
 examples/mainwindow/dark-style.qss |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/examples/mainwindow/dark-style.qss b/examples/mainwindow/dark-style.qss
index ef77219..e01c0dc 100644
--- a/examples/mainwindow/dark-style.qss
+++ b/examples/mainwindow/dark-style.qss
@@ -37,7 +37,7 @@
 
 QWK--WindowBar>QAbstractButton#min-button:hover,
 QWK--WindowBar>QAbstractButton#min-button:pressed {
-    background-color: rgba(0, 0, 0, 15%);
+    background-color: rgba(255, 255, 255, 15%);
 }
 
 QWK--WindowBar>QAbstractButton#max-button {
@@ -47,7 +47,7 @@
 
 QWK--WindowBar>QAbstractButton#max-button:hover,
 QWK--WindowBar>QAbstractButton#max-button:pressed {
-    background-color: rgba(0, 0, 0, 15%);
+    background-color: rgba(255, 255, 255, 15%);
 }
 
 QWK--WindowBar>QAbstractButton#close-button {
@@ -142,12 +142,12 @@
 
 /* Window */
 
-MainWindow[custom-style=true] {
-    background-color: transparent;
+MainWindow {
+    background-color: #1E1E1E;
 }
 
-MainWindow[custom-style=false] {
-    background-color: #1E1E1E;
+MainWindow[custom-style=true] {
+    background-color: transparent;
 }
 
 QWidget#clock-widget {

--
Gitblit v1.9.1