billiob pushed a commit to branch master.

http://git.enlightenment.org/apps/terminology.git/commit/?id=a46fe7e14f469caeb330e16ec7a337df0e9f8462

commit a46fe7e14f469caeb330e16ec7a337df0e9f8462
Author: Boris Faure <bill...@gmail.com>
Date:   Sat Aug 1 16:19:32 2020 +0200

    themes: color_classify selection.edc
---
 data/themes/default/colors.edc    |   6 ++
 data/themes/default/selection.edc | 125 +++++++++++++++++++++++++-------------
 data/themes/images/sl_stripe.png  | Bin 1024 -> 8959 bytes
 data/themes/nord.edc              |   1 +
 data/themes/papercolor.edc        |   1 +
 data/themes/solarized.edc         |   1 +
 data/themes/solarized_light.edc   |   1 +
 7 files changed, 92 insertions(+), 43 deletions(-)

diff --git a/data/themes/default/colors.edc b/data/themes/default/colors.edc
index 046edb9..ed9e87d 100644
--- a/data/themes/default/colors.edc
+++ b/data/themes/default/colors.edc
@@ -5,10 +5,16 @@ color_class { name: "CURSOR_HIGHLIGHT"; color: 255 255 255 
255; }
 color_class { name: "GLOW";     color: 51 153 255 255; }
 color_class { name: "GLOW_HIGHLIGHT";  color: 255 255 255 255; }
 color_class { name: "GLOW_TXT";
+   color: 51 153 255 255;
+   color2: 51 153 255 255;
+   color3: 51 153 255 255;
+}
+color_class { name: "GLOW_TXT_HIGHLIGHT";
    color: 255 255 255 255;
    color2: 51 153 255 255;
    color3: 51 153 255 255;
 }
+color_class { name: "END_SELECTION"; color: 255 0 0 255; }
 
 color_class { name: "c0";       color: 170 170 170 255; } // COL_DEF
 color_class { name: "c1";       color:   0   0   0 255; } // COL_BLACK
diff --git a/data/themes/default/selection.edc 
b/data/themes/default/selection.edc
index 30cfb64..a7c927b 100644
--- a/data/themes/default/selection.edc
+++ b/data/themes/default/selection.edc
@@ -20,8 +20,6 @@
 // bottomfull:
 // |        ######|
 // |##############|
