bacardi55 / gtl

gtl - Gemini Tiny Logs - A simple TUI for the tinylog format on gemini
GNU General Public License v3.0
23 stars 0 forks source link

Allow custom theme in configuration #44

Closed ghost closed 2 years ago

ghost commented 2 years ago

Is it possible to add light theme for TUI mode?

bacardi55 commented 2 years ago

Hi @tolstoevsky, thanks for the ticket (and using gtl :)). Normally gtl leverage the terminal theme so if the term theme is light it should stay light. But I admit I've never tested it like that as all my system is configured with a darker theme (dracula).

Could you please share a screenshot of a clean term (that should be light theme) and gtl running in it (not being in a light theme).

I can work on a theme approach, but I do have very bad UX/UI taste :D

ghost commented 2 years ago

Thanks for response! Screenshots:

20220202_14h47m13s_grim 20220202_14h47m37s_grim

bacardi55 commented 2 years ago

Interesting, thanks for the screenshot! I've never dev a TUI with configurable theme before but see if I can make it work :)

As a side note, I can see in your screenshot that GTL feeds seems down. Is that often the case?

ghost commented 2 years ago

I can see in your screenshot that GTL feeds seems down. Is that often the case?

Not every day, but happens time to time. Didn't gather stats :)

bacardi55 commented 2 years ago

Has been implemented in 7b1fd4a3100b79140528bd76d12402efdb7e18dc The documentation is here.

It's not in a stable release yet (will be in v0.7.0), but would love some tests :)

ghost commented 2 years ago

2022-02-16-161906_1392x645_scrot

It works fine, thanks a lot!

bacardi55 commented 2 years ago

Awesome! I'm closing this ticket, but feel free to open new one if anything doesn't work with custom theme (or for any other ideas :))