[gnome-terminal] prefs: editor: Add comments to Solarized colors



commit e8ee9f7868dfdbce6bb9607bcd659bb30580cb5f
Author: Egmont Koblinger <egmont gmail com>
Date:   Wed May 2 11:28:21 2018 +0200

    prefs: editor: Add comments to Solarized colors

 src/profile-editor.c |   40 ++++++++++++++++++++--------------------
 1 files changed, 20 insertions(+), 20 deletions(-)
---
diff --git a/src/profile-editor.c b/src/profile-editor.c
index c93a191..2ba624b 100644
--- a/src/profile-editor.c
+++ b/src/profile-editor.c
@@ -187,13 +187,13 @@ static const TerminalColorScheme color_schemes[] = {
   },
   /* Translators: "Solarized" is the name of a colour scheme, "light" can be translated */
   { N_("Solarized light"),
-    COLOR (0x65, 0x7B, 0x83),
-    COLOR (0xfd, 0xf6, 0xe3)
+    COLOR (0x65, 0x7b, 0x83),  /* 11: base00 */
+    COLOR (0xfd, 0xf6, 0xe3)   /* 15: base3  */
   },
   /* Translators: "Solarized" is the name of a colour scheme, "dark" can be translated */
   { N_("Solarized dark"),
-    COLOR (0x83, 0x94, 0x96),
-    COLOR (0x00, 0x2b, 0x36)
+    COLOR (0x83, 0x94, 0x96),  /* 12: base0  */
+    COLOR (0x00, 0x2b, 0x36)   /*  8: base03 */
   },
 };
 
@@ -293,22 +293,22 @@ static const GdkRGBA terminal_palettes[TERMINAL_PALETTE_N_BUILTINS][TERMINAL_PAL
 
   /* Solarized palette (1.0.0beta2): http://ethanschoonover.com/solarized */
   {
-    COLOR (0x07, 0x36, 0x42),
-    COLOR (0xdc, 0x32, 0x2f),
-    COLOR (0x85, 0x99, 0x00),
-    COLOR (0xb5, 0x89, 0x00),
-    COLOR (0x26, 0x8b, 0xd2),
-    COLOR (0xd3, 0x36, 0x82),
-    COLOR (0x2a, 0xa1, 0x98),
-    COLOR (0xee, 0xe8, 0xd5),
-    COLOR (0x00, 0x2b, 0x36),
-    COLOR (0xcb, 0x4b, 0x16),
-    COLOR (0x58, 0x6e, 0x75),
-    COLOR (0x65, 0x7b, 0x83),
-    COLOR (0x83, 0x94, 0x96),
-    COLOR (0x6c, 0x71, 0xc4),
-    COLOR (0x93, 0xa1, 0xa1),
-    COLOR (0xfd, 0xf6, 0xe3)
+    COLOR (0x07, 0x36, 0x42),  /*  0: base02  */
+    COLOR (0xdc, 0x32, 0x2f),  /*  1: red     */
+    COLOR (0x85, 0x99, 0x00),  /*  2: green   */
+    COLOR (0xb5, 0x89, 0x00),  /*  3: yellow  */
+    COLOR (0x26, 0x8b, 0xd2),  /*  4: blue    */
+    COLOR (0xd3, 0x36, 0x82),  /*  5: magenta */
+    COLOR (0x2a, 0xa1, 0x98),  /*  6: cyan    */
+    COLOR (0xee, 0xe8, 0xd5),  /*  7: base2   */
+    COLOR (0x00, 0x2b, 0x36),  /*  8: base03  */
+    COLOR (0xcb, 0x4b, 0x16),  /*  9: orange  */
+    COLOR (0x58, 0x6e, 0x75),  /* 10: base01  */
+    COLOR (0x65, 0x7b, 0x83),  /* 11: base00  */
+    COLOR (0x83, 0x94, 0x96),  /* 12: base0   */
+    COLOR (0x6c, 0x71, 0xc4),  /* 13: violet  */
+    COLOR (0x93, 0xa1, 0xa1),  /* 14: base1   */
+    COLOR (0xfd, 0xf6, 0xe3)   /* 15: base3   */
   },
 };
 


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