walles / moar

Moar is a pager. It's designed to just do the right thing without any configuration.
Other
585 stars 17 forks source link

moar pick the lighter tone of terminal theme for text rendering #206

Open ciscohack opened 2 months ago

ciscohack commented 2 months ago

Hi Johan,

I know you and I worked a few months back where you added the ability in Moar to render text based on a terminal theme. Now I have a Dark terminal theme with the Text Foreground colour white. But in Moar, the colour white is a lighter tone whereas if I use Moar with the ct tool, I get the correct tone fine. Could you please change the code or fix it?

Here is the sample output of text rendering in Moar without the CT tool combination.

image

And here is the sample with CT tool ... hope you remember this tool the last time I shared it with you. But here I am not trying to tell you to fix the CT thing but the issue of color rendering in the terminal. focus on white color rendering of

image
walles commented 2 months ago

If you don't like the default dark theme, pick another one from here that you like better:

https://xyproto.github.io/splash/docs/longer/all.html

For example: moar --style=base16-snazzy /etc/services

walles commented 2 months ago

Did this resolve your coloring issue? Can this be closed?