Recent

Author Topic: Dark Theme in my program?  (Read 8160 times)

d7_2_laz

  • Hero Member
  • *****
  • Posts: 510
Re: Dark Theme in my program?
« Reply #75 on: April 11, 2023, 04:53:52 pm »
I'd welcoma a lot every kind of compromise, which could be (e.g.,) as a starting point, a simple if-else, or a separate include file for the color setting (that one might pick up or not), or an IFDEF or whatsoever.  All better than to impose preferences on the fly. Of course the individual habits differ here, that's normal.
Lazarus 3.2  FPC 3.2.2 Win10 64bit

furious programming

  • Hero Member
  • *****
  • Posts: 852
Re: Dark Theme in my program?
« Reply #76 on: April 11, 2023, 05:19:24 pm »
I just assumed that this package was only meant to change the color scheme of the IDE, without additional tweaking of the interface. So the goal is to take the native look and only change the colors to dark. Meanwhile, currently, not only is the color scheme incompatible with the native appearance of the interface, it also does not comply with the dark theme contrast guidelines (the contrast is too high) and permanently modifies component settings, such as expand sign in all TTreeView controls (instead of native |^| are set to |+|).

So please, try to immitate the native theme by changing the color scheme only, keeping everything else in the default style, alignment etc. If you need inspiration, just make a screenshot of the standard (white) Lazarus IDE, and then invert colors in the Paint or any other graphics editor. Then slightly adjust the lightness and voilà — you have all dark shades ready to implement in the package.
« Last Edit: April 11, 2023, 05:27:45 pm by furious programming »
Lazarus 3.2 with FPC 3.2.2, Windows 10 — all 64-bit

Working solo on an acrade, action/adventure game in retro style (pixelart), programming the engine and shell from scratch, using Free Pascal and SDL. Release planned in 2026.

 

TinyPortal © 2005-2018