[gnome-terminal] widget: Add Solarized text/background colors



commit 2763ea6647d412b093a670f137d8c5ab7ee58fbe
Author: Egmont Koblinger <egmont gmail com>
Date:   Sat Apr 19 21:43:51 2014 +0200

    widget: Add Solarized text/background colors
    
    https://bugzilla.gnome.org/show_bug.cgi?id=655030

 help/C/app-colors.page |    5 +++--
 src/profile-editor.c   |   12 +++++++++++-
 2 files changed, 14 insertions(+), 3 deletions(-)
---
diff --git a/help/C/app-colors.page b/help/C/app-colors.page
index 897088d..6e57fdf 100644
--- a/help/C/app-colors.page
+++ b/help/C/app-colors.page
@@ -59,8 +59,9 @@
 
     <p>You can choose one of the built-in color schemes: <gui>Black on light
     yellow</gui>, <gui>Black on white</gui>, <gui>Gray on black</gui>,
-    <gui>Green on black</gui>, <gui>White on black</gui>. To set any of the
-    built-in schemes:</p>
+    <gui>Green on black</gui>, <gui>White on black</gui>, <gui>Solarized
+    light</gui>, <gui>Solarized dark</gui>. To set any of the built-in
+    schemes:</p>
 
     <steps>
       <item>
diff --git a/src/profile-editor.c b/src/profile-editor.c
index 2b2a250..c3bc959 100644
--- a/src/profile-editor.c
+++ b/src/profile-editor.c
@@ -64,7 +64,17 @@ static const TerminalColorScheme color_schemes[] = {
   { N_("White on black"),
     { 1, 1, 1, 1 },
     { 0, 0, 0, 1 }
-  }
+  },
+  /* Translators: "Solarized" is the name of a colour scheme, "light" can be translated */
+  { N_("Solarized light"),
+    { 0.396078, 0.482352, 0.513725, 1 },
+    { 0.992156, 0.964705, 0.890196, 1 }
+  },
+  /* Translators: "Solarized" is the name of a colour scheme, "dark" can be translated */
+  { N_("Solarized dark"),
+    { 0.513725, 0.580392, 0.588235, 1 },
+    { 0,        0.168627, 0.211764, 1 }
+  },
 };
 
 #define TERMINAL_PALETTE_SIZE (16)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]