[gnome-terminal] profile: editor: Revert Tango palette's black to match the default



commit 76a16074b7a80df6265fd35d84cbb63ca57e60e6
Author: Egmont Koblinger <egmont gmail com>
Date:   Fri Dec 29 21:08:29 2017 +0100

    profile: editor: Revert Tango palette's black to match the default
    
    Tango palette's black differed from gnome-terminal's default black.
    Revert Tango's black to dark Aluminium so that they match.
    
    Add new fg+bg color schemes "Tango dark" and "Tango light".
    
    Make "Tango dark" the default if "Use colors from system theme" is
    unchecked.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=774619

 src/org.gnome.Terminal.gschema.xml |    4 ++--
 src/profile-editor.c               |   12 +++++++++++-
 2 files changed, 13 insertions(+), 3 deletions(-)
---
diff --git a/src/org.gnome.Terminal.gschema.xml b/src/org.gnome.Terminal.gschema.xml
index 614ce33..c07b115 100644
--- a/src/org.gnome.Terminal.gschema.xml
+++ b/src/org.gnome.Terminal.gschema.xml
@@ -124,12 +124,12 @@
       <description>Human-readable name of the profile.</description>
     </key>
     <key name="foreground-color" type="s">
-      <default>'#00FF00'</default>
+      <default>'#D3D7CF'</default>
       <summary>Default color of text in the terminal</summary>
       <description>Default color of text in the terminal, as a color specification (can be HTML-style hex 
digits, or a color name such as “red”).</description>
     </key>
     <key name="background-color" type="s">
-      <default>'#000000'</default>
+      <default>'#2E3436'</default>
       <summary>Default color of terminal background</summary>
       <description>Default color of terminal background, as a color specification (can be HTML-style hex 
digits, or a color name such as “red”).</description>
     </key>
diff --git a/src/profile-editor.c b/src/profile-editor.c
index d1043af..7412f04 100644
--- a/src/profile-editor.c
+++ b/src/profile-editor.c
@@ -68,6 +68,16 @@ static const TerminalColorScheme color_schemes[] = {
     COLOR (0xff, 0xff, 0xff),
     COLOR (0x00, 0x00, 0x00)
   },
+  /* Translators: "Tango" is the name of a colour scheme, "light" can be translated */
+  { N_("Tango light"),
+    COLOR (0x2e, 0x34, 0x36),
+    COLOR (0xee, 0xee, 0xec)
+  },
+  /* Translators: "Tango" is the name of a colour scheme, "dark" can be translated */
+  { N_("Tango dark"),
+    COLOR (0xd3, 0xd7, 0xcf),
+    COLOR (0x2e, 0x34, 0x36)
+  },
   /* Translators: "Solarized" is the name of a colour scheme, "light" can be translated */
   { N_("Solarized light"),
     COLOR (0x65, 0x7B, 0x83),
@@ -96,7 +106,7 @@ static const GdkRGBA terminal_palettes[TERMINAL_PALETTE_N_BUILTINS][TERMINAL_PAL
 {
   /* Tango palette */
   {
-    COLOR (0x00, 0x00, 0x00),
+    COLOR (0x2e, 0x34, 0x36),
     COLOR (0xcc, 0x00, 0x00),
     COLOR (0x4e, 0x9a, 0x06),
     COLOR (0xc4, 0xa0, 0x00),


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