summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2019-09-24 22:27:23 +0200
committerBoris Faure <billiob@gmail.com>2019-09-29 18:04:55 +0200
commit2db4be56d10532261b02d59c3a98897c2c5f4b8a (patch)
treed49fe05a700c14fad7f41726aae327e86012b1a8 /data
parent9f156eb94842b6518ee15606de653539f46cffbb (diff)
themes: make tab title readable based on theme default colors
Diffstat (limited to 'data')
-rw-r--r--data/themes/default.edc15
-rw-r--r--data/themes/nord.edc5
-rw-r--r--data/themes/papercolor.edc4
-rw-r--r--data/themes/solarized.edc4
-rw-r--r--data/themes/solarized_light.edc4
5 files changed, 25 insertions, 7 deletions
diff --git a/data/themes/default.edc b/data/themes/default.edc
index 45d6082..bd30d2e 100644
--- a/data/themes/default.edc
+++ b/data/themes/default.edc
@@ -1,6 +1,9 @@
1#ifndef NO_COLORS 1#ifndef NO_COLORS
2color_classes { 2color_classes {
3#define BG_COLOR 32 32 32 255 3#define BG_COLOR_NO_ALPHA 32 32 32
4#define BG_COLOR BG_COLOR_NO_ALPHA 255
5#define FG_COLOR_NO_ALPHA 170 170 170
6#define FG_COLOR FG_COLOR_NO_ALPHA 255
4#include "default_colors.in.edc" 7#include "default_colors.in.edc"
5} 8}
6#endif 9#endif
@@ -1392,8 +1395,8 @@ collections {
1392 scale: 1; 1395 scale: 1;
1393 effect: SOFT_SHADOW BOTTOM; 1396 effect: SOFT_SHADOW BOTTOM;
1394 description { state: "default" 0.0; 1397 description { state: "default" 0.0;
1395 color: 255 255 255 255; 1398 color: FG_COLOR_NO_ALPHA 255;
1396 color3: 0 0 0 18; 1399 color3: BG_COLOR_NO_ALPHA 18;
1397 text { font: "Sans:style=Bold"; size: 10; 1400 text { font: "Sans:style=Bold"; size: 10;
1398 align: 0.5 0.5; 1401 align: 0.5 0.5;
1399 min: 0 1; 1402 min: 0 1;
@@ -2113,15 +2116,15 @@ collections {
2113 } 2116 }
2114 part { name: "terminology.title"; type: TEXT; mouse_events: 0; 2117 part { name: "terminology.title"; type: TEXT; mouse_events: 0;
2115 scale: 1; 2118 scale: 1;
2116 effect: SHADOW BOTTOM; 2119 effect: GLOW;
2117 description { state: "default" 0.0; 2120 description { state: "default" 0.0;
2118 text { font: "Sans:style=Bold"; size: 10; 2121 text { font: "Sans:style=Bold"; size: 10;
2119 align: 0.5 0.5; 2122 align: 0.5 0.5;
2120 min: 0 1; 2123 min: 0 1;
2121 } 2124 }
2122 align: 0.5 0.5; 2125 align: 0.5 0.5;
2123 color: 0 0 0 255; 2126 color: 180 180 180 255;
2124 color3: 255 255 255 25; 2127 color3: 0 0 0 18;
2125 rel1.to: "tab_bevel_top2"; 2128 rel1.to: "tab_bevel_top2";
2126 rel2.to: "tab_bevel_top2"; 2129 rel2.to: "tab_bevel_top2";
2127 } 2130 }
diff --git a/data/themes/nord.edc b/data/themes/nord.edc
index b290b0a..6faaee0 100644
--- a/data/themes/nord.edc
+++ b/data/themes/nord.edc
@@ -39,7 +39,10 @@
39#define ANSI15 nord6 39#define ANSI15 nord6
40 40
41#define COL_DEF nord4 41#define COL_DEF nord4
42#define BG_COLOR nord0 42#define BG_COLOR_NO_ALPHA 46 52 64
43#define BG_COLOR BG_COLOR_NO_ALPHA 255
44#define FG_COLOR_NO_ALPHA 216 222 233
45#define FG_COLOR FG_COLOR_NO_ALPHA 255
43#define NO_COLORS 1 46#define NO_COLORS 1
44 47
45color_classes { 48color_classes {
diff --git a/data/themes/papercolor.edc b/data/themes/papercolor.edc
index ddda7c2..dcfd852 100644
--- a/data/themes/papercolor.edc
+++ b/data/themes/papercolor.edc
@@ -20,6 +20,10 @@
20 20
21#define COL_DEF 68 68 68 255 /* #444444 */ 21#define COL_DEF 68 68 68 255 /* #444444 */
22#define BG_COLOR 238 238 238 255 /* #EEEEEE */ 22#define BG_COLOR 238 238 238 255 /* #EEEEEE */
23#define BG_COLOR_NO_ALPHA 238 238 238 /* #EEEEEE */
24#define BG_COLOR BG_COLOR_NO_ALPHA 255
25#define FG_COLOR_NO_ALPHA 68 68 68 /* #444444 */
26#define FG_COLOR FG_COLOR_NO_ALPHA 255
23#define NO_COLORS 1 27#define NO_COLORS 1
24 28
25color_classes { 29color_classes {
diff --git a/data/themes/solarized.edc b/data/themes/solarized.edc
index 51aba64..b3bb28e 100644
--- a/data/themes/solarized.edc
+++ b/data/themes/solarized.edc
@@ -16,6 +16,10 @@
16#define S_base3 253 246 227 255 16#define S_base3 253 246 227 255
17 17
18#define BG_COLOR S_base03 18#define BG_COLOR S_base03
19#define BG_COLOR_NO_ALPHA 0 43 54
20#define BG_COLOR BG_COLOR_NO_ALPHA 255
21#define FG_COLOR_NO_ALPHA 253 246 227
22#define FG_COLOR FG_COLOR_NO_ALPHA 255
19#define NO_COLORS 1 23#define NO_COLORS 1
20 24
21color_classes { 25color_classes {
diff --git a/data/themes/solarized_light.edc b/data/themes/solarized_light.edc
index 71fd1a4..c3db501 100644
--- a/data/themes/solarized_light.edc
+++ b/data/themes/solarized_light.edc
@@ -16,6 +16,10 @@
16#define S_base3 0 43 54 255 16#define S_base3 0 43 54 255
17 17
18#define BG_COLOR S_base03 18#define BG_COLOR S_base03
19#define BG_COLOR_NO_ALPHA 253 246 227
20#define BG_COLOR BG_COLOR_NO_ALPHA 255
21#define FG_COLOR_NO_ALPHA 0 43 54
22#define FG_COLOR FG_COLOR_NO_ALPHA 255
19#define NO_COLORS 1 23#define NO_COLORS 1
20 24
21color_classes { 25color_classes {