Recent

Author Topic: Change Lazarus colour  (Read 13835 times)

Xander

  • New Member
  • *
  • Posts: 14
Change Lazarus colour
« on: June 21, 2017, 01:46:59 pm »
Is there a way to change Lazarus color. Not only the text area but the whole lazarus IDE? Im not sure how to explain this but i want to change Lazarus to a darker theme.

taazz

  • Hero Member
  • *****
  • Posts: 5368
Re: Change Lazarus colour
« Reply #1 on: June 21, 2017, 01:57:25 pm »
no it is not. You can change the colors of the editor, the object inspector and that's it I guess. you can download the delphi theme editor from https://github.com/RRUZ/delphi-ide-theme-editor which has some support for lazarus but to what extend I do not know.
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

JD

  • Hero Member
  • *****
  • Posts: 1848
Re: Change Lazarus colour
« Reply #2 on: June 21, 2017, 01:57:59 pm »
Like Brackets or Atom.  :D :D
Windows - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe),
Linux Mint - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe)

mORMot; Zeos 8; SQLite, PostgreSQL & MariaDB; VirtualTreeView

JD

  • Hero Member
  • *****
  • Posts: 1848
Re: Change Lazarus colour
« Reply #3 on: June 21, 2017, 01:59:14 pm »
no it is not. You can change the colors of the editor, the object inspector and that's it I guess. you can download the delphi theme editor from https://github.com/RRUZ/delphi-ide-theme-editor which has some support for lazarus but to what extend I do not know.

It works with both Lazarus & Delphi. But it only changes the colour of the source editor not the entire IDE.
Windows - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe),
Linux Mint - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe)

mORMot; Zeos 8; SQLite, PostgreSQL & MariaDB; VirtualTreeView

Xander

  • New Member
  • *
  • Posts: 14
Re: Change Lazarus colour
« Reply #4 on: June 21, 2017, 09:55:07 pm »
See thats the problem, i want the change the whole IDE's color not just the editor.

Ondrej Pokorny

  • Full Member
  • ***
  • Posts: 220
Re: Change Lazarus colour
« Reply #5 on: June 21, 2017, 09:59:53 pm »
See thats the problem, i want the change the whole IDE's color not just the editor.

Change your OS settings colors. Easy.

avra

  • Hero Member
  • *****
  • Posts: 2514
    • Additional info
Re: Change Lazarus colour
« Reply #6 on: June 21, 2017, 11:36:46 pm »
Change your OS settings colors.
So true. IDE theming still depends on OS.
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

taazz

  • Hero Member
  • *****
  • Posts: 5368
Re: Change Lazarus colour
« Reply #7 on: June 21, 2017, 11:50:33 pm »
See thats the problem, i want the change the whole IDE's color not just the editor.

Change your OS settings colors. Easy.
doesn't work that way. For example it is not adviced to work with a dark theme on a desktop publishing application or even a word processor, if you want a more accurate representation of what you are working on, in fact the only applications that I can think of that go well with any kind of theme(Dark or not) are media players and Code editors. even simple text editor might be preferable to have them in a white based theme.

Any way here is my best attempt to a dark theme on lazarus I do not think there is much else you can do.
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: 2514
    • Additional info
Re: Change Lazarus colour
« Reply #8 on: June 22, 2017, 08:39:36 am »
doesn't work that way.
Well, if you patch Windows to enable 3rd party themes then there are some themes available which can give you almost exact look of XFCE dark theme shown above on Win7/8/10. Users should have a choice if they want dark theme or not. It should be their decision, not intentionally limited by OS like latest Windows versions do. I do feel that IDE theming is missing in Lazarus and that if it existed then OS theming shouldn't matter that much. But hey, even Delphi got IDE theming just several years ago.
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

JD

  • Hero Member
  • *****
  • Posts: 1848
Re: Change Lazarus colour
« Reply #9 on: June 22, 2017, 09:07:54 am »
Change your OS settings colors.
So true. IDE theming still depends on OS.

Ah Linux! Wonderful. Love the Manjaro dark theme. I've only been able to get an all grey theme on Windows. That's what I work with on Windows.
« Last Edit: June 22, 2017, 09:10:20 am by JD »
Windows - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe),
Linux Mint - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe)

mORMot; Zeos 8; SQLite, PostgreSQL & MariaDB; VirtualTreeView

avra

  • Hero Member
  • *****
  • Posts: 2514
    • Additional info
Re: Change Lazarus colour
« Reply #10 on: June 22, 2017, 10:32:36 am »
I've only been able to get an all grey theme on Windows.
That's about the best you can get with out of the box Windows. If you are willing to go over the edge then something like UxThemePatcher and UniversalThemePatcher enable 3rd party themes. Just search the net for windows dark theme.

On the other hand I am a little extreme on this. I simply want dark to reduce eye strain. White background is often too much for me. I have attached a teaser on how Lazarus forum looks to me.
 
 8)
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

Xander

  • New Member
  • *
  • Posts: 14
Re: Change Lazarus colour
« Reply #11 on: June 22, 2017, 05:48:47 pm »
I'll try and change windows theme to dark. Can anyone maybe lead me into a direction to go with this.

Paul_

  • Full Member
  • ***
  • Posts: 143
Re: Change Lazarus colour
« Reply #12 on: June 22, 2017, 06:12:52 pm »
In Windows 10 exists dark theme, but it does not affect colors in Lazarus IDE.

I'm not sure if third-party software which is changing theme by "hacking" is good solution. There can be problems with stability etc., also system updates are now really aggressive. Simply such theme settings will disappear from OS or there will be some strange things around after update.



kefealo

  • Newbie
  • Posts: 4
Re: Change Lazarus colour
« Reply #13 on: November 04, 2019, 02:18:40 pm »
In Windows 10 exists dark theme, but it does not affect colors in Lazarus IDE.

I'm not sure if third-party software which is changing theme by "hacking" is good solution. There can be problems with stability etc., also system updates are now really aggressive. Simply such theme settings will disappear from OS or there will be some strange things around after update.

jwdietrich

  • Hero Member
  • *****
  • Posts: 1232
    • formatio reticularis
Re: Change Lazarus colour
« Reply #14 on: November 04, 2019, 03:22:57 pm »
It applies only to the editor, but https://wiki.lazarus.freepascal.org/UserSuppliedSchemeSettings lists a selection of themes.
function GetRandomNumber: integer; // xkcd.com
begin
  GetRandomNumber := 4; // chosen by fair dice roll. Guaranteed to be random.
end;

http://www.formatio-reticularis.de

Lazarus 2.2.6 | FPC 3.2.2 | PPC, Intel, ARM | macOS, Windows, Linux

 

TinyPortal © 2005-2018