github-theme-contrib icon indicating copy to clipboard operation
github-theme-contrib copied to clipboard

Colors for Xfce-Terminal

Open adrian5 opened this issue 3 years ago • 1 comments

Would be nice to have support for xfce4-terminal.

I've created an example for GitHub light, maybe you can create a template based off that.

[Scheme]
Name=Github Light

ColorForeground=#24292f
ColorBackground=#ffffff

ColorCursor=#044289
ColorCursorForeground=#ffffff
ColorSelection=#24292f
ColorSelectionBackground=#dbe9f9
TabActivityColor=#005cc5

ColorPalette=#ffffff;#d73a49;#28a745;#dbab09;#0366d6;#5a32a3;#0598bc;#6a737d;#959da5;#d73a49;#28a745;#dbab09;#0366d6;#5a32a3;#0598bc;#d1d5da;
  • TabActivityColor flashes the tab's text (not its background) briefly and then fades to a darker variant of the chosen color. Anything colorful should work there, normal tabs have black text (for light theme).
  • ColorPalette contains the "normal" colors, followed by the "bright" variant, i.e 16 colors in total. Many presumably polished xfce4-terminal themes (e.g. Nord) seem to use identical colors for normal and bright palette, with the exception the first and last (black/white) colors. Might be wise to copy that behavior, I've done so in my example above.

adrian5 avatar Jun 09 '22 15:06 adrian5

I've looked some more into it, and I'm not sure my example is ideal yet. I just copied the palette of other terminal configs in this repo, but xfce4-terminal might behave differently.

I suspect the very last color in that list "white" should be #24292f (for light theme) instead of #d1d5da. I think white/black are supposed to represent the most intense available colors, even if they're duplicates of ColorForeground/Background. You may know more about this.

Likewise, having different bright vs normal colors might be good – I don't actually know why some themes avoid that in practice. Palette "yellow" should maybe be an orange color for better visibility against the white background.

adrian5 avatar Jun 10 '22 15:06 adrian5