fix(nix-colors): config.colorscheme.colors -> config.colorscheme.palette

This commit is contained in:
ooks-io 2024-05-19 17:12:40 +12:00
parent 58447dcf84
commit 5f3c9de7e7
21 changed files with 282 additions and 282 deletions

View file

@ -1,6 +1,6 @@
{ config, lib, ... }:
let
inherit (config.colorscheme) colors kind;
inherit (config.colorscheme) palette variant;
fonts = config.homeModules.theme.fonts;
cfg = config.homeModules.desktop.wayland.notification.mako;
in {
@ -8,7 +8,7 @@ in {
services.mako = {
enable = true;
iconPath =
if kind == "dark" then
if variant == "dark" then
"${config.gtk.iconTheme.package}/share/icons/Papirus-Dark"
else
"${config.gtk.iconTheme.package}/share/icons/Papirus-Light";
@ -19,9 +19,9 @@ in {
height = 100;
borderSize = 2;
defaultTimeout = 3000;
backgroundColor = "#${colors.base00}dd";
borderColor = "#${colors.base05}dd";
textColor = "#${colors.base05}dd";
backgroundColor = "#${palette.base00}dd";
borderColor = "#${palette.base05}dd";
textColor = "#${palette.base05}dd";
extraConfig = ''
[app-name="system-notify"]
padding=3,3
@ -32,7 +32,7 @@ in {
width=100
height=100
anchor=top-center
border-color=#${colors.base08}dd
border-color=#${palette.base08}dd
'';
};
};