Change accent colour

This commit is contained in:
Evie Litherland-Smith 2024-12-11 12:56:09 +00:00
parent f7c2982458
commit 7afd75bd5a
6 changed files with 14 additions and 22 deletions

View file

@ -151,14 +151,14 @@
enable = true; enable = true;
gtk2.configLocation = "${config.xdg.configHome}/gtk-2.0/gtkrc"; gtk2.configLocation = "${config.xdg.configHome}/gtk-2.0/gtkrc";
iconTheme = { iconTheme = {
package = (pkgs.papirus-icon-theme.override { color = "cyan"; }); package = (pkgs.papirus-icon-theme.override { color = "indigo"; });
name = if config.lib.stylix.scheme.variant == "light" then "Papirus-Light" else "Papirus-Dark"; name = if config.lib.stylix.scheme.variant == "light" then "Papirus-Light" else "Papirus-Dark";
}; };
}; };
stylix.targets.gtk.extraCss = with config.lib.stylix.scheme.withHashtag; '' # stylix.targets.gtk.extraCss = with config.lib.stylix.scheme.withHashtag; ''
@define-color accent_color ${base0C-hex}; # @define-color accent_color ${base0C-hex};
@define-color accent_bg_color ${base0C-hex}; # @define-color accent_bg_color ${base0C-hex};
''; # '';
xdg = { xdg = {
mime.enable = true; mime.enable = true;
mimeApps = mimeApps =
@ -225,8 +225,10 @@
}; };
}; };
# Autostart some programs # Autostart some programs
"autostart/signal-desktop.desktop".source = "${pkgs.signal-desktop}/share/applications/signal-desktop.desktop"; "autostart/signal-desktop.desktop".source =
"autostart/com.github.eneshecan.WhatsAppForLinux.desktop".source = "${pkgs.whatsapp-for-linux}/share/applications/com.github.eneshecan.WhatsAppForLinux.desktop"; "${pkgs.signal-desktop}/share/applications/signal-desktop.desktop";
"autostart/com.github.eneshecan.WhatsAppForLinux.desktop".source =
"${pkgs.whatsapp-for-linux}/share/applications/com.github.eneshecan.WhatsAppForLinux.desktop";
}; };
}; };
}; };

View file

@ -1,14 +1,7 @@
{ config, lib, ... }: { lib, ... }:
{ {
services.avizo = { services.avizo = {
enable = true; enable = true;
settings.default = { settings.default.image-opacity = lib.mkForce "1.0";
image-opacity = lib.mkForce "1.0";
border-color =
let
scheme = config.lib.stylix.scheme;
in
lib.mkForce "rgba(${scheme.base0C-rgb-r}, ${scheme.base0C-rgb-g}, ${scheme.base0C-rgb-b}, 1.0)";
};
}; };
} }

View file

@ -19,7 +19,6 @@
width = 1; width = 1;
radius = 5; radius = 5;
}; };
colors.border = lib.mkForce "${config.lib.stylix.scheme.base0C}ff";
}; };
}; };
} }

View file

@ -61,7 +61,7 @@
let let
font = config.stylix.fonts.sansSerif.name; font = config.stylix.fonts.sansSerif.name;
scheme = config.lib.stylix.scheme; scheme = config.lib.stylix.scheme;
accent = scheme.base0C; accent = scheme.base0D;
in in
{ {
enable = true; enable = true;
@ -158,7 +158,6 @@
layout = "master"; layout = "master";
gaps_in = 2.5; gaps_in = 2.5;
gaps_out = 5; gaps_out = 5;
"col.active_border" = lib.mkForce "rgb(${config.lib.stylix.scheme.base0C})";
}; };
master = { master = {
allow_small_split = true; allow_small_split = true;

View file

@ -12,7 +12,6 @@
iconPath = with config.gtk.iconTheme; "${package}/share/icons/${name}"; iconPath = with config.gtk.iconTheme; "${package}/share/icons/${name}";
borderRadius = 5; borderRadius = 5;
borderSize = 1; borderSize = 1;
borderColor = lib.mkForce config.lib.stylix.scheme.withHashtag.base0C;
defaultTimeout = (builtins.mul 5 1000); # 5s timeout defaultTimeout = (builtins.mul 5 1000); # 5s timeout
}; };
} }

View file

@ -318,7 +318,7 @@
tooltip { tooltip {
background: ${scheme.base00}; background: ${scheme.base00};
border: 1px solid ${scheme.base0C}; border: 1px solid ${scheme.base0D};
border-radius: 5px; border-radius: 5px;
box-shadow: none; box-shadow: none;
} }
@ -366,7 +366,7 @@
color: ${scheme.base03}; color: ${scheme.base03};
} }
#workspaces button.active { #workspaces button.active {
color: ${scheme.base0C}; color: ${scheme.base0D};
} }
#workspaces button.urgent { #workspaces button.urgent {
color: ${scheme.base09}; color: ${scheme.base09};