Skip to content

Support dark and light themes and syncing theme to system setting, a la window decorations #809

@sloane-shark

Description

@sloane-shark

Several other popular terminals support the ability to configure independent themes for dark and light mode, which will then be automatically selected according to the system's dark or light mode setting. Ghostty already supports syncing the light or dark value of the window decorations with the system setting, so I imagine we could leverage the same logic for themes.

For a little bikeshedding, since themes are just configurations, I think it would probably make sense to introduce light-config-file and dark-config-file for arbitrary configuration files that are loaded and unloaded according to the system setting. This would allow adjusting other settings if desired, such as fonts or transparency.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions