Feedback: Darker Stylesheet

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Post Reply
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Feedback: Darker Stylesheet

Post by Kunda1 »

Just wanted to drop a few comments. Thanks to pablogil for this awesome stylesheet effort in https://forum.freecadweb.org/viewtopic.php?f=9&t=38851
OK..feedback below:

Image
Text in the Addon Manager Panel is hard to differentiate

Image
Python Console background makes it hard to read


OS: Manjaro Linux (XFCE/xfce)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.18009 (Git) AppImage
Build type: Release
Branch: master
Hash: 0641ca0d1e020d18f23d2adb49959195266f04f7
Python version: 3.7.3
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United States (en_US)
pablogil wrote:
Edit: this is pretty similar for all the Darker* stylesheets
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Syres
Veteran
Posts: 2902
Joined: Thu Aug 09, 2018 11:14 am

Re: Feedback: Darker Stylesheet

Post by Syres »

Kunda1 wrote: Wed Sep 04, 2019 3:51 pm Text in the Addon Manager Panel is hard to differentiate
After a fraught day on a slow internet connection with AddonManager I decided to (and I emphasise) lash something up in AddonManager to check the stylesheet in use and set a text and banner background colour for each. Therefore please make sure you keep a copy of your existing three files before having a play with the attached versions, residing in src\Mod\AddonManager\

At line 75 in AddonManager.py you will find the colours that I chose for my testing, obviously this is a very subjective matter and so by all means change to ones that suit your taste. If you change your Stylesheet you need to just run AddonManager and then close it for the logic to kick in and then restart FreeCAD as the code is loaded at startup.

Code: Select all

        sDefBackColor = '#ffffff'
        sDefTextColor = '#000000'
        sDarkBackColor = '#0000ff'
        sDarkTextColor = '#ffffff'
        sLightBackColor = '#ffffff'
        sLightTextColor = '#000000'
My HTML coding skills are even worse than my Python so don't be surprised to see some strange formatting. To be honest I wasn't even contemplating a PR as I'm sure there's a far better solution but I needed something for my own sanity being selfish!!

Only tested using:

OS: Windows 7 SP 1 (6.1)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.19036 (Git)
Build type: Release
Branch: master
Hash: 2eb208cab5257db9ab473a2794c171f8d7201408
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United Kingdom (en_GB)
Attachments
addonmanager_macro.py
(7.99 KiB) Downloaded 30 times
addonmanager_workers.py
(40.73 KiB) Downloaded 27 times
AddonManager.py
(32.34 KiB) Downloaded 29 times
Post Reply