User forums > Using Code::Blocks
Dark theme - contribution
georger_br:
I really like C::B and have always wanted it to have a nice dark theme, so I pieced one together from Monokai (Sublime Text 2, Eclipse) and Resesif (Xcode). I really like the end result. I use it along with these settings:
1) General Settings/Editor settings/Font is Consolas 12;
2) General Settings/Editor settings/Other options/Highlight line under caret is enabled;
3) Margins and caret/Caret/Style is Line, Width is 3, and Colour is red (255 0 0).
Those interested may import this with CB Share Config (rename from .txt to .conf). It goes without saying that you should first back up your current configuration file!
Georger
golgepapaz:
Looks very good. I had my own monokai theme but I've overwrote it after
installing another theme from here so the OPs advice about backing it up is
sound.
Here is a comparison between SublimeText's monokai theme and
this one. Scintilla's lexer seems indeed limited.
That light blue (or is it teal? I am colour blind. :) ) colour for keywords
seem better suited but that's up to one's own taste I guess.
georger_br:
--- Quote from: golgepapaz on June 28, 2013, 01:23:19 am ---Looks very good. I had my own monokai theme but I've overwrote it after
installing another theme from here so the OPs advice about backing it up is
sound.
Here is a comparison between SublimeText's monokai theme and
this one. Scintilla's lexer seems indeed limited.
That light blue (or is it teal? I am colour blind. :) ) colour for keywords
seem better suited but that's up to one's own taste I guess.
--- End quote ---
Hi,
I just changed the keywords to blue, and I think it looks better now. I have attached the updated color theme. To those that have already downloaded, here goes the changelog:
1) Keyword
From 249 38 114
to 38 249 173
2) User keyword
From 166 226 46
to 249 38 114
3) Preprocessor
From 166 226 46
to 249 38 114
4) Operator
From 38 249 173
to 166 226 46
I don't think Scintilla's lexer is limited, rather it seems that ST2's lexer is really sophisticated - it can parse variable and function names, constants, classes, and a number of other tokens.
Enjoy!
georger_br:
I've attached a new, final (?) version with updated colours for comment lines, strings, and numbers.
oBFusCATed:
georger_br: Can you start a page on the wiki with your theme, so we can start collecting users supplied themes and to store them in a single place?
Navigation
[0] Message Index
[#] Next page
Go to full version