PlankCipher / kabmat

TUI program for managing kanban boards with vim-like keybindings
GNU General Public License v3.0
369 stars 18 forks source link

Having an Issue where colours are all the same, so I an unable to see when an item is highlighted #9

Open Eoin-McMahon opened 2 years ago

Eoin-McMahon commented 2 years ago

Just installed this and I notice that on my PC all the colours are white. Text, non highlighted items and highlighted items including borders. so i am unable to see when i have a card highlighted.

It would be nice if you could add a config file under .config/kabmat/ where we could specify specific colours for our kabmat install. This would also allow the community to create colour files for different popualr colour schemes i.e gruvbox, dracula etc.

keybindings and other things could also be added to the config 😊

PlankCipher commented 2 years ago

I actually had this idea in mind all along, and designed the code so that I can add it later easily. Thanks for bringing this to my attention. Very sorry for the late response.

PlankCipher commented 2 years ago

For now, you could change the colorscheme of your terminal as a temporary solution.

rickyelopez commented 2 years ago

This is happening for me as well. What changes do I need to make to my colorscheme for kabmat to show different colors?

PlankCipher commented 2 years ago

@rickyelopez, you could simply just use any popular colorscheme for your terminal, e.g. nord, gruvbox, etc. If you want more details, here are the colors that kabmat uses from your terminal's colorscheme.

Black (for foreground of text on backgrounds different than that of the terminal): indexed 0 in colorscheme colors list. White (to make things standout, e.g. statusline background, highlighted border): indexed 7. Blue (for background of mode indicator in statusline): indexed 4.

dhax commented 2 years ago

also tried a couple colorschemes with merely noticable differences for the selected items. I need to change White to something 'non-white' to actually see the selection. Maybe white (7) is not the right choice for e.g. highlighted borders?

Eoin-McMahon commented 2 years ago

ah it was completely white for me when I was using ssh to connect to the pc with kabmat installed. when running locally I do get colours. although the difference between highlighted and non highlighted is still quite difficult to see, i am using gruvbox btw.

rickyelopez commented 2 years ago

Hmmm strange @PlankCipher, I'm using a base16-shell color scheme: image

PlankCipher commented 2 years ago

Maybe white (7) is not the right choice for e.g. highlighted borders?

Actually yeah, maybe it isn't the right color to make some things stand out.

I think by default, the normal foreground of text in terminal is the bright white color (15th in colorscheme) and in most colorschemes the white color used by kabmat to highlight stuff is just slightly darker than that bright white foreground, so it is difficult to see as @Eoin-McMahon pointed out. The reason I didn't notice this problem is because I already have a brighter white than the usual one in my gruvbox theme.

Anyway, I think this will be resolved with the next release introducing the config file. Should be out soon.

dhax commented 2 years ago

no pressure here, soon is a very objective thing... anyway, it helps to not close an issue until it's actually closed ;)

PlankCipher commented 1 year ago

Reopening this until implemented/fixed.