Set Papirus variant based on theme variant

This commit is contained in:
Evie Litherland-Smith 2024-12-04 06:45:47 +00:00
parent d39c34d6f0
commit fd8f675cdb

View file

@ -143,7 +143,7 @@
gtk2.configLocation = "${config.xdg.configHome}/gtk-2.0/gtkrc";
iconTheme = {
package = (pkgs.papirus-icon-theme.override { color = "magenta"; });
name = "Papirus-Light";
name = if config.lib.stylix.scheme.variant == "light" then "Papirus-Light" else "Papirus-Dark";
};
};
stylix.targets.gtk.extraCss = with config.lib.stylix.scheme.withHashtag; ''