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
2 days 19 hours ago
2 days 21 hours ago
3 days 9 hours ago
3 days 18 hours ago
3 days 21 hours ago
2 weeks 16 hours ago
2 weeks 16 hours ago
2 weeks 3 days ago
3 weeks 2 days ago
3 weeks 3 days ago