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>
69 lines
1.6 KiB
Nix
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; };
|
|
};
|
|
}
|
|
)
|
|
];
|
|
}
|