Allegro.cc - Online Community

Allegro.cc Forums » Off-Topic Ordeals » Free SciTE color themes! Get yours while stocks last!

This thread is locked; no one can reply to it. rss feed Print
Free SciTE color themes! Get yours while stocks last!
Corelian
Member #3,376
March 2003
avatar

Hi,
Since there are probably many SciTE users here, I decided to share my custom SciTE color themes. Hopefully they are of use to someone.

When I started to use SciTE I created a pretty usual white background theme by modifying the stock settings. After using that theme for a while I realized that the white background is quite eye straining especially when programming in the midnight hours. I decided to create a theme with a darker background and not too bright text. As you can see, I mimiced the Red Hat's Emacs theme, which I think is quite nice. So far I have mostly configured it for C/C++, Java, Lua, makefiles and misc. configure and properties files. Many other file types will look pretty messed up e.g. HTML, CSS, PHP, XML, but I'll probably fix that later.

I'll share both themes, since I think the white one is also pretty nice and many users prefer white backgrounds to dark ones.

Green (or olive or whatever) theme:
Sample image (~136kB png)

1# Misc colours
2fold.margin.colour=#3A6060
3fold.margin.highlight.colour=#3A6060
4caret.fore=#FFFFFF
5selection.back=#607060
6whitespace.fore=#508050
7 
8# Give symbolic names to the set of colours used in the standard styles.
9colour.code.comment.box=fore:#80A0A0
10colour.code.comment.line=fore:#A0C0C0
11colour.code.comment.doc=fore:#A0C0C0
12colour.text.comment=fore:#0000FF,back:#D0F0D0
13colour.other.comment=fore:#A0C0C0
14colour.embedded.comment=back:#E0EEFF
15colour.embedded.js=back:#F0F0FF
16colour.notused=back:#FF0000
17colour.number=fore:#CCBB77
18colour.keyword=fore:#00A0C0
19colour.keyword2=fore:#B99C4C
20colour.string=fore:#FF7788
21colour.char=fore:#FF7788
22colour.operator=fore:#F0E0B0
23colour.preproc=fore:#D0D000
24colour.error=fore:#FFFF00,back:#A05050
25 
26# Global default styles for all languages
27# Default
28style.*.32=$(font.base),back:#305050,fore:#CCBB77
29# Line number
30style.*.33=$(font.base),back:#305050
31# Brace highlight
32style.*.34=fore:#FF6030,bold
33# Brace incomplete highlight
34style.*.35=fore:#FF0000,bold
35# Control characters
36style.*.36=
37# Indentation guides
38style.*.37=fore:#507050
39 
40# C++ styles
41# Default
42style.cpp.32=$(font.base)
43# White space
44style.cpp.0=fore:#808080
45# Comment
46style.cpp.1=$(colour.code.comment.box),$(font.code.comment.box),italics
47# Line Comment
48style.cpp.2=$(colour.code.comment.line),$(font.code.comment.line),italics
49# Doc comment
50style.cpp.3=$(colour.code.comment.doc),$(font.code.comment.doc),italics
51# Number
52style.cpp.4=$(colour.number)
53# Keyword
54style.cpp.5=$(colour.keyword),bold
55# Double quoted string
56style.cpp.6=$(colour.string)
57# Single quoted string
58style.cpp.7=$(colour.char)
59# UUIDs (only in IDL)
60style.cpp.8=fore:#7F7F00
61# Preprocessor
62style.cpp.9=$(colour.preproc)
63# Operators
64style.cpp.10=$(colour.operator)
65# Identifiers
66style.cpp.11=
67# End of line where string is not closed
68style.cpp.12=$(colour.string),back:#5A5050,eolfilled
69# Verbatim strings for C#
70style.cpp.13=$(colour.string),back:#5A5050,eolfilled
71# Regular expressions for JavaScript
72style.cpp.14=$(colour.string),back:#5A5050,eolfilled
73# Doc Comment Line
74style.cpp.15=$(colour.code.comment.doc),$(font.code.comment.doc)
75# Keywords2
76style.cpp.16=$(colour.keyword2)
77# Comment keyword
78style.cpp.17=fore:#3060A0,$(font.code.comment.doc)
79# Comment keyword error
80style.cpp.18=fore:#804020,$(font.code.comment.doc)
81# Braces are only matched in operator style
82braces.cpp.style=10
83 
84# Conf styles
85# Default
86style.conf.32=$(font.base)
87# whitespace (SCE_CONF_DEFAULT)
88style.conf.0=$(font.base)
89# Comment (SCE_CONF_COMMENT)
90style.conf.1=$(colour.code.comment.box),$(font.comment),italics
91# Number (SCE_CONF_NUMBER)
92style.conf.2=$(colour.number)
93# identifier (SCE_CONF_IDENTIFIER)
94style.conf.9=$(colour.preproc)
95# Double quoted string (SCE_CONF_STRING)
96style.conf.6=$(colour.string)
97# Operators (SCE_CONF_OPERATOR)
98style.conf.7=$(colour.operator)
99# IP address (SCE_CONF_IP)
100style.conf.8=$(font.base)
101 
102# Properties styles
103# Default
104style.props.0=$(font.base)
105# Comment
106style.props.1=$(colour.code.comment.box),$(font.comment),italics
107# Section
108style.props.2=$(colour.preproc),back:#494949,eolfilled
109# Assignment operator
110style.props.3=$(colour.keyword2)
111# Default value (@)
112style.props.4=$(colour.preproc)
113# Matched Operators
114style.props.34=fore:#FF6030,bold
115style.props.35=fore:#FF0000,bold
116 
117# Makefile styles
118# Default
119style.makefile.0=$(font.base)
120# Comment: #
121style.makefile.1=$(colour.code.comment.box),$(font.comment),italics
122comment.block.makefile=#~
123# Pre-processor or other comment: !
124style.makefile.2=$(colour.preproc)
125# Variable: $(x)
126style.makefile.3=fore:#9F9F20
127# Operator
128style.makefile.4=$(colour.operator)
129# Target
130style.makefile.5=$(colour.preproc)
131# Error
132style.makefile.9=$(colour.error),eolfilled
133# Matched Operators
134style.makefile.34=fore:#FF6030,bold
135style.makefile.35=fore:#FF0000,bold
136 
137# Lua styles
138#Default
139style.lua.32=$(font.base)
140# White space: Visible only in View Whitespace mode (or if it has a back colour)
141style.lua.0=fore:#808080
142# Block comment (Lua 5.0)
143style.lua.1=$(colour.code.comment.box),$(font.code.comment.box),back:#305950,eolfilled,italics
144# Line comment
145style.lua.2=$(colour.code.comment.line),$(font.code.comment.line),italics
146# Doc comment -- Not used in Lua (yet?)
147style.lua.3=$(colour.notused),$(font.notused)
148# Number
149style.lua.4=$(colour.number)
150# Keyword
151style.lua.5=$(colour.keyword)
152# (Double quoted) String
153style.lua.6=$(colour.string)
154# Character (Single quoted string)
155style.lua.7=$(colour.char)
156# Literal string
157style.lua.8=$(colour.string),$(font.code.comment.box),back:#E0FFFF
158# Preprocessor (obsolete in Lua 4.0 and up)
159style.lua.9=$(colour.preproc)
160# Operators
161style.lua.10=$(colour.operator)
162# Identifier (everything else...)
163style.lua.11=$(font.base)
164# End of line where string is not closed
165style.lua.12=$(colour.string),back:#5A5050,eolfilled
166# Other keywords
167style.lua.13=$(style.lua.5)
168style.lua.14=$(style.lua.5)
169style.lua.15=$(style.lua.5)
170style.lua.16=$(style.lua.5)
171style.lua.17=$(style.lua.5)
172style.lua.18=$(style.lua.5)
173style.lua.19=$(style.lua.5)
174# Braces are only matched in operator style
175braces.lua.style=10
176 
177# Batch styles
178# Default
179style.batch.0=$(font.base)
180# Comment (rem or ::)
181style.batch.1=$(colour.code.comment.box),$(font.comment),italics
182# Keywords
183style.batch.2=$(colour.keyword),bold
184# Label (line beginning with ':')
185style.batch.3=$(colour.preproc),back:#494949,eolfilled
186# Hide command character ('@')
187style.batch.4=$(colour.preproc)
188# External commands
189style.batch.5=fore:#007090,$(font.monospace),bold
190# Variable: %%x (x is almost whatever, except space and %), %n (n in [0-9]), %EnvironmentVar%
191style.batch.6=$(font.base)
192# Operator: * ? < > |
193style.batch.7=$(colour.operator)
194 
195# Bash styles
196# Default
197style.bash.32=$(font.base)
198# White space
199style.bash.0=fore:#808080,$(font.base)
200# Error
201style.bash.1=$(colour.error)
202# Comment
203style.bash.2=$(colour.code.comment.box),$(font.comment),italics
204# Number
205style.bash.3=$(colour.number)
206# Keyword
207style.bash.4=$(colour.keyword),bold
208# Double quoted string
209style.bash.5=$(colour.string),$(font.monospace)
210# Single quoted string
211style.bash.6=$(colour.char),$(font.monospace)
212# Operators
213style.bash.7=$(colour.operator),bold
214# Identifiers (functions, etc.)
215style.bash.8=$(font.base)
216# Scalars: $var
217style.bash.9=fore:#000000,back:#FFE0E0
218# Parameter expansion: ${var}
219style.bash.10=fore:#000000,back:#FFFFE0
220# Back Ticks
221style.bash.11=fore:#FFFF00,back:#A08080
222# Here-doc (delimiter)
223style.bash.12=fore:#000000,back:#DDD0DD
224# Here-doc (single quoted, q)
225style.bash.13=fore:#7F007F,back:#DDD0DD,eolfilled,notbold
226# Braces are only matched in operator style
227braces.bash.style=7

