diff src/gui/widgets/text.cc @ 105:6d8da6e64d61

theme: add dark stylesheet, make it actually usable win32: make the titlebar black where available
author Paper <mrpapersonic@gmail.com>
date Sun, 05 Nov 2023 03:54:26 -0500
parents b315f3759c56
children 01d259b9c89f
line wrap: on
line diff
--- a/src/gui/widgets/text.cc	Sun Nov 05 02:35:27 2023 -0500
+++ b/src/gui/widgets/text.cc	Sun Nov 05 03:54:26 2023 -0500
@@ -80,6 +80,7 @@
 	setCursor(Qt::IBeamCursor);
 
 	QPalette pal;
+	pal.setColor(QPalette::Window, Qt::transparent);
 	pal.setColor(QPalette::Base, Qt::transparent);
 	setPalette(pal);
 
@@ -101,7 +102,7 @@
 	setFont(fnt);
 
 	QPalette pal(palette());
-	pal.setColor(QPalette::Text, Qt::blue);
+	pal.setColor(QPalette::Text, pal.color(QPalette::Highlight));
 	setPalette(pal);
 }