1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
% elegant.sl
% By Guido Gonzato, guido dot gonzato at univr dot it
$1 = "black";
$3 = "white";
$2 = "#D8D8D8"; % light gray
$4 = "#606060"; % medium gray
$5 = "#B4FFB4"; % pale green
$6 = "#1010A0"; % dark blue
$7 = "#B40A78"; % dark purple
$8 = "brightred";
set_color ("normal", $1, $2); % default fg/bg
set_color ("status", $1, $3); % status line
set_color ("operator", $1, $2); % +, -, etc...
set_color ("number", $6, $2); % 10, 2.71, etc..
set_color ("comment", $1, $5); % /* comment */
set_color ("region", $3, $4); % region
set_color ("string", $6, $3); % "string" or 'char'
set_color ("keyword", $6, $2); % if, while, unsigned, ...
set_color ("keyword1", "blue", $2); % malloc, exit, etc...
set_color ("keyword2", "#007000", $2); % other keywords
set_color ("delimiter", $8, $2); % {}[](),.;...
set_color ("preprocess", "magenta", $2); % #ifdef etc...
set_color ("message", $6, $2);
set_color ("error", $8, $2);
set_color ("dollar", $8, $2);
set_color ("...", $8, $2); % folding indicator
set_color ("menu_char", $8, $3);
set_color ("menu", $1, "white");
set_color ("menu_popup", $1, $3);
set_color ("menu_shadow", $1, $4);
set_color ("menu_selection", $1, "cyan");
set_color ("menu_selection_char", $8, $3);
set_color ("mouse", "blue", "blue");
set_color ("cursor", $1, $8);
set_color ("cursorovr", $1, $8);
|