charmbracelet / mods

AI on the command line
MIT License
2.67k stars 89 forks source link

Ability to change output styling for better compatibility with different terminal themes #286

Open Nathan-Yorio opened 3 weeks ago

Nathan-Yorio commented 3 weeks ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Since mods controls its own text styling for outputs, sometimes the text colors do not look good on certain terminal themes. For example:

image

Describe the solution you'd like A clear and concise description of what you want to happen.

What would be nice is an option in settings to either turn off output color styling or pass custom css so that the styling can change to work better with different themes.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

At first I tried to adjust some colors in my theme, but I realized mods doesn't pull terminal theme colors for text, rather it uses its own styling. This isn't a problem at all on most dark or light themes, but some edge cases like this green one cause visibility issues. Also it would just be nice to be able to customize the styling in general :)

Nathan-Yorio commented 3 weeks ago

Adding that I think maybe this would relate to this one as well: https://github.com/charmbracelet/mods/issues/236