Skip to content

Support mode 2031 dark/light mode detection #13281

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

Open
the-mikedavis opened this issue Apr 6, 2025 · 0 comments
Open

Support mode 2031 dark/light mode detection #13281

the-mikedavis opened this issue Apr 6, 2025 · 0 comments
Assignees
Labels
A-helix-term Area: Helix term improvements A-theme Area: Theme and appearence related C-enhancement Category: Improvements

Comments

@the-mikedavis
Copy link
Member

The Contour terminal has a VT extension to allow querying for the terminal's color palette preference and to receive status reports when it changes. Historically we haven't wanted to add dark/light mode detection since it would mean adding platform-specific dependencies but with the VT extension we can support it without any extra deps. This will take some work on the terminal manipulation side to support as well as new configuration:

# config.toml
# theme = "default" # this should still be supported
theme = { dark = "catppuccin_frappe", light = "catppuccin_latte" }
@the-mikedavis the-mikedavis added A-helix-term Area: Helix term improvements A-theme Area: Theme and appearence related C-enhancement Category: Improvements labels Apr 6, 2025
@the-mikedavis the-mikedavis self-assigned this Apr 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-helix-term Area: Helix term improvements A-theme Area: Theme and appearence related C-enhancement Category: Improvements
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant