Terminal version of prefers-color-scheme
#6598
-
Terminals are lacking in this regard. There is no standard way to communicate to TUIs and CLIs what color scheme the user has set. It would be amazing if we could create a terminal version of EDIT: apparently there is already a spec for this!: https://github.com/contour-terminal/contour/blob/master/docs/vt-extensions/color-palette-update-notifications.md |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Special case to take into consideration is how this will work over SSH: if the host switches to light mode, the server that is SSH'd into needs to somehow also get this info |
Beta Was this translation helpful? Give feedback.
https://github.com/contour-terminal/contour/blob/master/docs/vt-extensions/color-palette-update-notifications.md?