The Long Story
I recently switched from Brackets to Geany as my Python editor of choice. I'd been using Brackets for quite some time. Mainly because I was on a Windows box (the idea of using 'Linux' software didn't really occur to me right away), and also because I love the default color scheme.
I was prompted to switch to Geany when I installed Kubuntu 15.04 on my personal laptop. Technically you can run Brackets on Linux, but for reasons that are outside the scope of this post, Brackets wasn't playing nice. So it was time to change.
I've worked with Geany before, and I really enjoy the Symbol Navigation feature (which vanilla Brackets doesn't have). However, I've never been too crazy about the default color scheme and most of the schemes I found posted online were not compatible with my Geany version (1.24.1). And to be honest I had a really difficult time finding something that I found appealing.
I recently switched from Brackets to Geany as my Python editor of choice. I'd been using Brackets for quite some time. Mainly because I was on a Windows box (the idea of using 'Linux' software didn't really occur to me right away), and also because I love the default color scheme.
I was prompted to switch to Geany when I installed Kubuntu 15.04 on my personal laptop. Technically you can run Brackets on Linux, but for reasons that are outside the scope of this post, Brackets wasn't playing nice. So it was time to change.
I've worked with Geany before, and I really enjoy the Symbol Navigation feature (which vanilla Brackets doesn't have). However, I've never been too crazy about the default color scheme and most of the schemes I found posted online were not compatible with my Geany version (1.24.1). And to be honest I had a really difficult time finding something that I found appealing.
So I decided decided to make my own theme based on the Brackets 'dark' theme, which I'll share with you now...
The Brackets.conf File:
# -- START OF FILE --
[theme_info]
name=Brackets
[named_styles]
default=#e6e3e3;#262626;true;false
error=;#ff2f6a;true
# Editor styles
#-----------------------------
selection=#000;#555753;false;true
current_line=#000;#6f6f6f;true
brace_good=#b6f;#232323;true;false
brace_bad=#eee;#232323;true;false
margin_line_number=#bbb;#555753
margin_folding=#000;#dfdfdf
fold_symbol_highlight=#fff
indent_guide=#3d3d3d
white_space=#3d3d3d;#fff;true;false
caret=#009cff;#000;false
marker_line=#bbb;#555753
marker_search=#bbb;#555753
marker_mark=#bbb;#555753
call_tips=#c0c0c0;#fff;false;false
# Programming languages
#-----------------------------
comment=#808080
comment_doc=comment
comment_line=comment
comment_line_doc=comment_doc
comment_doc_keyword=comment_doc,bold
comment_doc_keyword_error=comment_doc,italic
number=#71bd00
number_1=number
number_2=number_1
#b35acc;;true
function=#b35acc
parameter=function
keyword=#575eeb;;true
keyword_1=keyword
keyword_2=#575eeb;;true
keyword_3=keyword_1
keyword_4=keyword_1
identifier=default
identifier_1=identifier
identifier_2=identifier_1
identifier_3=identifier_1
identifier_4=identifier_1
string=#f2902e
string_1=string
string_2=string_1
string_3=default
string_4=default
string_eol=string_1,italic
character=number_2
backtick=string_2
here_doc=string_2
scalar=string_2
label=default,bold
preprocessor=#009cff;;true
regex=#adb2ff
operator=default
decorator=#009cff
other=default
# Markup-type languages
#-----------------------------
tag=#f90
tag_unknown=#f90
tag_end=#f90
attribute=#9e91ff
attribute_unknown=#9e91ff
value=string_1
entity=default
# Diff
#-----------------------------
line_added=#ff3a35
line_removed=#ff79d9
line_changed=#f90
# -- END OF FILE --
[theme_info]
name=Brackets
[named_styles]
default=#e6e3e3;#262626;true;false
error=;#ff2f6a;true
# Editor styles
#-----------------------------
selection=#000;#555753;false;true
current_line=#000;#6f6f6f;true
brace_good=#b6f;#232323;true;false
brace_bad=#eee;#232323;true;false
margin_line_number=#bbb;#555753
margin_folding=#000;#dfdfdf
fold_symbol_highlight=#fff
indent_guide=#3d3d3d
white_space=#3d3d3d;#fff;true;false
caret=#009cff;#000;false
marker_line=#bbb;#555753
marker_search=#bbb;#555753
marker_mark=#bbb;#555753
call_tips=#c0c0c0;#fff;false;false
# Programming languages
#-----------------------------
comment=#808080
comment_doc=comment
comment_line=comment
comment_line_doc=comment_doc
comment_doc_keyword=comment_doc,bold
comment_doc_keyword_error=comment_doc,italic
number=#71bd00
number_1=number
number_2=number_1
#b35acc;;true
function=#b35acc
parameter=function
keyword=#575eeb;;true
keyword_1=keyword
keyword_2=#575eeb;;true
keyword_3=keyword_1
keyword_4=keyword_1
identifier=default
identifier_1=identifier
identifier_2=identifier_1
identifier_3=identifier_1
identifier_4=identifier_1
string=#f2902e
string_1=string
string_2=string_1
string_3=default
string_4=default
string_eol=string_1,italic
character=number_2
backtick=string_2
here_doc=string_2
scalar=string_2
label=default,bold
preprocessor=#009cff;;true
regex=#adb2ff
operator=default
decorator=#009cff
other=default
# Markup-type languages
#-----------------------------
tag=#f90
tag_unknown=#f90
tag_end=#f90
attribute=#9e91ff
attribute_unknown=#9e91ff
value=string_1
entity=default
# Diff
#-----------------------------
line_added=#ff3a35
line_removed=#ff79d9
line_changed=#f90
# -- END OF FILE --
Here's a look at the final product:
Applying the Color Scheme
Here's how you apply the theme:
Here's how you apply the theme:
- Copy and paste the above into a file called 'brackets.conf'.
- If you're on Linux, copy that file into '/usr/share/geany/colorschemes/'
- If you're on Windows you can find the 'geany\colorschemes' directory under 'C:\Program Files' or 'C:\Program Files(x86)' depending on your architecture (and assuming you're on Windows 7/8.x).
- Once you've copied the file over, open Geany, and navigate to View > Change Color Scheme...
- The 'Color Schemes' dialog box will pop up, and you should now have the option of selecting 'Brackets', as shown in the screenshot below
That's all there is to it!
If you have any improvements or suggestions please let me know! If I get the hankering (or if there are requests) I may create a conf for the Brackets 'light' theme, but I have no concrete plans to do so. As a disclaimer, I should add that I program primarily in Python and used that as my reference when creating the conf. I can't say for certain how this theme will look in other languages.
If you have any improvements or suggestions please let me know! If I get the hankering (or if there are requests) I may create a conf for the Brackets 'light' theme, but I have no concrete plans to do so. As a disclaimer, I should add that I program primarily in Python and used that as my reference when creating the conf. I can't say for certain how this theme will look in other languages.