* * *

Author Topic: Monokai theme for Lazarus  (Read 7349 times)

icetear

  • New member
  • *
  • Posts: 5
Monokai theme for Lazarus
« on: January 06, 2015, 12:12:49 pm »
Hello everyone, I made Monokai theme for Lazarus and just want to share, maybe someone will like it.
Used the Monokai palette and 2 colors from Sublime Text.

I could not change the color for words function, procedure, as well as the names of functions and procedures (of course apart from other keywords). Is it possible?

Installation:
  • Copy Monokai.xml to your "lazarus\userschemes" folder, e.g. "c:\documents and settings\icetear\local settings\application data\lazarus\userschemes\monokai.xml"
  • Go to "Tools - Enviromental Settings - Editor - Colors" and select new theme
  • Set the font to Consolas (size 12), and turn on antialiasing

upd: Added Monokai2.xml with only difference in coloring of special symbols, in Monokai2.xml they're the same color as keywords. I can't choose what variant better.
« Last Edit: January 07, 2015, 10:00:24 am by icetear »

Ocye

  • Hero Member
  • *****
  • Posts: 518
    • Scrabble3D
Re: Monokai theme for Lazarus
« Reply #1 on: January 06, 2015, 01:15:26 pm »
Looks pretty cool. I'll try it with my dark KDE theme (Wonton soup) this evening.
I spotted a minor flaw: compiler switches {$ are grayed out like comments { or //.
Thanks for sharing!
Lazarus 1.7 (SVN) FPC 3.0.0

icetear

  • New member
  • *
  • Posts: 5
Re: Monokai theme for Lazarus
« Reply #2 on: January 06, 2015, 01:42:14 pm »
Looks pretty cool.
Thanks.
I spotted a minor flaw: compiler switches {$ are grayed out like comments { or //.
Yeah, I know about that, I did so because Sublime Text uses same colors for comments and directives. Anyway
I tried to use colors only from Sublime Text/Monokai pallete.

For all: If you know how to use colors better, let me know, because my version is not necessarily the best.

Fred vS

  • Hero Member
  • *****
  • Posts: 1663
    • miXimum is the DJ's best friend
Re: Monokai theme for Lazarus
« Reply #3 on: January 06, 2015, 01:52:58 pm »
Quote
For all: If you know how to use colors better, let me know, because my version is not necessarily the best.

Hello. You may use a color picker to get the color you want.

See here =>

http://forum.lazarus.freepascal.org/index.php/topic,26288.msg161261.html#msg161261
I use Lazarus 1.8.0 32/64 and FPC 3.0.3 32/64 on Linux Mint Mate 17 32/64, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64 and Mac OS X Snow Leopard 32.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt, Carbon.

https://github.com/fredvs

icetear

  • New member
  • *
  • Posts: 5
Re: Monokai theme for Lazarus
« Reply #4 on: January 06, 2015, 02:03:02 pm »
Hello. You may use a color picker to get the color you want.

See here =>

http://forum.lazarus.freepascal.org/index.php/topic,26288.msg161261.html#msg161261
Thanks, nice app, but I mean "how to better use colors from Sublime Text/Monokai pallete" :)

kapibara

  • Sr. Member
  • ****
  • Posts: 462
Re: Monokai theme for Lazarus
« Reply #5 on: January 06, 2015, 11:11:01 pm »
Lazarus trunk / fpc 3.0 / Debian Stretch 64-bit

icetear

  • New member
  • *
  • Posts: 5
Re: Monokai theme for Lazarus
« Reply #6 on: January 07, 2015, 10:12:41 am »
Nice!

Have you seen this:

https://code.google.com/p/delphi-ide-theme-editor/
Thanks for link, no I haven't, I looked about 6-8 Monokai themes in this editor, but they're  not really good, as for me.

upd: Added new variant, reread first post.

Ocye

  • Hero Member
  • *****
  • Posts: 518
    • Scrabble3D
Re: Monokai theme for Lazarus
« Reply #7 on: January 07, 2015, 09:27:30 pm »
Even when its not Friday I want to show my desktop. Wonton Soup with Monokai2, usual layout.

Edit: Wonton Soup is one of the dark themes of KDE (Linux desktop environment).
« Last Edit: January 09, 2015, 01:32:08 pm by Ocye »
Lazarus 1.7 (SVN) FPC 3.0.0

exdatis

  • Hero Member
  • *****
  • Posts: 662
    • exdatis
Re: Monokai theme for Lazarus
« Reply #8 on: January 07, 2015, 11:24:49 pm »
Nice!

avra

  • Hero Member
  • *****
  • Posts: 1140
    • Additional info
Re: Monokai theme for Lazarus
« Reply #9 on: January 08, 2015, 01:35:34 pm »
You can add it to other custom themes wiki page:
http://wiki.lazarus.freepascal.org/UserSuppliedSchemeSettings
ct2laz - Easily convert components and projects between Lazarus and CodeTyphon


icetear

  • New member
  • *
  • Posts: 5
Re: Monokai theme for Lazarus
« Reply #11 on: May 06, 2017, 05:42:43 pm »
I even forgot about it, thank you for adding it to the wiki. :)

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus