Stop setting stylix polarity option, use lib stylix variant instead

Variant comes from the selected scheme so it's automatic
This commit is contained in:
Evie Litherland-Smith 2024-12-04 06:41:16 +00:00
parent 5971d10483
commit d39c34d6f0
2 changed files with 1 additions and 2 deletions

View file

@ -206,7 +206,6 @@
enable = true; enable = true;
image = ./wallpapers/tropic_island_day.jpg; image = ./wallpapers/tropic_island_day.jpg;
base16Scheme = "${pkgs.base16-schemes}/share/themes/one-light.yaml"; base16Scheme = "${pkgs.base16-schemes}/share/themes/one-light.yaml";
polarity = "light";
opacity.popups = 0.8; opacity.popups = 0.8;
cursor = { cursor = {
package = pkgs.volantes-cursors; package = pkgs.volantes-cursors;

View file

@ -47,7 +47,7 @@
settings = { settings = {
preset = "rainbow"; preset = "rainbow";
mode = "rgb"; mode = "rgb";
light_dark = config.stylix.polarity; light_dark = config.lib.stylix.scheme.variant;
lightness = 0.4; lightness = 0.4;
color_align = { color_align = {
mode = "horizontal"; mode = "horizontal";