-#define PATCOL   255 255 255 25
-#define OUTCOL   51 153 255 128
 
 group { name: "terminology/selection";
    images {
@@ -40,7 +38,8 @@ group { name: "terminology/selection";
          mouse_events: 0;
          clip_to: "top_clip";
          description { state: "default" 0.0;
-            color: PATCOL;
+            color: 255 255 255 25;
+            color_class: "GLOW";
             image.normal: "sl_stripe.png";
             fill.size.relative: 0.0 0.0;
             fill.size.offset: 240 240;
@@ -50,7 +49,8 @@ group { name: "terminology/selection";
          mouse_events: 0;
          clip_to: "middle_clip";
          description { state: "default" 0.0;
-            color: PATCOL;
+            color: 255 255 255 25;
+            color_class: "GLOW";
             image.normal: "sl_stripe.png";
             fill.size.relative: 0.0 0.0;
             fill.size.offset: 240 240;
@@ -60,7 +60,8 @@ group { name: "terminology/selection";
          mouse_events: 0;
          clip_to: "bottom_clip";
          description { state: "default" 0.0;
-            color: PATCOL;
+            color: 255 255 255 25;
+            color_class: "GLOW";
             image.normal: "sl_stripe.png";
             fill.size.relative: 0.0 0.0;
             fill.size.offset: 240 240;
@@ -199,7 +200,8 @@ group { name: "terminology/selection";
                relative: 1.0 1.0;
                offset: 2 0;
             }
-            color: OUTCOL;
+            color: 255 255 255 128;
+            color_class: "GLOW";
             image.normal: "sl_left.png";
             image.border: 0 0 4 4;
             fill.smooth: 0;
@@ -219,7 +221,8 @@ group { name: "terminology/selection";
                relative: 0.0 1.0;
                offset: 0 0;
             }
-            color: OUTCOL;
+            color: 255 255 255 128;
+            color_class: "GLOW";
             image.normal: "sl_right.png";
             image.border: 0 0 4 4;
             fill.smooth: 0;
@@ -239,7 +242,8 @@ group { name: "terminology/selection";
                relative: 0.0 0.0;
                offset: -1 3;
             }
-            color: OUTCOL;
+            color: 255 255 255 128;
+            color_class: "GLOW";
             image.normal: "sl_htop.png";
             fill.smooth: 0;
          }
@@ -258,7 +262,8 @@ group { name: "terminology/selection";
                relative: 0.0 1.0;
                offset: -1 -1;
             }
-            color: OUTCOL;
+            color: 255 255 255 128;
+            color_class: "GLOW";
             image.normal: "sl_hbottom.png";
             fill.smooth: 0;
          }
@@ -287,7 +292,8 @@ group { name: "terminology/selection";
                relative: 1.0 1.0;
                offset: 2 0;
             }
-            color: OUTCOL;
+            color: 255 255 255 128;
+            color_class: "GLOW";
             image.normal: "sl_left.png";
             image.border: 0 0 4 4;
             fill.smooth: 0;
@@ -307,7 +313,8 @@ group { name: "terminology/selection";
                relative: 1.0 1.0;
                offset: -1 0;
             }
-            color: OUTCOL;
+            color: 255 255 255 128;
+            color_class: "GLOW";
             image.normal: "sl_right.png";
             image.border: 0 0 4 4;
             fill.smooth: 0;
@@ -327,7 +334,8 @@ group { name: "terminology/selection";
                relative: 0.0 0.0;
                offset: -1 3;
             }
-            color: OUTCOL;
+            color: 255 255 255 128;
+            color_class: "GLOW";
             image.normal: "sl_htop.png";
             fill.smooth: 0;
          }
@@ -346,7 +354,8 @@ group { name: "terminology/selection";
                relative: 0.0 1.0;
                offset: -1 -1;
             }
-            color: OUTCOL;
+            color: 255 255 255 128;
+            color_class: "GLOW";
             image.normal: "sl_hbottom.png";
             fill.smooth: 0;
          }
@@ -364,7 +373,8 @@ group { name: "terminology/selection";
                relative: 0.0 1.0;
                offset: 2 0;
             }
-            color: OUTCOL;
+            color: 255 255 255 128;
+            color_class: "GLOW";
             image.normal: "sl_left.png";
             image.border: 0 0 4 4;
             fill.smooth: 0;
@@ -384,7 +394,8 @@ group { name: "terminology/selection";
                relative: 0.0 1.0;
                offset: 0 0;
             }
-            color: OUTCOL;
+            color: 255 255 255 128;
+            color_class: "GLOW";
             image.normal: "sl_right.png";
             image.border: 0 0 4 4;
             fill.smooth: 0;
@@ -404,7 +415,8 @@ group { name: "terminology/selection";
                relative: 0.0 0.0;
                offset: -1 3;
             }
-            color: OUTCOL;
+            color: 255 255 255 128;
+            color_class: "GLOW";
             image.normal: "sl_htop.png";
             fill.smooth: 0;
          }
@@ -423,7 +435,8 @@ group { name: "terminology/selection";
                relative: 0.0 1.0;
                offset: -1 -1;
             }
-            color: OUTCOL;
+            color: 255 255 255 128;
+            color_class: "GLOW";
             image.normal: "sl_hbottom.png";
             fill.smooth: 0;
          }
@@ -452,7 +465,8 @@ group { name: "terminology/selection";
                relative: 0.0 1.0;
                offset: 2 2;
             }
-            color: OUTCOL;
+            color: 255 255 255 128;
+            color_class: "GLOW";
             image.normal: "sl_top.png";
             image.border: 0 0 4 7;
          }
@@ -471,7 +485,8 @@ group { name: "terminology/selection";
                relative: 1.0 1.0;
                offset: 3 0;
             }
-            color: OUTCOL;
+            color: 255 255 255 128;
+            color_class: "GLOW";
             image.normal: "sl_bottom.png";
             image.border: 0 0 7 4;
          }
@@ -489,7 +504,8 @@ group { name: "terminology/selection";
                relative: 0.0 1.0;
                offset: 2 0;
             }
-            color: OUTCOL;
+            color: 255 255 255 128;
+            color_class: "GLOW";
             image.normal: "sl_left.png";
             image.border: 0 0 4 4;
             fill.smooth: 0;
@@ -508,7 +524,8 @@ group { name: "terminology/selection";
                to: "middle_clip";
                offset: 0 0;
             }
-            color: OUTCOL;
+            color: 255 255 255 128;
+            color_class: "GLOW";
             image.normal: "sl_right.png";
             image.border: 0 0 4 4;
             fill.smooth: 0;
@@ -528,7 +545,8 @@ group { name: "terminology/selection";
                relative: 0.0 0.0;
                offset: -1 3;
             }
-            color: OUTCOL;
+            color: 255 255 255 128;
+            color_class: "GLOW";
             image.normal: "sl_htop.png";
             fill.smooth: 0;
          }
