[THEME] Tomorrow

Working on new editor enhancements?
User avatar
kpeters58
Enthusiast
Enthusiast
Posts: 341
Joined: Tue Nov 22, 2011 5:11 pm
Location: Kelowna, BC, Canada

[THEME] Tomorrow

Post by kpeters58 »

After trying a number of themes, I was never really happy with any of them. Today I looked at a number of theme ratings on the net and 'Tomorrow' showed up on top of a number of them.
I like it because it strikes a nice balance between contrast and readability - nice muted colours, not gaudy.

I will tweak this without doubt over time, but for now it works quite well for me. Maybe someone else will like it too ...

Code: Select all

; 
[Sections]
IncludeColors = 1
; 
; Color settings for Tomorrow Night Theme, modeled after https://github.com/chriskempson/tomorrow-theme
; The standard theme is being used below; other variations available: Tomorrow (light), Tomorrow Night Eighties, Tomorrow Night Blue & Tomorrow Night Bright
; 
; Tomorrow night defines 12 colors: 
;
; #1d1f21 Background         rgb( 29,  31,  33)
; #282a2e Current Line       rgb( 40,  42,  46)
; #373b41 Selection          rgb( 55,  59,  65)
; #c5c8c6 Foreground         rgb(197, 200, 198)
; #969896 Comment            rgb(150, 152, 150)
; #cc6666 Red                rgb(204, 102, 102)
; #de935f Orange             rgb(222, 147,  95)
; #f0c674 Yellow             rgb(240, 198, 116)
; #b5bd68 Green              rgb(181, 189, 104)
; #8abeb7 Aqua               rgb(138, 190, 183)
; #81a2be Blue               rgb(129, 162, 190)
; #b294bb Purple             rgb(178, 148, 187)

[Colors]
ASMKeywordColor                     = rgb(204, 102, 102)   ; red 
ASMKeywordColor_Used                = 1
BackgroundColor                     = rgb( 29,  31,  33)   ; background
BackgroundColor_Used                = 1
BasicKeywordColor                   = rgb(240, 198, 116)   ; yellow 
BasicKeywordColor_Used              = 1
CommentColor                        = rgb(150, 152, 150)   ; comment
CommentColor_Used                   = 1
ConstantColor                       = rgb(222, 147,  95)   ; orange  
ConstantColor_Used                  = 1
LabelColor                          = rgb(204, 102, 102)   ; red
LabelColor_Used                     = 1
NormalTextColor                     = rgb(197, 200, 198)   ; foreground
NormalTextColor_Used                = 1
NumberColor                         = rgb(129, 162, 190)   ; blue
NumberColor_Used                    = 1
OperatorColor                       = rgb(129, 162, 190)   ; blue
OperatorColor_Used                  = 1
PointerColor                        = rgb(204, 102, 102)   ; red
PointerColor_Used                   = 1
PureKeywordColor                    = rgb(178, 148, 187)   ; purple 
PureKeywordColor_Used               = 1
SeparatorColor                      = rgb(129, 162, 190)   ; blue
SeparatorColor_Used                 = 0
StringColor                         = rgb(181, 189, 104)   ; green
StringColor_Used                    = 1
StructureColor                      = rgb(138, 190, 183)   ; aqua
StructureColor_Used                 = 1
LineNumberColor                     = rgb(150, 152, 150)   ; comment
LineNumberColor_Used                = 1
LineNumberBackColor                 = rgb( 29,  31,  33)   ; background
LineNumberBackColor_Used            = 1
MarkerColor                         = rgb(204, 102, 102)   ; red              (line marker Ctrl-F2)
MarkerColor_Used                    = 1
CurrentLineColor                    = rgb( 40,  42,  46)   ; current line
CurrentLineColor_Used               = 1
SelectionColor                      = rgb( 55,  59,  65)   ; selection
SelectionColor_Used                 = 1
SelectionFrontColor                 = rgb(255, 255, 255)   ; white
SelectionFrontColor_Used            = 1
CursorColor                         = rgb(255, 255, 255)   ; white
CursorColor_Used                    = 1
Debugger_LineColor                  = RGB(30, 30, 30)
Debugger_LineColor_Used             = 1
Debugger_LineSymbolColor            = RGB(30, 30, 30)
Debugger_LineSymbolColor_Used       = 1
Debugger_ErrorColor                 = RGB(255, 170, 170)
Debugger_ErrorColor_Used            = 0
Debugger_ErrorSymbolColor           = RGB(255, 170, 170)
Debugger_ErrorSymbolColor_Used      = 1
Debugger_BreakPointColor            = rgb(138, 190, 183)   ; aqua
Debugger_BreakPointColor_Used       = 1
Debugger_BreakpoinSymbolColor       = RGB(170, 210, 210)
Debugger_BreakpoinSymbolColor_Used  = 1
Debugger_WarningColor               = RGB(255, 200, 0)
Debugger_WarningColor_Used          = 1
Debugger_WarningSymbolColor         = RGB(255, 200, 0)
Debugger_WarningSymbolColor_Used    = 1
DisabledBackColor                   = rgb( 62,  66,  75)   ; dark grey - shown while program is running
DisabledBackColor_Used              = 1
GoodBraceColor                      = rgb(129, 162, 190)   ; blue
GoodBraceColor_Used                 = 1
BadBraceColor                       = rgb(204, 102, 102)   ; red
BadBraceColor_Used                  = 1
ProcedureBackColor                  = rgb( 62,  66,  75)   ; dark grey
ProcedureBackColor_Used             = 1
CustomKeywordColor                  = RGB(15, 164, 160)
CustomKeywordColor_Used             = 0
IndentColor                         = rgb(150, 152, 150)   ; comment
IndentColor_Used                    = 1
ModuleColor                         = rgb(204, 102, 102)   ; red
ModuleColor_Used                    = 1
SelectionRepeatColor                = RGB(85, 85, 85)
SelectionRepeatColor_Used           = 1
PlainBackground                     = RGB(31, 29, 35)
PlainBackground_Used                = 1
ToolsPanel_FrontColor               = rgb(240, 198, 116)   ; yellow 
ToolsPanel_BackColor                = rgb( 29,  31,  33)   ; background
; End of [Colors] section
Last edited by kpeters58 on Tue Feb 26, 2019 1:45 am, edited 1 time in total.
PB 5.73 on Windows 10 & OS X High Sierra
User avatar
Sicro
Enthusiast
Enthusiast
Posts: 538
Joined: Wed Jun 25, 2014 5:25 pm
Location: Germany
Contact:

