From 3b4cc5aa6fd2fec6020a42f43cdf11984ca3c164 Mon Sep 17 00:00:00 2001 From: rydesun Date: Fri, 19 May 2023 12:51:57 +0800 Subject: [PATCH] Add everforest-light theme --- .config/git/config | 31 ++++++++++++++----- .config/kitty/themes/everforest-light.conf | 36 ++++++++++++++++++++++ .config/kitty/themes/everforest.conf | 1 + 3 files changed, 61 insertions(+), 7 deletions(-) create mode 100644 .config/kitty/themes/everforest-light.conf diff --git a/.config/git/config b/.config/git/config index 0201c0f..8f3b019 100644 --- a/.config/git/config +++ b/.config/git/config @@ -35,26 +35,43 @@ ; Unicode文件名 quotepath = off - pager = delta ; https://github.com/samjwill/nvim-unception#working-with-git editor = nvim --cmd 'let g:unception_block_while_host_edits=1' -; === delta配置 === +; {{{ delta配置(需要安装delta) +; https://github.com/dandavison/delta +[core] + ; https://github.com/dandavison/delta/issues/447 + pager = delta --features "$(case \ + "$(gsettings get org.gnome.desktop.interface color-scheme)" \ + in *light*) echo light-theme;; *) echo dark-theme;; esac)" [interactive] diffFilter = delta --color-only [delta] - ; commit信息增加下划线 - commit-decoration-style = bold ul - - ; 文件名以块状显示 - file-style = bold black white ; 去掉文件名的下划线 file-decoration-style = none +[delta "dark-theme"] + ; commit信息增加下划线 + commit-decoration-style = bold ul + ; 文件名以块状显示 + file-style = bold black white + ; diff的配色 minus-style = syntax "#39180b" minus-emph-style = normal "#734347" plus-style = syntax "#1a2810" plus-emph-style = normal "#406040" + +[delta "light-theme"] + commit-decoration-style = bold ul orange + file-style = bold white black + + ; diff的配色 + syntax-theme = "GitHub" +; }}} + + +# vim: foldmethod=marker:foldlevel=0 diff --git a/.config/kitty/themes/everforest-light.conf b/.config/kitty/themes/everforest-light.conf new file mode 100644 index 0000000..e8ce8a7 --- /dev/null +++ b/.config/kitty/themes/everforest-light.conf @@ -0,0 +1,36 @@ +foreground #5c6a72 +background #f3ead3 +cursor #5c6a72 +cursor_text_color #f4f0d9 + +# 链接下划线 +url_color #3a94c5 + +# 窗口分割线 +active_border_color #8da101 +inactive_border_color #ddd8be + +# 标签栏 +active_tab_foreground #829181 +active_tab_background #e1e4bd +active_tab_font_style bold +inactive_tab_foreground #829181 +inactive_tab_background #ddd8be + +color0 #ddd8be +color1 #f85552 +color2 #8da101 +color3 #dfa000 +color4 #3a94c5 +color5 #df69ba +color6 #35a77c +color7 #5c6a72 +color8 #b9c0ab +# 重复 +color9 #f85552 +color10 #8da101 +color11 #dfa000 +color12 #3a94c5 +color13 #df69ba +color14 #35a77c +color15 #5c6a72 diff --git a/.config/kitty/themes/everforest.conf b/.config/kitty/themes/everforest.conf index 0f4e4f2..0bc9e3c 100644 --- a/.config/kitty/themes/everforest.conf +++ b/.config/kitty/themes/everforest.conf @@ -13,6 +13,7 @@ inactive_border_color #384b55 # 标签栏 active_tab_foreground #9da9a0 active_tab_background #4c3743 +active_tab_font_style bold inactive_tab_foreground #9da9a0 inactive_tab_background #384b55