-
-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dark theme icons support #364
Comments
Most LibreCAD's icons were not designed for a dark theme. |
I was looking at KDE Breeze theme where they use two directories with icons and a bash script to generate dark theme icons. I've tried similar approach, and the icons are at least readable (probably not graphically ideal). It should be fairly easy to maintain, when you add new icons, the dark version could be easily generated. Or do you have better idea? |
This is still an issue; When a dark theme is used, icons disappear into the buttons, only vaguely reappearing when hovered. As a newcomer to LC, it's alarming to see simple fixes like this not applied after 1.5 years. Guessing there must be a reason :^) |
Any word on this? I really need dark icon support. |
Bumping this issue. Any updates on this? |
In order to make icons visible on dark background, it's necessary to modify code for loading icons, instead of:
_editIcon = QIcon(":/icons/layeredit");
use something like:
In case the icon is not found in any of searched paths:
qDebug() << QIcon::themeSearchPaths();
the fallback (current default) will be used. Later we can add support for
QIcon::setThemeName()
.Is it ok to submit PR with such change?
The same issue is present in LibreCAD 2.
The text was updated successfully, but these errors were encountered: