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
8 hours 1 min ago
1 day 1 hour ago
1 day 7 hours ago
2 days 1 hour ago
1 week 1 day ago
1 week 2 days ago
1 week 2 days ago
1 week 2 days ago
1 week 2 days ago
1 week 2 days ago