1/*
2* Copyright (c) 2018 (https://github.com/phase1geo/Minder)
3*
4* This program is free software; you can redistribute it and/or
5* modify it under the terms of the GNU General Public
6* License as published by the Free Software Foundation; either
7* version 2 of the License, or (at your option) any later version.
8*
9* This program is distributed in the hope that it will be useful,
10* but WITHOUT ANY WARRANTY; without even the implied warranty of
11* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12* General Public License for more details.
13*
14* You should have received a copy of the GNU General Public
15* License along with this program; if not, write to the
16* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17* Boston, MA 02110-1301 USA
18*
19* Authored by: Trevor Williams <phase1geo@gmail.com>
20*/
21
22public class ThemeDefault : Theme {
23
24  /* Create the theme colors */
25  public ThemeDefault() {
26
27    name   = "default";
28    label  = _( "Light" );
29    custom = false;
30
31    /* Generate the non-link colors */
32    set_color( "background",            color_from_string( "#ffffff" ) );
33    set_color( "foreground",            color_from_string( "Black" ) );
34    set_color( "root_background",       color_from_string( "#d4d4d4" ) );
35    set_color( "root_foreground",       color_from_string( "Black" ) );
36    set_color( "nodesel_background",    color_from_string( "#64baff" ) );
37    set_color( "nodesel_foreground",    color_from_string( "Black" ) );
38    set_color( "textsel_background",    color_from_string( "#0d52bf" ) );
39    set_color( "textsel_foreground",    color_from_string( "White" ) );
40    set_color( "text_cursor",           color_from_string( "Black" ) );
41    set_color( "attachable",            color_from_string( "#9bdb4d" ) );
42    set_color( "connection_background", color_from_string( "#777777" ) );
43    set_color( "connection_foreground", color_from_string( "#ffffff" ) );
44    set_color( "url_background",        color_from_string( "Grey") );
45    set_color( "url_foreground",        color_from_string( "Blue" ) );
46    set_color( "tag",                   color_from_string( "#c00000" ) );
47    set_color( "syntax",                color_from_string( "Grey" ) );
48    set_color( "match_background",      color_from_string( "Gold" ) );
49    set_color( "match_foreground",      color_from_string( "Black" ) );
50    set_color( "markdown_listitem",     color_from_string( "Red" ) );
51
52    set_color( "link_color0", color_from_string( "#c6262e" ) );
53    set_color( "link_color1", color_from_string( "#f37329" ) );
54    set_color( "link_color2", color_from_string( "#f9c440" ) );
55    set_color( "link_color3", color_from_string( "#68b723" ) );
56    set_color( "link_color4", color_from_string( "#3689e6" ) );
57    set_color( "link_color5", color_from_string( "#7a36b1" ) );
58    set_color( "link_color6", color_from_string( "#715344" ) );
59    set_color( "link_color7", color_from_string( "#333333" ) );
60
61    prefer_dark = false;
62
63  }
64
65}
66