stylix icon indicating copy to clipboard operation
stylix copied to clipboard

Different themes per application

Open tbaumann opened this issue 1 year ago • 2 comments

I have an odd scenario.

I prefer a system wide light theme. But for my terminal stuff I want a dark theme.

Currently I solve that by disabling stylix for my terminal stuff and managing theming of that myself.

But it would be pretty nice if I could just use something like stylix.targets.fish.base16Scheme = xxx

PS: I'm using a custom theme, not the algorithm generated one. So light and dark have different meanings for me. Specifically I use "${pkgs.base16-schemes}/share/themes/catppuccin-latte.yaml" system wide and catppuccin-mocha for terminal stuff

tbaumann avatar Jan 03 '24 13:01 tbaumann

This sounds like a nice feature particularly for terminals and other code related stuff.

To make things neater, I would suggest we group all the theme related options (wallpaper, colors, fonts, etc) into a submodule under stylix.theme. Then each module can define targets.«name».theme using the same submodule.

It might be a good idea to wait for #102 before implementing this, to avoid conflicts.

danth avatar Jan 03 '24 19:01 danth

That would be super intuitive to use like that.

tbaumann avatar Jan 03 '24 21:01 tbaumann