Thanks for the Help.
The only thing that isn't in Dark Mode is the Code Editor. That's by design and I've been lazy and haven't experimented with Code Editor Themes.Right-click on the editor. In the IDE options select "Editor" > "Display" > "Colors". The second dropdown in the right toolbar is the "Color scheme", select "Twilight" and the editor will be dark as well. Search the forum, there are contributions how to extend the list of color schemes.
I'm guessing the same is possible under Windows.No. Windows does not have a real dark mode for the desktop applications, except for a few.
The only thing that isn't in Dark Mode is the Code Editor. That's by design and I've been lazy and haven't experimented with Code Editor Themes.Right-click on the editor. In the IDE options select "Editor" > "Display" > "Colors". The second dropdown in the right toolbar is the "Color scheme", select "Twilight" and the editor will be dark as well. Search the forum, there are contributions how to extend the list of color schemes.
I'm guessing the same is possible under Windows.No. Windows does not have a real dark mode for the desktop applications, except for a few.
Oh well, there's another another reason for choosing Linux :P
Or macOS ;-)
I'm guessing the same is possible under Windows.No. Windows does not have a real dark mode for the desktop applications, except for a few.
Hummm, I wasn't aware that Windows doesn't have a Dark Theme. I'm aware that some apps have their own but I was under the impression that Windows already implemented an OS wide Dark Theme.
Maybe it's just me being so comfortable with it under Ubuntu, that I assume, wrongly, that Windows did it first, or had it already.
There are undocumented ways to enable dark theme in an application on Windows, but that's the point: they're undocumented (and they even change a bit from Windows version to Windows version).
Search the forum, there are contributions how to extend the list of color schemes.A list of user-provided color schemes can be found in the wiki: https://wiki.lazarus.freepascal.org/UserSuppliedSchemeSettings
If build lazarus with qt5 for windows and using https://github.com/doublecmd/doublecmd/blob/master/src/platform/win/udarkstyle.pas you can get a dark theme
https://disk.yandex.ru/d/_LWZvwTJG0x7vw
Copy darklazqt5/lazarus to your lazarus directory (this contains 64bit qt dll and udarkstyle.pas)
Apply darklazqt5/lazarus.pp.patch
Build Lazarus with qt5 widget type
contains only 64bit dll
If build lazarus with qt5 for windows and using https://github.com/doublecmd/doublecmd/blob/master/src/platform/win/udarkstyle.pas you can get a dark theme
https://disk.yandex.ru/d/_LWZvwTJG0x7vw
Copy darklazqt5/lazarus to your lazarus directory (this contains 64bit qt dll and udarkstyle.pas)
Apply darklazqt5/lazarus.pp.patch
Build Lazarus with qt5 widget type
contains only 64bit dll
-style default -stylesheet=path/to/style.qss
example: I put my style.qss in c:\lazarus\styles-style default -stylesheet=styles/style.qss
python -c "from PyQt5.QtWidgets import QStyleFactory; print(QStyleFactory.keys())"
from a command prompt, obviously needs python installed. I also have PyQt5 installed with pip. I'm not sure if its output is directly involved with lazarus qt5 styling or not.
Where can I find up to date dlls?of course no! oficial is https://download.qt.io and https://gitlab.com/freepascal.org/lazarus/lazarus/-/tree/main/lcl/interfaces/qt5/cbindings
Is there a official repository for 64bit dlls?https://disk.yandex.ru/d/_LWZvwTJG0x7vw
Copy darklazqt5/lazarus to your lazarus directory (this contains 64bit qt dll and udarkstyle.pas)
Apply darklazqt5/lazarus.pp.patch
Build Lazarus with qt5 widget type
contains only 64bit dll
On my Linux pc, either qt5 or gtk2 dark mode make Lazarus practically unusable, properties values in object inspector are in unreadable, dark blue color.
Another variant of the dark theme for windows. Without qt, just installing the package metadarkstyledsgn from https://github.com/zamtmn/metadarkstyleYou made someone very happy, thank you! :-*
Another variant of the dark theme for windows. Without qt, just installing the package metadarkstyledsgn from https://github.com/zamtmn/metadarkstyleIs there a way that I just got one vertical ScrollBar for the Code-Editor?
Am I the only person that having twice a vertical ScrollBar in different styles?
Ahhhhmazing! Yes exactly that was it, thanks my friend!Am I the only person that having twice a vertical ScrollBar in different styles?
This is not ScrollBar, this is so called overview gutter. You can turn it off in Editor->Display options:
I just installed the metadarkstyle but nothing changed. Is it automatic or should i do something?Installed both?
Yes i did, but nothing happensAfter installing both packages, did you rebuild the IDE?
Is it automatic or should i do something?It be activated automagical after successful install.
Win32, Lazarus 2.012 FPC 3.2.0Just a guess, a more current version of Lazarus.
What am I missing?
Just a guess, a more current version of Lazarus.You are write : it works without problem on Laz2.2.6.
My only bug is with some checkboxes, like those inside of OPM, you will not see if they are checked or not (because dark checkbox with same dark ✓ sign)Thank you for fixing! Latest release working cool on Windows 10 64bit with Lazarus 2.3.0 (rev main-2_3-3223-g00a23612bf) FPC 3.2.2 x86_64-win64-win32/win64
And some highlighters not working, but still everything is very usable.In general I do now see that a button (TBitButton? TSpeedButton?) is getting slightly highlighted, thanks man, you rock!
You need setThere's nothing like that in Lazarus -> Options. I tried setting these in code, recompiled and reinstalled the package but nothing.in options\darkstyle
PreferredAppMode - Force dark Color scheme - dark
this leapfrog with IDE packages - appeared in the trunk version, they are not in the stable version.
Ok, in https://github.com/zamtmn/metadarkstyle/commit/703c82eda117dc64cba058a80769fa8c3b4729c5 I add Lazarus 2.2.6 support. If you use 2.2.6 please install metadarkstyledsgn226 instead metadarkstyledsgn for trunk lazarus.
Dark theme is not good for your eyes.The science behind that might be perfectly solid but that does not change the fact that when I stare at a screen for 8 hours a day, come home and add another 4 hours that, for me, it is impossible to see anything anymore for the last 2 hours because everything on the screen is "dancing" at that point when using a light theme.
When it comes to visual-acuity tasks and proofreading tasks, studies have shown that people with normal and corrected vision perform better with Light mode. This means that text in Light mode is clearer and quicker to understand for people with normal or corrected vision.
The researchers put this down to the fact that when we look at a bright background, our pupils constrict and increase acuity while scanning text. When looking at a black background, the opposite effect occurs, and dilated pupils make it harder to focus on the text. Dark theme also causes your eyes to dilate. Since there is less light to take in, your eyes have to work harder to see clearly. Eye dilation can reduce your vision's sharpness, so you may have to strain to see well.
I never use dark theme on anything.