From 327055934009dc416be6234db8e4d26fab81fb80 Mon Sep 17 00:00:00 2001
From: SineStriker <55847490+SineStriker@users.noreply.github.com>
Date: 摹曛, 21 12月 2023 23:21:28 +0800
Subject: [PATCH] Merge pull request #8 from stdware/stylesupport

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

diff --git a/examples/mainwindow/dark-style.qss b/examples/mainwindow/dark-style.qss
index 095b900..ef77219 100644
--- a/examples/mainwindow/dark-style.qss
+++ b/examples/mainwindow/dark-style.qss
@@ -142,7 +142,11 @@
 
 /* Window */
 
-MainWindow {
+MainWindow[custom-style=true] {
+    background-color: transparent;
+}
+
+MainWindow[custom-style=false] {
     background-color: #1E1E1E;
 }
 

--
Gitblit v1.9.1