Difference between revisions of "Syntax highlighting custom colour themes"

From Code::Blocks
Line 4: Line 4:
 
==Modnokai==
 
==Modnokai==
  
Modnokai is a modified version of the [http://www.monokai.nl/blog/2006/07/15/textmate-color-theme/ Monokai theme for Textmate].
+
Modnokai is a modified version of the [http://www.monokai.nl/blog/2006/07/15/textmate-color-theme/ Monokai theme for Textmate]. Although it is technically a "dark theme", the only dark colours in it are the background and comments. All other colours are warm and vibrant.
  
 
Make sure Code::Blocks is '''NOT''' running. Import the colour set [/index.php/topic,18094.msg123762.html#msg123762 file] into your configuration with CB Share Config. Run Code::Blocks, go to Settings, Editor..., Syntax highlighting, and pick Colour theme 'modnokai'. For best results, change the following settings as well:
 
Make sure Code::Blocks is '''NOT''' running. Import the colour set [/index.php/topic,18094.msg123762.html#msg123762 file] into your configuration with CB Share Config. Run Code::Blocks, go to Settings, Editor..., Syntax highlighting, and pick Colour theme 'modnokai'. For best results, change the following settings as well:

Revision as of 14:50, 29 June 2013

This page lists syntax highlighting custom color themes contributed by Code::Blocks users.

Modnokai

Modnokai is a modified version of the Monokai theme for Textmate. Although it is technically a "dark theme", the only dark colours in it are the background and comments. All other colours are warm and vibrant.

Make sure Code::Blocks is NOT running. Import the colour set [/index.php/topic,18094.msg123762.html#msg123762 file] into your configuration with CB Share Config. Run Code::Blocks, go to Settings, Editor..., Syntax highlighting, and pick Colour theme 'modnokai'. For best results, change the following settings as well:

  • General settings/Editor settings/Font: change to the monospaced font of your choice (Consolas 12 works well on Windows);
  • General settings/Editor settings/Other options/Highlight line under caret is enabled;
  • Margins and caret/Caret/Style is Line, Width is 3, and Colour is red (R: 255, G: 0, B: 0).

Below is a screenshot of Code::Blocks 12.11 with Modnokai running on Windows XP. Modnokai.png

Note: Always back up your current configuration file before importing a custom configuration file.