Dark mode

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
10 messages Options
Udo
Reply | Threaded
Open this post in threaded view
|

Dark mode

Udo
This post was updated on .
that is still simple, but how do I change the background of the program without having to leave the darkmode on macOS?

Black signs on a dark gray background are not really good to see ;-)

Reply | Threaded
Open this post in threaded view
|

Re: Dark mode

flywire
This post was updated on .
Did you try Application Preferences, Appearance, Background as shown in the post above your post?
Udo
Reply | Threaded
Open this post in threaded view
|

Re: Dark mode

Udo
This post was updated on .
that was the first thing I did, but with little hope of success and the result was as expected, only the background of the drawing area is changed.

I don't see that I could influence the color of the program's user interface, except to leave the dark mode, which of course makes little sense.
Reply | Threaded
Open this post in threaded view
|

Re: Dark mode

flywire
This post was updated on .
In reply to this post by Udo
Udo wrote
Black signs
I understood your drawings were black signs.

Now I understand you are asking how to change the toolbar icons. I'd start with https://github.com/LibreCAD/LibreCAD/tree/master/librecad/res/icons then replace stroke:#000000 with stroke:#ffffff and stroke:#ffffff with stroke:#000000.
Udo
Reply | Threaded
Open this post in threaded view
|

Re: Dark mode

Udo
This post was updated on .
flywire wrote
Now I understand you are asking how to change the toolbar icons. I'd start with https://github.com/LibreCAD/LibreCAD/tree/master/librecad/res/icons then replace stroke:#000000 with stroke:#ffffff and stroke:#ffffff with stroke:#000000.
thank you very much for your answer, but to change more than 200 icons is beyond my time frame and if, then only automated really makes sense.

But since it will probably be more than just the icons, it would be much more sensible and also faster to disable the support of the dark mode in macOS in the sorucrecode first.

A clean support of the dark mode can then be pushed afterwards.

Or did I misunderstand you?

GitHub Issues: MacOS Dark Mode - LibreCAD is not really usable!
Reply | Threaded
Open this post in threaded view
|

Re: Dark mode

flywire
This post was updated on .
How does https://github.com/flywire/LibreCAD/tree/dark-mode/librecad/res/icons/dark-mode look?

Seems some have not been completely converted like angle_line_to_line.svg. Command probably requires multiple operations on the same line.

Edit: Looking at snap_endpoints.svg the remaining black line is actually #130000 (Diesel) instead of #000000 (Black). Same with arc_concentric.svg. Seems icon colors need a tidy up.
Reply | Threaded
Open this post in threaded view
|

Re: Dark mode

flywire
This post was updated on .
I don't have a mac in dark mode. Feel free to test it from https://github.com/flywire/LibreCAD/releases

Udo
Reply | Threaded
Open this post in threaded view
|

Re: Dark mode

Udo
This post was updated on .
the first look is very good to see, but parts of the application no longer working e.g. Grid Snap

Udo
Reply | Threaded
Open this post in threaded view
|

Re: Dark mode

Udo
This post was updated on .
activated icons, as you can see here with the third, are still difficult to recognize.



but you can change widgets to windows


Reply | Threaded
Open this post in threaded view
|

Re: Dark mode

flywire
This post was updated on .
Udo wrote
activated icons, as you can see here with the third, are still difficult to recognize.
It should display much clearer than the screenshot you posted in the forum.

It fails on contrast, often with an outline color:

#ffffff - White
#000000 - Black
#00ff7f - SpringGreen

https://webaim.org/resources/contrastchecker/?fcolor=00ff7f&bcolor=FFFFFF&api
* {"ratio":"1.34","AA":"fail","AALarge":"fail","AAA":"fail","AAALarge":"fail"}

https://webaim.org/resources/contrastchecker/?fcolor=00ff7f&bcolor=0000&api
* {"ratio":"15.6","AA":"pass","AALarge":"pass","AAA":"pass","AAALarge":"pass"}

There is more to icon design than a quick hack swapping black and white. The other colors (greys and light green) might need to be inverted and some of the icon graphics might need to be reworked to support automated changes. A few minor changes have already been committed to standardise some icon colors.

It is not really viable working on this in Windows with a light theme.