From c5c6a28509c79b07f4b26ab936343467249aefa2 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Tue, 17 Sep 2024 18:04:52 -0400 Subject: [PATCH] theme: fix css warnings --- homeManagerModules/theme.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 {