theme edits
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
with lib;
|
||||
let
|
||||
cfg = config.mjallen.programs.wlogout;
|
||||
nord = import (lib.snowfall.fs.get-file "modules/home/desktop/theme/nord.nix");
|
||||
palette = import cfg.theme.file;
|
||||
in
|
||||
{
|
||||
imports = [ ./options.nix ];
|
||||
@@ -53,13 +53,13 @@ in
|
||||
}
|
||||
|
||||
window {
|
||||
background-color: ${nord.polarNight.nord0}f0
|
||||
background-color: ${palette.colors.bg}f0
|
||||
}
|
||||
|
||||
button {
|
||||
margin: 8px;
|
||||
color: ${nord.frost.nord7};
|
||||
background-color: ${nord.polarNight.nord1};
|
||||
color: ${palette.colors.info};
|
||||
background-color: ${palette.colors.bgAlt};
|
||||
border-style: solid;
|
||||
border-width: 2px;
|
||||
background-repeat: no-repeat;
|
||||
@@ -70,8 +70,8 @@ in
|
||||
button:active,
|
||||
button:focus,
|
||||
button:hover {
|
||||
color: ${nord.frost.nord8};
|
||||
background-color: ${nord.polarNight.nord2};
|
||||
color: ${palette.colors.info};
|
||||
background-color: ${palette.colors.surfaceAlt};
|
||||
outline-style: none;
|
||||
}
|
||||
|
||||
|
||||
@@ -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 = "wlogout theme palette configuration.";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user