diff --git a/homeManagerModules/theme.nix b/homeManagerModules/theme.nix index c993771c..a98ed1f9 100644 --- a/homeManagerModules/theme.nix +++ b/homeManagerModules/theme.nix @@ -39,17 +39,17 @@ in { window.background { border-radius: ${toString cfg.borders.radius}; } tooltip { - &.background { - background-color: alpha(${config.lib.stylix.colors.withHashtag.base00}, ${builtins.toString config.stylix.opacity.popups}); - border: 1px solid ${config.lib.stylix.colors.withHashtag.base0D}; - } - background-color: alpha(${config.lib.stylix.colors.withHashtag.base00}, ${builtins.toString config.stylix.opacity.popups}); border-radius: ${toString cfg.borders.radius}; border: 1px solid ${config.lib.stylix.colors.withHashtag.base0D}; color: white; } + tooltip.background { + background-color: alpha(${config.lib.stylix.colors.withHashtag.base00}, ${builtins.toString config.stylix.opacity.popups}); + border: 1px solid ${config.lib.stylix.colors.withHashtag.base0D}; + } + ${ lib.optionalString (config.stylix.polarity == "light") " tooltip {