Skip to content

No light/dark switch on Linux with default theme #4875

Answered by rhodes-b
neitsab asked this question in Q&A
Discussion options

You must be logged in to vote

You need to configure ghostty to switch between a system dark and light theme it does not do this by default

https://ghostty.org/docs/config/reference#theme
reading the docs specifically about theme I think it makes that clear

To specify a different theme for light and dark mode, use the following syntax: light:theme-name,dark:theme-name. For example: light:rose-pine-dawn,dark:rose-pine. Whitespace around all values are trimmed and order of light and dark does not matter. Both light and dark must be specified in this form. In this form, the theme used will be based on the current desktop environment theme.

you should also see that ghostty +show-config --default does not have this by def…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@neitsab
Comment options

Answer selected by neitsab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants