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 22using Gdk; 23using Gtk; 24 25public class ThemeSolarizedLight : Theme { 26 27 /* Create the theme colors */ 28 public ThemeSolarizedLight() { 29 30 name = "solarized_light"; 31 label = _( "Solarized Light" ); 32 custom = false; 33 34 /* Generate the non-link colors */ 35 set_color( "background", color_from_string( "#FDF6E3" ) ); 36 set_color( "foreground", color_from_string( "#586E75" ) ); 37 set_color( "root_background", color_from_string( "#839496" ) ); 38 set_color( "root_foreground", color_from_string( "#FDF6E3" ) ); 39 set_color( "nodesel_background", color_from_string( "#586E75" ) ); 40 set_color( "nodesel_foreground", color_from_string( "#ffffff" ) ); 41 set_color( "textsel_background", color_from_string( "#93A1A1" ) ); 42 set_color( "textsel_foreground", color_from_string( "#002B36" ) ); 43 set_color( "text_cursor", color_from_string( "#586E75" ) ); 44 set_color( "attachable", color_from_string( "#9bdb4d" ) ); 45 set_color( "connection_background", color_from_string( "#606060" ) ); 46 set_color( "connection_foreground", color_from_string( "#FDF6E3" ) ); 47 set_color( "url_background", color_from_string( "Grey" ) ); 48 set_color( "url_foreground", color_from_string( "Blue" ) ); 49 set_color( "tag", color_from_string( "#c00000" ) ); 50 set_color( "syntax", color_from_string( "Grey" ) ); 51 set_color( "match_background", color_from_string( "Gold" ) ); 52 set_color( "match_foreground", color_from_string( "Black" ) ); 53 set_color( "markdown_listitem", color_from_string( "Red" ) ); 54 55 set_color( "link_color0", color_from_string( "#DC322F" ) ); 56 set_color( "link_color1", color_from_string( "#CB4B16" ) ); 57 set_color( "link_color2", color_from_string( "#B58900" ) ); 58 set_color( "link_color3", color_from_string( "#859900" ) ); 59 set_color( "link_color4", color_from_string( "#268BD2" ) ); 60 set_color( "link_color5", color_from_string( "#6C71C4" ) ); 61 set_color( "link_color6", color_from_string( "#D33682" ) ); 62 set_color( "link_color7", color_from_string( "#2AA198" ) ); 63 64 prefer_dark = false; 65 66 } 67 68} 69