theme stuff
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
with lib;
|
||||
let
|
||||
cfg = config.mjallen.programs.kitty;
|
||||
palette = import cfg.theme.file;
|
||||
in
|
||||
{
|
||||
imports = [ ./options.nix ];
|
||||
@@ -28,78 +27,78 @@ in
|
||||
confirm_os_window_close = "0";
|
||||
background_opacity = mkForce "0.85";
|
||||
|
||||
# The basic colors
|
||||
foreground = palette.colors.text;
|
||||
background = palette.colors.bg;
|
||||
selection_foreground = palette.colors.bg;
|
||||
selection_background = palette.colors.accent;
|
||||
# # The basic colors
|
||||
# foreground = config.lib.stylix.colors.base06;
|
||||
# background = config.lib.stylix.colors.base00;
|
||||
# selection_foreground = config.lib.stylix.colors.base00;
|
||||
# selection_background = config.lib.stylix.colors.base0E;
|
||||
|
||||
# Cursor colors
|
||||
cursor = palette.colors.accent;
|
||||
cursor_text_color = palette.colors.bg;
|
||||
# # Cursor colors
|
||||
# cursor = config.lib.stylix.colors.base0E;
|
||||
# cursor_text_color = config.lib.stylix.colors.base00;
|
||||
|
||||
# URL underline color when hovering with mouse
|
||||
url_color = palette.colors.accent;
|
||||
# # URL underline color when hovering with mouse
|
||||
# url_color = config.lib.stylix.colors.base0E;
|
||||
|
||||
# Kitty window border colors
|
||||
active_border_color = palette.colors.primary;
|
||||
inactive_border_color = palette.colors.bgAlt;
|
||||
bell_border_color = palette.colors.warning;
|
||||
# # Kitty window border colors
|
||||
# active_border_color = config.lib.stylix.colors.base0F;
|
||||
# inactive_border_color = config.lib.stylix.colors.base01;
|
||||
# bell_border_color = config.lib.stylix.colors.base0A;
|
||||
|
||||
# OS Window titlebar colors
|
||||
wayland_titlebar_color = palette.colors.bg;
|
||||
macos_titlebar_color = palette.colors.bg;
|
||||
# # OS Window titlebar colors
|
||||
# wayland_titlebar_color = config.lib.stylix.colors.base00;
|
||||
# macos_titlebar_color = config.lib.stylix.colors.base00;
|
||||
|
||||
# Tab bar colors
|
||||
active_tab_foreground = palette.colors.border;
|
||||
active_tab_background = palette.colors.accent;
|
||||
inactive_tab_foreground = palette.colors.text;
|
||||
inactive_tab_background = palette.colors.bgAlt;
|
||||
tab_bar_background = palette.colors.border;
|
||||
# # Tab bar colors
|
||||
# active_tab_foreground = config.lib.stylix.colors.base03;
|
||||
# active_tab_background = config.lib.stylix.colors.base0E;
|
||||
# inactive_tab_foreground = config.lib.stylix.colors.base06;
|
||||
# inactive_tab_background = config.lib.stylix.colors.base01;
|
||||
# tab_bar_background = config.lib.stylix.colors.base03;
|
||||
|
||||
# Colors for marks (marked text in the terminal)
|
||||
mark1_foreground = palette.colors.bg;
|
||||
mark1_background = palette.colors.primary;
|
||||
mark2_foreground = palette.colors.bg;
|
||||
mark2_background = palette.colors.accent;
|
||||
mark3_foreground = palette.colors.bg;
|
||||
mark3_background = palette.colors.info;
|
||||
# # Colors for marks (marked text in the terminal)
|
||||
# mark1_foreground = config.lib.stylix.colors.base00;
|
||||
# mark1_background = config.lib.stylix.colors.base0F;
|
||||
# mark2_foreground = config.lib.stylix.colors.base00;
|
||||
# mark2_background = config.lib.stylix.colors.base0E;
|
||||
# mark3_foreground = config.lib.stylix.colors.base00;
|
||||
# mark3_background = config.lib.stylix.colors.base0C;
|
||||
|
||||
# The 16 terminal colors
|
||||
# # The 16 terminal colors
|
||||
|
||||
# black
|
||||
color0 = palette.colors.bg;
|
||||
# # black
|
||||
# color0 = config.lib.stylix.colors.base00;
|
||||
|
||||
# Autosuggestion
|
||||
color8 = palette.colors.primary;
|
||||
# # Autosuggestion
|
||||
# color8 = config.lib.stylix.colors.base0F;
|
||||
|
||||
# red
|
||||
color1 = palette.colors.danger;
|
||||
color9 = palette.colors.danger;
|
||||
# # red
|
||||
# color1 = config.lib.stylix.colors.base08;
|
||||
# color9 = config.lib.stylix.colors.base08;
|
||||
|
||||
# green
|
||||
color2 = palette.colors.success;
|
||||
color10 = palette.colors.success;
|
||||
# # green
|
||||
# color2 = config.lib.stylix.colors.base0B;
|
||||
# color10 = config.lib.stylix.colors.base0B;
|
||||
|
||||
# yellow
|
||||
color3 = palette.colors.warning;
|
||||
color11 = palette.colors.warning;
|
||||
# # yellow
|
||||
# color3 = config.lib.stylix.colors.base0A;
|
||||
# color11 = config.lib.stylix.colors.base0A;
|
||||
|
||||
# blue
|
||||
color4 = palette.colors.primary;
|
||||
color12 = palette.colors.primary;
|
||||
# # blue
|
||||
# color4 = config.lib.stylix.colors.base0F;
|
||||
# color12 = config.lib.stylix.colors.base0F;
|
||||
|
||||
# magenta
|
||||
color5 = palette.colors.accent;
|
||||
color13 = palette.colors.accent;
|
||||
# # magenta
|
||||
# color5 = config.lib.stylix.colors.base0E;
|
||||
# color13 = config.lib.stylix.colors.base0E;
|
||||
|
||||
# cyan
|
||||
color6 = palette.colors.info;
|
||||
color14 = palette.colors.info;
|
||||
# # cyan
|
||||
# color6 = config.lib.stylix.colors.base0C;
|
||||
# color14 = config.lib.stylix.colors.base0C;
|
||||
|
||||
# white
|
||||
color7 = palette.colors.textMuted;
|
||||
color15 = palette.colors.text;
|
||||
# # white
|
||||
# color7 = config.lib.stylix.colors.base05;
|
||||
# color15 = config.lib.stylix.colors.base06;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -20,20 +20,5 @@ in
|
||||
default = 12;
|
||||
};
|
||||
};
|
||||
|
||||
theme = mkOption {
|
||||
type = types.submodule {
|
||||
options = {
|
||||
file = mkOption {
|
||||
type = types.path;
|
||||
# Fallback default; global theme module sets this via mkDefault
|
||||
default = lib.snowfall.fs.get-file "modules/home/desktop/theme/palettes/nord.nix";
|
||||
description = "Nix file exporting a palette attrset.";
|
||||
};
|
||||
};
|
||||
};
|
||||
default = { };
|
||||
description = "Kitty theme palette configuration.";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user