Dark and Light FreeCAD stylesheets (v1.8a)

Info about new community or project announcements, implemented features, classes, modules or APIs. Might get technical!
PLEASE DO NOT POST HELP REQUESTS OR OTHER DISCUSSIONS HERE!
User avatar
sgrogan
Posts: 5458
Joined: Wed Oct 22, 2014 5:02 pm

Re: Dark and Light FreeCAD stylesheets (v1.8a)

Postby sgrogan » Sun May 05, 2019 4:38 pm

zmp2000 wrote:
Sat May 04, 2019 6:46 pm
I would like to null if a pull request would be welcome or not?
I would vote for a pull request.
Capture.PNG
Capture.PNG (150.55 KiB) Viewed 605 times
OS: Windows 7 SP 1 (6.1)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.16624 (Git)
Build type: Release
Branch: master
Hash: 222ae7305fdf1097e4ef3d050f69dff47dbd8786
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United States (en_US)
User avatar
apeltauer
Posts: 212
Joined: Fri Aug 11, 2017 2:19 pm

Re: Dark and Light FreeCAD stylesheets (v1.8a)

Postby apeltauer » Sun May 05, 2019 5:41 pm

+1
User avatar
easyw-fc
Posts: 2689
Joined: Thu Jul 09, 2015 9:34 am

Re: Dark and Light FreeCAD stylesheets (v1.8a)

Postby easyw-fc » Sun May 05, 2019 7:40 pm

+1
User avatar
kkremitzki
Posts: 1789
Joined: Thu Mar 03, 2016 9:52 pm
Location: Texas

Re: Dark and Light FreeCAD stylesheets (v1.8a)

Postby kkremitzki » Sun May 05, 2019 8:11 pm

Is there any way to do anything about the font color in the Python console?
Like my FreeCAD work? I'd appreciate any level of support via Patreon, Liberapay, or PayPal! Read more about what I do at my blog.
pablogil
Posts: 764
Joined: Wed Nov 26, 2014 3:19 pm
Location: Badajoz (Spain)
Contact:

Re: Dark and Light FreeCAD stylesheets (v1.8a)

Postby pablogil » Sun May 05, 2019 8:37 pm

Hi,

I was already developing a "Darker" stylesheet but I had no time to finish it: just changing the themable colors wasn't enough, I felt like it needed some tweaking... BTW here you have it in case you want to test or to continue it... I'm still out of time.
It is using svg icons (which are neither released) so maybe it would be better to help me tweaking it and let me push it to master...
darker.png
darker.png (791.39 KiB) Viewed 558 times
Cheers

PS - the attached file is .txt, you have to change it to .qss
Attachments
Darker-blue_211.txt
(65.13 KiB) Downloaded 39 times
Dark and Light stylesheets v2.0 to theme your FreeCAD UI, more information here
zmp2000
Posts: 7
Joined: Sat May 04, 2019 6:44 pm

Re: Dark and Light FreeCAD stylesheets (v1.8a)

Postby zmp2000 » Wed May 08, 2019 6:39 pm

NormandC wrote:
Sun May 05, 2019 2:02 am
Hello zmp2000,

Welcome here.

That sounds intriguing. Could you please post a screenshot? (I'm replying on my phone) I'm sure users would be interested in your theme.
Sorry for the Delay! Here the preview (It´s already included in the last version as super-dark.qss)
Attachments
FreeCadDark3.jpg
FreeCadDark3.jpg (87.48 KiB) Viewed 434 times
FreeCadDark2.jpg
FreeCadDark2.jpg (174.13 KiB) Viewed 434 times
FreeCadDark.jpg
FreeCadDark.jpg (203.08 KiB) Viewed 434 times
User avatar
sgrogan
Posts: 5458
Joined: Wed Oct 22, 2014 5:02 pm

Re: Dark and Light FreeCAD stylesheets (v1.8a)

Postby sgrogan » Wed May 08, 2019 7:56 pm

zmp2000 wrote:
Wed May 08, 2019 6:39 pm
(It´s already included in the last version as super-dark.qss)
A lucky mistake, my local tests leaked into the 0.19_pre win build :oops:
I've been using it since my previous post. :)
zmp2000
Posts: 7
Joined: Sat May 04, 2019 6:44 pm

Re: Dark and Light FreeCAD stylesheets (v1.8a)

Postby zmp2000 » Wed May 08, 2019 11:24 pm

pablogil wrote:
Sun May 05, 2019 8:37 pm
Hi,

I was already developing a "Darker" stylesheet but I had no time to finish it: just changing the themable colors wasn't enough, I felt like it needed some tweaking... BTW here you have it in case you want to test or to continue it... I'm still out of time.
It is using svg icons (which are neither released) so maybe it would be better to help me tweaking it and let me push it to master...
Hi pablogil, how did you changed the Workbench Selector from ComboBox to Icons?

Also does any body know if could be possible to change another colors using a stylesheet ? Like grid, Lines on sketcher, Would it be necessary to have a stylesheet per workbench?
User avatar
apeltauer
Posts: 212
Joined: Fri Aug 11, 2017 2:19 pm

Re: Dark and Light FreeCAD stylesheets (v1.8a)

Postby apeltauer » Thu May 09, 2019 6:22 am

Can you please post a link to your PR or a link to your github repository where i can find your files?
pablogil
Posts: 764
Joined: Wed Nov 26, 2014 3:19 pm
Location: Badajoz (Spain)
Contact:

Re: Dark and Light FreeCAD stylesheets (v1.8a)

Postby pablogil » Thu May 09, 2019 7:05 am

zmp2000 wrote:
Wed May 08, 2019 11:24 pm
Hi pablogil, how did you changed the Workbench Selector from ComboBox to Icons?
It's a Selector option, you have to go to its Preferences and change it as you like it (go to Tools/Accesories/Selector Toolbar menu).
zmp2000 wrote:
Wed May 08, 2019 11:24 pm
Also does any body know if could be possible to change another colors using a stylesheet ? Like grid, Lines on sketcher, Would it be necessary to have a stylesheet per workbench?
Theoretically it's possible but it would be necessary that developers add uniques IDs to the views and workbenches and then stylesheet designers add them into their .qss files.
Now a days only @triplus and me have done it with the Selector Toolbar...
Dark and Light stylesheets v2.0 to theme your FreeCAD UI, more information here