chabou / hyper-autoprofile

Extension for Hyper.app to configure terminal appearance according to current shell prompt
MIT License
37 stars 4 forks source link

Is there a way to change theme? #11

Open chetstone opened 5 years ago

chetstone commented 5 years ago

This is similar to #4 but I would like to change a theme with the prompt pattern. For example, hyper-solarized has a way to change from light to dark theme based on a time trigger. It would be nice to be able to select light or dark with a prompt. Of course you can change the background color easily with this component. But the hyper-solarized theme has other things, such as css properties that change with the background. I don't think you can change css with this component ... if there was some way hyper-solarized could subscribe to an event generated by this component that would be cool.

chabou commented 5 years ago

This is hard to apply a theme because a theme can be global (window border, tab look etc...)

I think that you can change any TermProps including colors and css. I need to verify and document this.