Re: [THEME] Tomorrow

Post by Sicro »

Looks good. Thank you!

I changed the color of constants a bit to make the color difference to keywords clearer. After this change, the color of the constants was similar to the color of the strings, so I changed the color of the strings to a green color.

Code: Select all

ConstantColor = RGB(186, 131, 27)
StringColor   = RGB(81, 153, 72)
Image
Why OpenSource should have a license :: PB-CodeArchiv-Rebirth :: Pleasant-Dark (syntax color scheme) :: RegEx-Engine (compiles RegExes to NFA/DFA)
Manjaro Xfce x64 (Main system) :: Windows 10 Home (VirtualBox) :: Newest PureBasic version
User avatar
kpeters58
Enthusiast
Enthusiast
Posts: 341
Joined: Tue Nov 22, 2011 5:11 pm
Location: Kelowna, BC, Canada

Re: [THEME] Tomorrow

Post by kpeters58 »

That's funny - I did almost the same thing after working with it for a bit!
PB 5.73 on Windows 10 & OS X High Sierra
User avatar
Sicro
Enthusiast
Enthusiast
Posts: 538
Joined: Wed Jun 25, 2014 5:25 pm
Location: Germany
Contact:

Re: [THEME] Tomorrow

Post by Sicro »

:D
Image
Why OpenSource should have a license :: PB-CodeArchiv-Rebirth :: Pleasant-Dark (syntax color scheme) :: RegEx-Engine (compiles RegExes to NFA/DFA)
Manjaro Xfce x64 (Main system) :: Windows 10 Home (VirtualBox) :: Newest PureBasic version
User avatar
RSBasic
Moderator
Moderator
Posts: 1218
Joined: Thu Dec 31, 2009 11:05 pm
Location: Gernsbach (Germany)
Contact:

Re: [THEME] Tomorrow

Post by RSBasic »

Nice
Image
Image
Post Reply