@@ -547,7 +565,8 @@ group { name: "terminology/selection";
                relative: 0.0 1.0;
                offset: -1 -1;
             }
-            color: OUTCOL;
+            color: 255 255 255 128;
+            color_class: "GLOW";
             image.normal: "sl_htop.png";
             fill.smooth: 0;
          }
@@ -566,7 +585,8 @@ group { name: "terminology/selection";
                relative: 0.0 1.0;
                offset: -1 -1;
             }
-            color: OUTCOL;
+            color: 255 255 255 128;
+            color_class: "GLOW";
             image.normal: "sl_hbottom.png";
             fill.smooth: 0;
          }
@@ -585,7 +605,8 @@ group { name: "terminology/selection";
                relative: 0.0 1.0;
                offset: -1 -1;
             }
-            color: OUTCOL;
+            color: 255 255 255 128;
+            color_class: "GLOW";
             image.normal: "sl_hbottom.png";
             fill.smooth: 0;
          }
@@ -614,7 +635,8 @@ group { name: "terminology/selection";
                relative: 1.0 1.0;
                offset: 3 0;
             }
-            color: OUTCOL;
+            color: 255 255 255 128;
+            color_class: "GLOW";
             image.normal: "sl_bottom.png";
             image.border: 0 0 7 4;
          }
@@ -632,7 +654,8 @@ group { name: "terminology/selection";
                relative: 0.0 1.0;
                offset: 2 0;
             }
-            color: OUTCOL;
+            color: 255 255 255 128;
+            color_class: "GLOW";
             image.normal: "sl_left.png";
             image.border: 0 0 4 4;
             fill.smooth: 0;
@@ -651,7 +674,8 @@ group { name: "terminology/selection";
                to: "middle_clip";
                offset: 0 0;
             }
-            color: OUTCOL;
+            color: 255 255 255 128;
+            color_class: "GLOW";
             image.normal: "sl_right.png";
             image.border: 0 0 4 4;
             fill.smooth: 0;
@@ -671,7 +695,8 @@ group { name: "terminology/selection";
                relative: 0.0 0.0;
                offset: -1 3;
             }
-            color: OUTCOL;
+            color: 255 255 255 128;
+            color_class: "GLOW";
             image.normal: "sl_htop.png";
             fill.smooth: 0;
          }
@@ -690,7 +715,8 @@ group { name: "terminology/selection";
                relative: 0.0 1.0;
                offset: -1 -1;
             }
-            color: OUTCOL;
+            color: 255 255 255 128;
+            color_class: "GLOW";
             image.normal: "sl_hbottom.png";
             fill.smooth: 0;
          }
@@ -709,7 +735,8 @@ group { name: "terminology/selection";
                relative: 0.0 1.0;
                offset: -1 -1;
             }
-            color: OUTCOL;
+            color: 255 255 255 128;
+            color_class: "GLOW";
             image.normal: "sl_hbottom.png";
             fill.smooth: 0;
          }
@@ -738,7 +765,8 @@ group { name: "terminology/selection";
                relative: 0.0 1.0;
                offset: 2 2;
             }
-            color: OUTCOL;
+            color: 255 255 255 128;
+            color_class: "GLOW";
             image.normal: "sl_top.png";
             image.border: 0 0 4 7;
          }
@@ -756,7 +784,8 @@ group { name: "terminology/selection";
                relative: 0.0 1.0;
                offset: 2 0;
             }
-            color: OUTCOL;
+            color: 255 255 255 128;
+            color_class: "GLOW";
             image.normal: "sl_left.png";
             image.border: 0 0 4 4;
             fill.smooth: 0;
@@ -774,7 +803,8 @@ group { name: "terminology/selection";
             rel2 {
                offset: 0 0;
             }
-            color: OUTCOL;
+            color: 255 255 255 128;
+            color_class: "GLOW";
             image.normal: "sl_right.png";
             image.border: 0 0 4 4;
             fill.smooth: 0;
@@ -794,7 +824,8 @@ group { name: "terminology/selection";
                relative: 0.0 0.0;
                offset: -1 3;
             }
-            color: OUTCOL;
+            color: 255 255 255 128;
+            color_class: "GLOW";
             image.normal: "sl_htop.png";
             fill.smooth: 0;
          }
@@ -813,7 +844,8 @@ group { name: "terminology/selection";
                relative: 0.0 1.0;
                offset: -1 -1;
             }
-            color: OUTCOL;
+            color: 255 255 255 128;
+            color_class: "GLOW";
             image.normal: "sl_htop.png";
             fill.smooth: 0;
          }
