feat(colors): Default to catppuccin latte/mocha and some switcher

This commit is contained in:
js0ny 2025-04-15 09:41:09 +01:00
parent 2273b15416
commit 94461cdebb
32 changed files with 2487 additions and 1348 deletions

View file

@ -1 +1,14 @@
fish_config theme choose "Catppuccin Mocha"
switch (uname)
case "Linux"
set SYSTEM_COLOR_SCHEME (gsettings get org.gnome.desktop.interface color-scheme)
if test $SYSTEM_COLOR_SCHEME = "'prefer-dark'"
set -g fish_config_theme "Catppuccin Mocha"
else
set -g fish_config_theme "Catppuccin Latte"
end
case "Darwin"
set SYSTEM_COLOR_SCHEME defaults read -g AppleInterfaceStyle
echo "[TODO] Check if dark mode is enabled in macOS"
case '*'
set -g fish_config_theme "Catppuccin Mocha"
end

View file

@ -0,0 +1,30 @@
# name: 'Catppuccin Latte'
# url: 'https://github.com/catppuccin/fish'
# preferred_background: eff1f5
fish_color_normal 4c4f69
fish_color_command 1e66f5
fish_color_param dd7878
fish_color_keyword d20f39
fish_color_quote 40a02b
fish_color_redirection ea76cb
fish_color_end fe640b
fish_color_comment 8c8fa1
fish_color_error d20f39
fish_color_gray 9ca0b0
fish_color_selection --background=ccd0da
fish_color_search_match --background=ccd0da
fish_color_option 40a02b
fish_color_operator ea76cb
fish_color_escape e64553
fish_color_autosuggestion 9ca0b0
fish_color_cancel d20f39
fish_color_cwd df8e1d
fish_color_user 179299
fish_color_host 1e66f5
fish_color_host_remote 40a02b
fish_color_status d20f39
fish_pager_color_progress 9ca0b0
fish_pager_color_prefix ea76cb
fish_pager_color_completion 4c4f69
fish_pager_color_description 9ca0b0