stylix icon indicating copy to clipboard operation
stylix copied to clipboard

feat: add theme modality support for light/dark themes

Open rawkode opened this issue 4 months ago • 0 comments

I don't know if this is something the project is looking to adopt, but I forked and made this work for Ghostty for my own experiment and plan to add support for more modules.

Sharing for feedback and to hopefully upstream.

Related #447


Add support for configuring separate light and dark themes that can be used by applications supporting automatic theme switching. This includes:

  • New theme.light and theme.dark configuration options
  • defaultTheme option to control fallback for single-theme apps
  • Full backward compatibility with existing configurations
  • Ghostty integration with automatic light/dark theme switching
  • Documentation for theme modality configuration and migration

rawkode avatar Sep 16 '25 16:09 rawkode