White theme:
Sample image (~131kB png)

1#Misc colours
2fold.margin.colour=#00FFFF
3fold.margin.highlight.colour=#00FFFF
4caret.fore=#000000
5selection.back=#DADADA
6whitespace.fore=#E8E8E8
7 
8# Give symbolic names to the set of colours used in the standard styles.
9colour.code.comment.box=fore:#008000
10colour.code.comment.line=fore:#008000
11colour.code.comment.doc=fore:#008000
12colour.text.comment=fore:#0000FF,back:#D0F0D0
13colour.other.comment=fore:#008000
14colour.embedded.comment=back:#E0EEFF
15colour.embedded.js=back:#F0F0FF
16colour.notused=back:#FF0000
17colour.number=fore:#000000
18colour.keyword=fore:#0000FF
19colour.string=fore:#7F007F
20colour.char=fore:#7F007F
21colour.operator=fore:#FF0000
22colour.preproc=fore:#7F7F00
23colour.error=fore:#FFFF00,back:#FF0000
24 
25# Global default styles for all languages
26# Default
27style.*.32=$(font.base)
28# Line number
29style.*.33=back:#C0C0C0,$(font.base)
30# Brace highlight
31style.*.34=fore:#0000FF,bold
32# Brace incomplete highlight
33style.*.35=fore:#FF0000,bold
34# Control characters
35style.*.36=
36# Indentation guides
37style.*.37=fore:#DADADA,back:#FFFFFF
38 
39# C++ styles
40# Default
41style.cpp.32=$(font.base)
42# White space
43style.cpp.0=fore:#808080
44# Comment
45style.cpp.1=$(colour.code.comment.box),$(font.code.comment.box),italics
46# Line Comment
47style.cpp.2=$(colour.code.comment.line),$(font.code.comment.line),italics
48# Doc comment
49style.cpp.3=$(colour.code.comment.doc),$(font.code.comment.doc),italics
50# Number
51style.cpp.4=$(colour.number)
52# Keyword
53style.cpp.5=$(colour.keyword),bold
54# Double quoted string
55style.cpp.6=$(colour.string)
56# Single quoted string
57style.cpp.7=$(colour.char)
58# UUIDs (only in IDL)
59style.cpp.8=fore:#804080
60# Preprocessor
61style.cpp.9=$(colour.preproc)
62# Operators
63style.cpp.10=$(colour.operator)
64# Identifiers
65style.cpp.11=
66# End of line where string is not closed
67style.cpp.12=fore:#000000,$(font.monospace),back:#E0C0E0,eolfilled
68# Verbatim strings for C#
69style.cpp.13=fore:#007F00,$(font.monospace),back:#E0FFE0,eolfilled
70# Regular expressions for JavaScript
71style.cpp.14=fore:#3F7F3F,$(font.monospace),back:#E0F0FF,eolfilled
72# Doc Comment Line
73style.cpp.15=$(colour.code.comment.doc),$(font.code.comment.doc)
74# Keywords2
75style.cpp.16=fore:#B00040
76# Comment keyword
77style.cpp.17=fore:#3060A0,$(font.code.comment.doc)
78# Comment keyword error
79style.cpp.18=fore:#804020,$(font.code.comment.doc)
80# Braces are only matched in operator style
81braces.cpp.style=10

