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;
gtk2.configLocation = "${config.xdg.configHome}/gtk-2.0/gtkrc";
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";
};
};
stylix.targets.gtk.extraCss = with config.lib.stylix.scheme.withHashtag; ''
@define-color accent_color ${base0C-hex};
@define-color accent_bg_color ${base0C-hex};
'';
# stylix.targets.gtk.extraCss = with config.lib.stylix.scheme.withHashtag; ''
# @define-color accent_color ${base0C-hex};
# @define-color accent_bg_color ${base0C-hex};
# '';
xdg = {
mime.enable = true;
mimeApps =
@ -225,8 +225,10 @@
};
};
# Autostart some programs
"autostart/signal-desktop.desktop".source = "${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";
"autostart/signal-desktop.desktop".source =
"${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 = {
enable = true;
settings.default = {
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)";
};
settings.default.image-opacity = lib.mkForce "1.0";
};
}

View file

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

View file

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

View file

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

View file

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