Recent

Author Topic: Dark theme for IDE (Lazarus 1.8.2)  (Read 31480 times)

mr-highball

  • Full Member
  • ***
  • Posts: 233
    • Highball Github
Re: Dark theme for IDE (Lazarus 1.8.2)
« Reply #15 on: March 26, 2021, 02:46:08 pm »
for those still looking around for this on windows that respects the OS theme (dark/light), Notepad++ has a PR out there for doing it. some of which uses some "undocumented" winapi's but it's a start. (maybe could be adapted for our ide.... :) )
https://github.com/notepad-plus-plus/notepad-plus-plus/pull/9587

and a different effort goes with a plugin approach to "force" the theme,
https://github.com/ozone10/Npp-DarkNpp/blob/master/Plugin/PluginDefinition.cpp



PizzaProgram

  • Jr. Member
  • **
  • Posts: 53
  • ...developing Delphi apps since 25 years.
Re: Dark theme for IDE (Lazarus 1.8.2)
« Reply #16 on: May 11, 2022, 03:29:34 am »
There is an other, older topic about this too, but no progress...
https://forum.lazarus.freepascal.org/index.php/topic,48179.0.html

@moderators: Shouldn't this topic be at https://forum.lazarus.freepascal.org/index.php/board,13.0.html
category?
x86_64-win64 --Win7 PRO 64bit HUN

LeoBruno

  • Jr. Member
  • **
  • Posts: 61
Re: Dark theme for IDE (Lazarus 1.8.2)
« Reply #17 on: July 02, 2022, 07:02:19 pm »
Mid 2022 and dark theme option on windows not avaiable yet.

A simple google search shows that there is demand for this.

How long further will us windows users be hostages to Lazarus light theme?

Lazarus 2.2.2 FPC 3.2.2 Windows (qt5) Anchor Docking

Handoko

  • Hero Member
  • *****
  • Posts: 5131
  • My goal: build my own game engine using Lazarus
Re: Dark theme for IDE (Lazarus 1.8.2)
« Reply #18 on: July 02, 2022, 07:13:28 pm »
How long further will us windows users be hostages to Lazarus light theme?

Until Windows provides more information, as explained here:
https://forum.lazarus.freepascal.org/index.php/topic,48179.msg442168.html#msg442168

LeoBruno

  • Jr. Member
  • **
  • Posts: 61
Re: Dark theme for IDE (Lazarus 1.8.2)
« Reply #19 on: July 02, 2022, 11:16:01 pm »
How about any hack or "tricking" the IDE to work dark themed?

Any suggestions?
Lazarus 2.2.2 FPC 3.2.2 Windows (qt5) Anchor Docking

mr-highball

  • Full Member
  • ***
  • Posts: 233
    • Highball Github
Re: Dark theme for IDE (Lazarus 1.8.2)
« Reply #20 on: July 02, 2022, 11:27:29 pm »
for those still looking around for this on windows that respects the OS theme (dark/light), Notepad++ has a PR out there for doing it. some of which uses some "undocumented" winapi's but it's a start. (maybe could be adapted for our ide.... :) )
https://github.com/notepad-plus-plus/notepad-plus-plus/pull/9587

and a different effort goes with a plugin approach to "force" the theme,
https://github.com/ozone10/Npp-DarkNpp/blob/master/Plugin/PluginDefinition.cpp

Still a valid suggestion in my book...

LeoBruno

  • Jr. Member
  • **
  • Posts: 61
Re: Dark theme for IDE (Lazarus 1.8.2)
« Reply #21 on: July 03, 2022, 12:16:27 am »
The zamtmn`s tip, along with jex`s explanation containded on the below link, worked for me ....

https://forum.lazarus.freepascal.org/index.php/topic,55550.msg435622.html#msg435622

Thank you


Lazarus 2.2.2 FPC 3.2.2 Windows (qt5) Anchor Docking

LeoBruno

  • Jr. Member
  • **
  • Posts: 61
Re: Dark theme for IDE (Lazarus 1.8.2)
« Reply #22 on: July 22, 2022, 04:32:45 am »
Lazarus 2.2.2 FPC 3.2.2 Windows (qt5) Anchor Docking

zamtmn

  • Hero Member
  • *****
  • Posts: 594

DimTim

  • New Member
  • *
  • Posts: 42
Re: Dark theme for IDE (Lazarus 1.8.2)
« Reply #24 on: October 08, 2022, 07:28:08 am »
Dark theme is not always a matter of taste.  For example, with my vision condition (cataract), light text on dark background is visible far better than "windows classic" black on white. 

Besides, on dark background, text may be colored with all spectre of bright or pastel colors, while on white background, text colors should be dull and dark. :) 

Anyway, users should be given a choice.

DomingoGP

  • Jr. Member
  • **
  • Posts: 60
Re: Dark theme for IDE (Lazarus 1.8.2)
« Reply #25 on: October 08, 2022, 03:13:24 pm »
Quote
Dark theme is not always a matter of taste.  For example, with my vision condition (cataract), light text on dark background is visible far better than "windows classic" black on white.
I have written a small package for ide that changes the background colour of a few types of controls. Maybe someone can use it to improve the problem a bit.

See https://forum.lazarus.freepascal.org/index.php/topic,59985.0.html

The attached project provides a more fine grained control of the colors than the original.

 

TinyPortal © 2005-2018