theme edits

This commit is contained in:
mjallen18
2025-10-24 09:58:33 -05:00
parent 1b125aecd0
commit 9582ca5392
26 changed files with 1488 additions and 726 deletions

View File

@@ -2,7 +2,7 @@
with lib;
let
cfg = config.mjallen.programs.wofi;
nord = import (lib.snowfall.fs.get-file "modules/home/desktop/theme/nord.nix");
palette = import cfg.theme.file;
in
{
imports = [ ./options.nix ];
@@ -20,9 +20,9 @@ in
window {
margin: 0px;
padding: 10px;
border: 0.16em solid ${nord.aurora.nord15};
border: 0.16em solid ${palette.colors.accent};
border-radius: 0.1em;
background-color: ${nord.polarNight.nord0};
background-color: ${palette.colors.bg};
}
/* Inner Box */
@@ -30,7 +30,7 @@ in
margin: 5px;
padding: 10px;
border: none;
background-color: ${nord.polarNight.nord0};
background-color: ${palette.colors.bg};
}
/* Outer Box */
@@ -38,7 +38,7 @@ in
margin: 5px;
padding: 10px;
border: none;
background-color: ${nord.polarNight.nord0};
background-color: ${palette.colors.bg};
}
/* Scroll */
@@ -46,7 +46,7 @@ in
margin: 0px;
padding: 10px;
border: none;
background-color: ${nord.polarNight.nord0};
background-color: ${palette.colors.bg};
}
/* Input */
@@ -55,46 +55,46 @@ in
padding: 10px;
border: none;
border-radius: 0.1em;
color: ${nord.snowStorm.nord6};
background-color: ${nord.polarNight.nord0};
color: ${palette.colors.text};
background-color: ${palette.colors.bg};
}
#input image {
border: none;
color: ${nord.aurora.nord11};
color: ${palette.colors.danger};
}
#input * {
outline: 4px solid ${nord.aurora.nord11}!important;
outline: 4px solid ${palette.colors.danger}!important;
}
/* Text */
#text {
margin: 5px;
border: none;
color: ${nord.snowStorm.nord6};
color: ${palette.colors.text};
}
#entry {
background-color: ${nord.polarNight.nord0};
background-color: ${palette.colors.bg};
}
#entry arrow {
border: none;
color: ${nord.aurora.nord15};
color: ${palette.colors.accent};
}
/* Selected Entry */
#entry:selected {
border: 0.11em solid ${nord.aurora.nord15};
border: 0.11em solid ${palette.colors.accent};
}
#entry:selected #text {
color: ${nord.frost.nord7};
color: ${palette.colors.info};
}
#entry:drop(active) {
background-color: ${nord.aurora.nord15}!important;
background-color: ${palette.colors.accent}!important;
}
'';
};

View File

@@ -8,5 +8,19 @@ with lib;
type = types.str;
default = "Deja Vu Sans";
};
theme = mkOption {
type = types.submodule {
options = {
file = mkOption {
type = types.path;
default = lib.snowfall.fs.get-file "modules/home/desktop/theme/palettes/nord.nix";
description = "Nix file exporting a palette attrset.";
};
};
};
default = { };
description = "Wofi theme palette configuration.";
};
};
}