themes: use a color_class BG to set background color

terminology-1.5
Boris Faure 4 years ago
parent d29533e341
commit 82dec43611
  1. 6
      ChangeLog.theme
  2. 1
      data/themes/base16_ocean_dark.edc
  3. 10
      data/themes/default.edc
  4. 3
      data/themes/default_colors.in.edc
  5. 4
      data/themes/mild.edc
  6. 2
      data/themes/mustang.edc
  7. 4
      data/themes/nord.edc
  8. 2
      data/themes/smyck.edc
  9. 21
      data/themes/solarized.edc
  10. 4
      data/themes/solarized_light.edc

@ -1,7 +1,11 @@
=================
Terminology 1.2.0
Terminology 1.5.0
=================
Changes since 1.2.0:
--------------------
* Color class "BG" has to be set with the color of the background.
Changes since 1.1.1:
--------------------

@ -25,6 +25,7 @@ collections {
color_class { name: "C7"; color: 192 197 206 255; }
color_class { name: "C8"; color: 101 115 126 255; }
color_class { name: "C9"; color: 208 135 112 255; }
color_class { name: "BG"; color: BG_COLOR; }
}
}

@ -1,7 +1,7 @@
#ifndef NO_COLORS
color_classes {
# include "default_colors.in.edc"
# define BG_COL 32 32 32 255
#define BG_COLOR 32 32 32 255
#include "default_colors.in.edc"
}
#endif
@ -54,7 +54,7 @@ collections {
part { name: "miniview.bg"; type: RECT;
//mouse_events: 1;
description { state: "default" 0.0;
color: BG_COL;
color_class: "BG";
}
}
part { name: "shadow";
@ -326,7 +326,7 @@ collections {
part { name: "base"; type: RECT;
mouse_events: 1;
description { state: "default" 0.0;
color: BG_COL;
color_class: "BG";
}
}
@ -5153,7 +5153,7 @@ target: "0.clip"; target: "1.clip"; target: "2.clip"; target: "3.clip"; target:
part { name: "base"; type: RECT;
mouse_events: 1;
description { state: "default" 0.0;
color: BG_COL;
color_class: "BG";
rel1.offset: 2 2;
rel2.offset: -3 -3;
}

@ -1,3 +1,5 @@
color_class { name: "BG"; color: BG_COLOR ; }
color_class { name: "c0"; color: 170 170 170 255; } // COL_DEF
color_class { name: "c1"; color: 0 0 0 255; } // COL_BLACK
color_class { name: "c2"; color: 204 51 51 255; } // COL_RED
@ -347,5 +349,4 @@ color_class { name: "C252"; color: 210 210 210 255; }
color_class { name: "C253"; color: 218 218 218 255; }
color_class { name: "C254"; color: 228 228 228 255; }
color_class { name: "C255"; color: 238 238 238 255; }
#endif

@ -129,7 +129,7 @@ collections {
mouse_events: 1;
clip_to: "baseclip";
description { state: "default" 0.0;
color: BG_COLOR;
color_class: "BG";
}
}
part { name: "fade"; type: RECT;
@ -1820,7 +1820,7 @@ collections {
part { name: "base"; type: RECT;
clip_to: "clip";
description { state: "default" 0.0;
color: BG_COLOR;
color_class: "BG";
rel1.to: "terminology.content";
rel2.to: "terminology.content";
}

@ -22,6 +22,8 @@ collections {
color_class { name: "C13"; color: 245 121 0 255; }
color_class { name: "C14"; color: 70 164 255 255; }
color_class { name: "C15"; color: 255 255 255 255; }
color_class { name: "BG"; color: BG_COLOR; }
}
}

@ -39,7 +39,7 @@
#define ANSI15 nord6
#define COL_DEF nord4
#define BG_COL nord0
#define BG_COLOR nord0
#define NO_COLORS 1
color_classes {
@ -100,5 +100,7 @@ color_classes {
color_class { name: "c42"; color: ANSI13; }
color_class { name: "c43"; color: ANSI14; }
color_class { name: "c44"; color: ANSI15; }
color_class { name: "BG"; color: BG_COLOR; }
}
#include "default.edc"

@ -79,6 +79,8 @@ color_classes {
color_class { name: "c42"; color: ANSI13; }
color_class { name: "c43"; color: ANSI14; }
color_class { name: "c44"; color: ANSI15; }
color_class { name: "BG"; color: BG_COLOR; }
}
#define INHERIT_PROVIDE_OWN_COLORS

@ -6,16 +6,16 @@
#define S_blue 38 139 210 255
#define S_cyan 42 161 152 255
#define S_green 133 153 0 255
#define S_base03 0 43 54 255
#define S_base02 7 54 66 255
#define S_base01 88 110 117 255
#define S_base00 101 123 131 255
#define S_base0 131 148 150 255
#define S_base1 147 161 161 255
#define S_base2 238 232 213 255
#define S_base3 253 246 227 255
#define S_base03 0 43 54 255
#define S_base02 7 54 66 255
#define S_base01 88 110 117 255
#define S_base00 101 123 131 255
#define S_base0 131 148 150 255
#define S_base1 147 161 161 255
#define S_base2 238 232 213 255
#define S_base3 253 246 227 255
#define BG_COL S_base03
#define BG_COLOR S_base03
#define NO_COLORS 1
color_classes {
@ -82,5 +82,8 @@ color_classes {
color_class { name: "C13"; color: S_violet; } // COL_MAGENTA
color_class { name: "C14"; color: S_base1; } // COL_CYAN
color_class { name: "C15"; color: S_base3; } // COL_WHITE
color_class { name: "BG"; color: BG_COLOR; }
}
#include "default.edc"

@ -15,7 +15,7 @@
#define S_base2 7 54 66 255
#define S_base3 0 43 54 255
#define BG_COL S_base03
#define BG_COLOR S_base03
#define NO_COLORS 1
color_classes {
@ -73,5 +73,7 @@ color_classes {
color_class { name: "C13"; color: S_violet; } // COL_MAGENTA
color_class { name: "C14"; color: S_base1; } // COL_CYAN
color_class { name: "C15"; color: S_base3; } // COL_WHITE
color_class { name: "BG"; color: BG_COLOR; }
}
#include "default.edc"

Loading…
Cancel
Save