From 862cbfe3032b1f71977fb66af7bd87645ec3eeac Mon Sep 17 00:00:00 2001
From: Sine Striker <trueful@163.com>
Date: 摹曛, 21 12月 2023 23:27:04 +0800
Subject: [PATCH] minor tweaks

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

diff --git a/examples/mainwindow/dark-style.qss b/examples/mainwindow/dark-style.qss
index 383eee6..ef77219 100644
--- a/examples/mainwindow/dark-style.qss
+++ b/examples/mainwindow/dark-style.qss
@@ -104,7 +104,7 @@
 QMenu {
     padding: 4px;
     background: #303030;
-    border: 1.25px solid transparent;
+    border: 1px solid transparent;
 }
 
 QMenu::indicator {
@@ -142,7 +142,11 @@
 
 /* Window */
 
-MainWindow {
+MainWindow[custom-style=true] {
+    background-color: transparent;
+}
+
+MainWindow[custom-style=false] {
     background-color: #1E1E1E;
 }
 

--
Gitblit v1.9.1