From 430d245bb94c634047e7b65232eb3e50e2b6e49a Mon Sep 17 00:00:00 2001
From: Zhao Yuhang <2546789017@qq.com>
Date: 摹曛, 21 12月 2023 22:00:37 +0800
Subject: [PATCH] add more attrib

---
 examples/mainwindow/dark-style.qss |   13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/examples/mainwindow/dark-style.qss b/examples/mainwindow/dark-style.qss
index 43ea3ee..ef77219 100644
--- a/examples/mainwindow/dark-style.qss
+++ b/examples/mainwindow/dark-style.qss
@@ -16,6 +16,7 @@
     border: none;
     color: #ECECEC;
     background-color: transparent;
+    min-height: 28px;
 }
 
 
@@ -62,8 +63,8 @@
 /* Icon button */
 
 QWK--WindowBar>QAbstractButton#icon-button {
-    qproperty-iconNormal: url(":/window-bar/icon.svg");
-    qproperty-iconSize: 20px 20px;
+    qproperty-iconNormal: url(":/app/example.png");
+    qproperty-iconSize: 18px 18px;
     min-width: 40px;
     border: none;
     padding: 0;
@@ -103,7 +104,7 @@
 QMenu {
     padding: 4px;
     background: #303030;
-    border: 1.25px solid transparent;
+    border: 1px solid transparent;
 }
 
 QMenu::indicator {
@@ -141,7 +142,11 @@
 
 /* Window */
 
-MainWindow {
+MainWindow[custom-style=true] {
+    background-color: transparent;
+}
+
+MainWindow[custom-style=false] {
     background-color: #1E1E1E;
 }
 

--
Gitblit v1.9.1