diff --git a/homeManagerModules/theme.nix b/homeManagerModules/theme.nix index 14781d21..4f8aed53 100644 --- a/homeManagerModules/theme.nix +++ b/homeManagerModules/theme.nix @@ -39,6 +39,26 @@ in { // Control rounded corners 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; + } + + ${ + lib.optionalString (config.stylix.polarity == "light") " + tooltip { + &.background { background-color: alpha(${config.lib.stylix.colors.withHashtag.base05}, ${builtins.toString config.stylix.opacity.popups}); } + background-color: alpha(${config.lib.stylix.colors.withHashtag.base05}, ${builtins.toString config.stylix.opacity.popups}); + }" + } + ${ lib.strings.optionalString cfg.gtk.hideTitleBar