I wanted to share with you something I discovered recently.
We can access the colors.conf directly from the qss.
Example:
#menuBar { background: palette(window); }
Search "PaletteRole" in
https://doc.qt.io/qt-6/stylesheet-reference.html
to see the colors you have access to.
This simplifies the construction of themes, and opens doors to making child themes easily.
For example, you can create a "light" child version of an originally "dark" theme without touching the qss.
Greetings
Copyright (C) 2006-2024 rncbc aka Rui Nuno Capela. All rights reserved.
Powered by Drupal
Recent comments
1 min ago
23 min 15 sec ago
5 hours 39 min ago
7 hours 28 min ago
7 hours 31 min ago
8 hours 24 min ago
11 hours 11 min ago
11 hours 22 min ago
11 hours 28 min ago
13 hours 24 min ago