gocovsh icon indicating copy to clipboard operation
gocovsh copied to clipboard

Support configurable colors (themes)

Open orlangure opened this issue 2 years ago • 5 comments

orlangure avatar Jan 30 '22 20:01 orlangure

Hey! I'm working on this right now and I'm curious as to how we want the users to set their theme? Would we have a flag for it that you need to run each time or write to some gocovsh config file in .config/gocovsh

bashbunni avatar Nov 04 '22 22:11 bashbunni

an environment variable would probably be the easiest

bashbunni avatar Nov 04 '22 22:11 bashbunni

I created a PR that works with an environment variable. The thing is, it's not fully working. I'm getting a nil pointer error - shown in the demo GIF attached to the PR

bashbunni avatar Nov 05 '22 00:11 bashbunni

Are further contributions adding themes welcome? Or should a more modular approach, which doesn't require adding Code for every new theme, be used?

thelooter avatar Jan 17 '24 22:01 thelooter