11.stylix/modules/noctalia-shell/hm.nix
Assil Ksiksi 044ac0cc6d
noctalia-shell/hm: replace foreground grays with accent colors (#2189)
Replace the foreground grays with accent colors to improve theme
vibrancy.

Link: https://github.com/nix-community/stylix/discussions/2187
Link: https://github.com/nix-community/stylix/pull/2189

Reviewed-by: Alexander <63157919+rwxae@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2026-02-07 23:56:36 +01:00

69 lines
1.6 KiB
Nix

{
mkTarget,
lib,
options,
...
}:
mkTarget {
config = lib.optionals (options.programs ? noctalia-shell) [
(
{ colors }:
{
programs.noctalia-shell = {
colors = with colors.withHashtag; {
mPrimary = base0D;
mOnPrimary = base00;
mSecondary = base0E;
mOnSecondary = base00;
mTertiary = base0C;
mOnTertiary = base00;
mError = base08;
mOnError = base00;
mSurface = base00;
mOnSurface = base05;
mHover = base0C;
mOnHover = base00;
mSurfaceVariant = base01;
mOnSurfaceVariant = base04;
mOutline = base03;
mShadow = base00;
};
};
}
)
(
{ opacity }:
{
programs.noctalia-shell = {
settings = {
bar.backgroundOpacity = opacity.desktop;
bar.capsuleOpacity = opacity.desktop;
ui.panelBackgroundOpacity = opacity.desktop;
dock.backgroundOpacity = opacity.desktop;
osd.backgroundOpacity = opacity.popups;
notifications.backgroundOpacity = opacity.popups;
};
};
}
)
(
{ fonts }:
{
programs.noctalia-shell = {
settings = {
ui.fontDefault = fonts.sansSerif.name;
ui.fontFixed = fonts.monospace.name;
};
};
}
)
(
{ image }:
{
home.file.".cache/noctalia/wallpapers.json" = {
text = builtins.toJSON { defaultWallpaper = image; };
};
}
)
];
}