@@ -832,7 +864,8 @@ group { name: "terminology/selection";
                relative: 1.0 1.0;
                offset: -1 -1;
             }
-            color: OUTCOL;
+            color: 255 255 255 128;
+            color_class: "GLOW";
             image.normal: "sl_hbottom.png";
             fill.smooth: 0;
          }
@@ -871,7 +904,8 @@ group { name: "terminology/selection";
             rel2.to: "terminology.top_left";
             rel2.relative: 1.0 1.0;
             rel2.offset: 0 -1;
-            color: 255 0 0 128;
+            color: 255 255 255 128;
+            color_class: "END_SELECTION";
          }
       }
       part { name: "cursor_blink.top_left"; type: RECT;
@@ -883,12 +917,14 @@ group { name: "terminology/selection";
          }
          description { state: "fading" 0.0;
             inherit: "default" 0.0;
-            color: 255 0 0 255;
+            color: 255 255 255 255;
+            color_class: "END_SELECTION";
             visible: 1;
          }
          description { state: "fading" 1.0;
             inherit: "fading" 0.0;
-            color: 255 0 0 64;
+            color: 255 255 255 64;
+            color_class: "END_SELECTION";
             rel1.offset: -5 0;
          }
       }
@@ -929,7 +965,8 @@ group { name: "terminology/selection";
             rel2.to: "terminology.bottom_right";
             rel2.relative: 0.0 1.0;
             rel2.offset: -1 -1;
-            color: 255 0 0 128;
+            color: 255 255 255 128;
+            color_class: "END_SELECTION";
          }
       }
       part { name: "cursor_blink.bottom_right"; type: RECT;
@@ -941,12 +978,14 @@ group { name: "terminology/selection";
          }
          description { state: "fading" 0.0;
             inherit: "default" 0.0;
-            color: 255 0 0 255;
+            color: 255 255 255 255;
+            color_class: "END_SELECTION";
             visible: 1;
          }
          description { state: "fading" 1.0;
             inherit: "fading" 0.0;
-            color: 255 0 0 64;
+            color: 255 255 255 64;
+            color_class: "END_SELECTION";
             rel2.offset: +5 0;
          }
       }
diff --git a/data/themes/images/sl_stripe.png b/data/themes/images/sl_stripe.png
index afa982a..7a80357 100644
Binary files a/data/themes/images/sl_stripe.png and 
b/data/themes/images/sl_stripe.png differ
diff --git a/data/themes/nord.edc b/data/themes/nord.edc
index 0e4e501..21bf722 100644
--- a/data/themes/nord.edc
+++ b/data/themes/nord.edc
@@ -63,6 +63,7 @@ color_classes {
       color2: 51 153 255 255;
       color3: 51 153 255 255;
    }
+   color_class { name: "END_SELECTION"; color: 255 0 0 255; }
 
    color_class { name: "C0";  color: ANSI0; } // COL_BLACK
    color_class { name: "C1";  color: ANSI1; } // COL_RED
diff --git a/data/themes/papercolor.edc b/data/themes/papercolor.edc
index 8c85aa6..db76ea5 100644
--- a/data/themes/papercolor.edc
+++ b/data/themes/papercolor.edc
@@ -45,6 +45,7 @@ color_classes {
       color2: HL_COLOR_NO_ALPHA 255;
       color3: HL_COLOR_NO_ALPHA 255;
    }
+   color_class { name: "END_SELECTION"; color: 255 0 0 255; }
 
    color_class { name: "C0";  color: ANSI7; } // COL_BLACK
    color_class { name: "C1";  color: ANSI1; } // COL_RED
diff --git a/data/themes/solarized.edc b/data/themes/solarized.edc
index be9f289..cb8aceb 100644
--- a/data/themes/solarized.edc
+++ b/data/themes/solarized.edc
@@ -39,6 +39,7 @@ color_classes {
       color2: 51 153 255 255;
       color3: 51 153 255 255;
    }
+   color_class { name: "END_SELECTION"; color: 255 0 0 255; }
 
    color_class { name: "c0";  color: S_base0; }
    color_class { name: "c1";  color: S_base03; }
diff --git a/data/themes/solarized_light.edc b/data/themes/solarized_light.edc
index 133da79..c1df2fc 100644
--- a/data/themes/solarized_light.edc
+++ b/data/themes/solarized_light.edc
@@ -39,6 +39,7 @@ color_classes {
       color2: 51 153 255 255;
       color3: 51 153 255 255;
    }
+   color_class { name: "END_SELECTION"; color: 255 0 0 255; }
 
    color_class { name: "c0";  color: S_base0; }
    color_class { name: "c1";  color: S_base02; }

-- 


Reply via email to