How to use those nifty themes:

Unix users: Paste the code at the end of your SciTE user options file, which is usually .SciTEUser.properties located in your home directory.

Windows users: Paste the code at the end of your SciTE user options file, which is usually SciTEUser.properties located in %USERPROFILE%.

Gnatinator
Member #2,330
May 2002
avatar

Oh score! :D didn't know you could actually customize Scites color scheme...

Many thanks ;)

Corelian
Member #3,376
March 2003
avatar

You're welcome.

Others are also welcome to share their SciTE themes (or any other custimizations). You can also modify my themes or add "support" for more languages if you like my colors and feel like doing the work.

I just noticed that the output pane text colors are pretty messed up.

Simon Parzer
Member #3,330
March 2003
avatar

Uhh, I don't use SciTE, so....
For all VIM-users: color schemes, a good one

ReyBrujo
Moderator
January 2001
avatar

Under Vim, I use the darkblue scheme (attached), which is really similar to your first theme. Nice work :)

--
RB
光子「あたしただ…奪う側に回ろうと思っただけよ」
Mitsuko's last words, Battle Royale

Archon
Member #4,195
January 2004
avatar

Are the dark backgrounds supposed to be easy for your eyes while you code endlessly throughout the night in a dark room?

ReyBrujo
Moderator
January 2001
avatar

From what I remember, bright backgrounds in a dark room aren't the best for your eyes ;-)

Nah, I never code in a dark room. Got that behaviour with the SNES, where the booklet suggests you to always play in a good illuminated area. So, I hate white (I cannot understand how people like the iPod, in example ;-)).

--
RB
光子「あたしただ…奪う側に回ろうと思っただけよ」
Mitsuko's last words, Battle Royale

Go to: