khal icon indicating copy to clipboard operation
khal copied to clipboard

Change ikhal's color theme through config file

Open geier opened this issue 7 years ago • 1 comments

Colors color theme should be changeable through the color theme.

This should be easily doable by literal_evaling a string and adding it to the selected color theme (as urwid iterates over the palette list and later attributes overwrite earlier ones with the same name).

Proper documentation might be an issue.

geier avatar Aug 28 '17 23:08 geier

I am Looking for creating a 256colors theme with few variables to change defbgcolor = 'h0' defcolor = 'h2' defcolor2 = 'h11' colors256 = [ ('header', '', '', '', defcolor, defbgcolor, ), ('footer', '', '','', defcolor2, defbgcolor, ), (...) ] I like use 256 color code because urwid & the console's parameters does not impact my choices (I ask for h11 and have it) Is a 256colors theme looking good for a future pull request ?

For my understood I've made an ascii draw in my color.py +header--------------------------------------------------- | dayname date header focused/selected |mon
|th td date header focused/selected |name
| +footer-----------------------------------------------------

Is that look good for documentation in that file ?

N.B. I am still searching how does khal's working for 'list', 'list focused' and well, the most part of the others parameters ^^

pizzacoca avatar Oct 27 '19 15:10 pizzacoca

fixed with #1279

geier avatar Oct 31 '23 01:10 geier