From 75ee123794d9a3457fa3b62158ca8a9b59a67010 Mon Sep 17 00:00:00 2001 From: Chris Hennes Date: Tue, 5 Oct 2021 23:25:20 -0500 Subject: [PATCH] [Stylesheet] Add styling for Sketcher labels With Sketcher's constraint status label now exposed to stylesheet control on a per-state basis, add basic styling that is more visible in this dark stylesheet. --- src/Gui/Stylesheets/Behave-dark.qss | 31 +++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/src/Gui/Stylesheets/Behave-dark.qss b/src/Gui/Stylesheets/Behave-dark.qss index da1db23fc5..411734083e 100644 --- a/src/Gui/Stylesheets/Behave-dark.qss +++ b/src/Gui/Stylesheets/Behave-dark.qss @@ -2276,3 +2276,34 @@ QPushButton#NavigationIndicator::menu-indicator { image: none; width: 0px; } + +/*================================================================================================== +SKETCHER +==================================================================================================*/ + +Gui--StatefulLabel[state="empty_sketch"] { + color : rgba(255,255,255,127); +} +Gui--StatefulLabel[state="under_constrained"] { + color : rgba(255,255,255,255); +} +Gui--StatefulLabel[state="conflicting_constraints"] { + color : rgba(255,50,50,255); +} +Gui--StatefulLabel[state="malformed_constraints"] { + color : rgba(255,50,50,255); +} +Gui--StatefulLabel[state="redundant_constraints"] { + color : rgba(255,0,100,255); +} +Gui--StatefulLabel[state="partially_redundant_constraints"] { + color : rgba(255,25,100,255); +} +Gui--StatefulLabel[state="solver_failed"] { + color : rgba(255,0,0,255); + font-weight: bold; +} +Gui--StatefulLabel[state="fully_constrained"] { + color : rgba(0,255,0,255); + font-weight: bold; +} \ No newline at end of file