Dark theme Menu bar color fix

Discussion forum for C++ and script developers who are using the QCAD development platform or who are looking to contribute to QCAD (translations, documentation, etc).

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files, scripts and screenshots.

Post one question per topic.

Post Reply
pik
Newbie Member
Posts: 5
Joined: Wed Mar 13, 2019 4:22 pm

Dark theme Menu bar color fix

Post by pik » Wed Mar 13, 2019 4:29 pm

Hello QCAD community (and Andrew).

I'm not sure if this forum is the good place to send patches (didn't see any pull request on github), but here I go.

I appreciate Dark theme, but didn't like that Menu bar is still white. Thus, here is the fix to have a fully dark interface:

Add in file themes/Dark/stylesheet.css those lines:
QMenuBar {background-color: #282A2D;}
QMenuBar::item {color: #eeeeee;}
QMenu::item::disabled {color: #707070;}

Tested in debian sid.

User avatar
andrew
Site Admin
Posts: 9037
Joined: Fri Mar 30, 2007 6:07 am

Re: Dark theme Menu bar color fix

Post by andrew » Wed Mar 13, 2019 5:05 pm

Thanks for your contribution.

I will include this in the Linux version of the stylesheet for the next release.

pik
Newbie Member
Posts: 5
Joined: Wed Mar 13, 2019 4:22 pm

Re: Dark theme Menu bar color fix

Post by pik » Thu Mar 14, 2019 6:06 pm

Thank you Andrew!

Post Reply

Return to “QCAD Programming, Script Programming and Contributing”