-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider switching from terminal-light to terminal-colorsaurus #151
Comments
Edit: I re-read my original comment and felt that a rewrite was appropriate as I feel that I came across as defeatist. That's not how I want to interact with people! It's really cool to see you interested in my profile and Although a lot of passion and sweat went into the library I would Detecting the background color from the terminal comes with some pitfalls (one of these you have already
Advantages of One or two terminals out there respond with a different format and My recommendation: The differences between dark and light mode in your case could probably be solved by using the default foreground color (instead of black or white). The green color should be fine as the 16 ANSI Colors are usually adapted for dark and light mode (or any other theme). Making the color "grayed out" could be achieved by using the dimmed style. Support and implementation vary a bit between terminals but are always in the spirit of "dimmed". If you like, I can open a PR that includes screenshots of dark and light mode in different terminals :) |
Totally forgot to address the /dev/tty thing on macOS 😆 |
@bash Thank you so much for your very detailed answer and recommendation. I have to appologise for not responding for so long but I wanted to find the right relaxed moment to properly think about everything and write a thorough response but that moment never came. 😢
I appreciate that your very unbiased recommendation (people usually push for using their libraries and you had the perfect opportunity here 😄). 👍 Which color would you recommend?
Hmm.. I'm not sure what's your suggestion here. 🤔 Are you suggesting that I dim all the text?
That would be most welcome! |
@bash While reviewing your zbus PR, I looked at your profile (standard practice after the xz fiasco 😆) and found your terminal-colorsaurus project. In gimoji, I've been using
terminal-light
(based onxterm-query
). I wonder if there would be some advantages of switching to terminal-colorsaurus? For one, it seems you've already been aware of the "polling of /dev/tty on MacOs" issue (and I assume you've it addressed?) so if I had usedtermina-colorsaurus
from the beginning, it would have saved me a lot of time, debugging and then fixing that. But I wonder if there is an advantage still? 🤔The text was updated successfully, but these errors were encountered: