Thanks for the replies so far. Unfortunately there is no easy way to detect dark or light terminals, to my knowledge at least. Green seems the most friendly color across different palettes and terminals. Though these days modern terminals tend to default to dark (most Fedora editions' default terminals are dark by default I think).
https://copr-dist-git.fedorainfracloud.org/cgit/petersen/bash-color-prompt/bash-color-prompt.git/tree/bash-color-prompt.sh lists various examples of how users can customize the color: eg PROMPT_COLOR='33' (for yellow/brown).
_______________________________________________ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue