Recent

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

RusMikle

  • Newbie
  • Posts: 2
Dark theme for IDE (Lazarus 1.8.2)
« on: March 12, 2018, 05:07:55 pm »
Hi All!

Dark theme for IDE (not for the editor).
How?

Thanks!

taazz

  • Hero Member
  • *****
  • Posts: 5364
Re: Dark theme for IDE (Lazarus 1.8.2)
« Reply #1 on: March 12, 2018, 05:12:48 pm »
not themed
Good judgement is the result of experience … Experience is the result of bad judgement.

OS : Windows 7 64 bit
Laz: Lazarus 1.4.4 FPC 2.6.4 i386-win32-win32/win64

RusMikle

  • Newbie
  • Posts: 2

taazz

  • Hero Member
  • *****
  • Posts: 5364
Re: Dark theme for IDE (Lazarus 1.8.2)
« Reply #3 on: March 12, 2018, 05:21:36 pm »
lazarus supports what ever theme the Operating system has you can't set its colours selectively.
Good judgement is the result of experience … Experience is the result of bad judgement.

OS : Windows 7 64 bit
Laz: Lazarus 1.4.4 FPC 2.6.4 i386-win32-win32/win64


avra

  • Hero Member
  • *****
  • Posts: 2368
    • Additional info
Re: Dark theme for IDE (Lazarus 1.8.2)
« Reply #5 on: March 12, 2018, 06:25:30 pm »
Dark theme for IDE (not for the editor).
Lazarus uses OS theming. Take a look at dark themed Lazarus on Manjaro XFCE:
http://forum.lazarus.freepascal.org/index.php/topic,37268.msg250138.html#msg250138
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

palacs

  • New Member
  • *
  • Posts: 21
Re: Dark theme for IDE (Lazarus 1.8.2)
« Reply #6 on: October 08, 2018, 02:57:23 pm »
Please don't follow the trend and ruin Lazarus with custom dark theming and decolored icons! For God's sake, just please don't.

garlar27

  • Hero Member
  • *****
  • Posts: 652
Re: Dark theme for IDE (Lazarus 1.8.2)
« Reply #7 on: October 08, 2018, 03:50:00 pm »
Please don't follow the trend and ruin Lazarus with custom dark theming and decolored icons! For God's sake, just please don't.
why not if the OS is configured with a dark theme?
On windows 10 I use the OS dark theme which changes everything (except Lazarus and many other apps) I'd like Lazarus sticks to the OS theme.-

AlexTP

  • Hero Member
  • *****
  • Posts: 1900
    • UVviewsoft
Re: Dark theme for IDE (Lazarus 1.8.2)
« Reply #8 on: October 09, 2018, 01:44:12 pm »
For dark theming, IDE would need to replace TButtons to TATButtons or another themed control, same for Listboxes, Edits, Memos (OS themed border/ selection) etc

Pascal

  • Hero Member
  • *****
  • Posts: 932
Re: Dark theme for IDE (Lazarus 1.8.2)
« Reply #9 on: January 08, 2019, 11:37:50 am »
Are there any plans to make the IDE respond to Windows 10  dark mode?

It's great to change the colors of the editor but very annoying that everything else stays in light grey!
laz trunk x64 - fpc trunk i386 (cross x64) - Windows 10 Pro x64 (21H2)

ps

  • Full Member
  • ***
  • Posts: 134
    • CSS
Re: Dark theme for IDE (Lazarus 1.8.2)
« Reply #10 on: January 08, 2019, 12:35:14 pm »
Windows 10 itself don't support full theme changing. I think we must wait for MS to full Win32 API support for dark theme (or planned white). Only part of Explorer is dark, properties etc. is not themed. Even many "metro" native aps from Win10 don't support dark theme (eg. Paint 3D) ...
Small simple CSS/box model implementation: https://github.com/pst2d/csscontrols/tree/dev

mangakissa

  • Hero Member
  • *****
  • Posts: 1130
Re: Dark theme for IDE (Lazarus 1.8.2)
« Reply #11 on: January 09, 2019, 09:58:06 am »
Lazarus 2.0 ?
Lazarus 2.06 (64b) / FPC 3.0.4 / Windows 10
stucked on Delphi 10.3.1

palacs

  • New Member
  • *
  • Posts: 21
Re: Dark theme for IDE (Lazarus 1.8.2)
« Reply #12 on: February 05, 2019, 02:41:27 pm »
why not if the OS is configured with a dark theme?
Because it needs the modification of GUI components to do so, like replacing TButton's to different widget classes. It can also affect users who don't like the current idealism of dark UIs. Those UI components will likely not to use GDI, GDI+ drawing which means they will be slower and probably incompatible with older systems (like Windows 7, XP, 2000, etc.). We should not sacrifice compatibility only to follow a sick trend and push it down everyone's throat.

Akira1364

  • Hero Member
  • *****
  • Posts: 559
Re: Dark theme for IDE (Lazarus 1.8.2)
« Reply #13 on: February 05, 2019, 02:54:15 pm »
We should not sacrifice compatibility only to follow a sick trend and push it down everyone's throat.

This makes no sense. If that functionality existed for Lazarus on Windows, it would be precisely as optional as things like changing the color of the source editor currently are. If you didn't want to use it, you just wouldn't. It wouldn't have any effect on you at all.

Also the idea that this would require all of the controls in the IDE to have their classes fundamentally changed is just wrong. How do you think for example Delphi's "VCL styles" work? It's all bitmaps. The underlying controls are the same.

lucamar

  • Hero Member
  • *****
  • Posts: 4219
Re: Dark theme for IDE (Lazarus 1.8.2)
« Reply #14 on: February 05, 2019, 03:35:33 pm »
@pallacs: Applications should use the OS theme the user has configured whether it's dark, pink, pastel green or whatever.

I don't like dark themes either. Consequently, my OSs are never dark (excet for very specific testing and for very short periods) and my applications shouldn't be, and those that disregard my choice get dumped out. And I would dump it equally if I used a dark theme and an application ignored it and used a clear one.

Whether t's difficult or not to adapt the application doesn't matter: what matters is that applicaitons should follow the theme the user has selected for his OS.
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus/FPC 2.0.8/3.0.4 & 2.0.12/3.2.0 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.

 

TinyPortal © 2005-2018