theme edits
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
with lib;
|
||||
let
|
||||
cfg = config.mjallen.programs.nwg-dock;
|
||||
nord = import (lib.snowfall.fs.get-file "modules/home/desktop/theme/nord.nix");
|
||||
palette = import cfg.theme.file;
|
||||
in
|
||||
{
|
||||
imports = [ ./options.nix ];
|
||||
@@ -18,11 +18,11 @@ in
|
||||
home.file = {
|
||||
".config/nwg-dock-hyprland/drawer.css".text = ''
|
||||
window {
|
||||
background: ${nord.polarNight.nord0};
|
||||
background: ${palette.colors.bg};
|
||||
border-radius: 10px;
|
||||
border-style: none;
|
||||
border-width: 1px;
|
||||
border-color: ${nord.aurora.nord15}b0
|
||||
border-color: ${palette.colors.accent}b0
|
||||
}
|
||||
|
||||
#box {
|
||||
@@ -33,14 +33,14 @@ in
|
||||
active {
|
||||
/* This is to underline the button representing the currently active window */
|
||||
border-bottom: solid 1px;
|
||||
border-color: ${nord.aurora.nord14}1a
|
||||
border-color: ${palette.colors.success}1a
|
||||
}
|
||||
|
||||
button, image {
|
||||
background: none;
|
||||
border-style: none;
|
||||
box-shadow: none;
|
||||
color: ${nord.frost.nord10}
|
||||
color: ${palette.colors.primary}
|
||||
}
|
||||
|
||||
button {
|
||||
@@ -52,7 +52,7 @@ in
|
||||
}
|
||||
|
||||
button:hover {
|
||||
background-color: ${nord.polarNight.nord0}1a;
|
||||
background-color: ${palette.colors.bg}1a;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
|
||||
@@ -3,5 +3,19 @@ with lib;
|
||||
{
|
||||
options.mjallen.programs.nwg-dock = {
|
||||
enable = mkEnableOption "enable nwg-dock";
|
||||
|
||||
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 = "nwg-dock theme palette configuration.";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user