Switch to Rosé Pine as light theme

This commit is contained in:
coolneng 2023-02-01 08:17:17 +01:00
parent 7fb7569e18
commit 9e5203a6b7
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
4 changed files with 45 additions and 45 deletions

View File

@ -33,7 +33,7 @@ let g:UltiSnipsJumpBackwardTrigger = '<s-tab>'
call plug#begin('~/.config/nvim/plugged') call plug#begin('~/.config/nvim/plugged')
Plug 'Raimondi/delimitMate' Plug 'Raimondi/delimitMate'
Plug 'arcticicestudio/nord-vim' Plug 'arcticicestudio/nord-vim'
Plug 'morhetz/gruvbox' Plug 'rose-pine/neovim'
Plug 'LnL7/vim-nix' Plug 'LnL7/vim-nix'
call plug#end() call plug#end()
""Colors ""Colors

View File

@ -1,18 +1,20 @@
#!/bin/sh #!/bin/sh
LIGHT_THEME="gruvbox" LIGHT_THEME="rose-pine"
DARK_THEME="nord" DARK_THEME="nord"
KITTY_LIGHT_THEME="Rosé Pine Dawn"
NVIM_COLORSCHEME_LINE=41
capitalize() { capitalize() {
printf '%s' "$1" | head -c 1 | tr "[:lower:]" "[:upper:]" printf '%s' "$1" | head -c 1 | tr "[:lower:]" "[:upper:]"
printf '%s' "$1" | tail -c '+2' printf '%s' "$1" | tail -c '+2' | tr "-" " " | tr "e" "é"
} }
change_theme() { change_theme() {
sed -i "s/$1/$2/" ~/.config/nvim/init.vim sed -e "$NVIM_COLORSCHEME_LINE s/$1/$2/" -i ~/.config/nvim/init.vim
sed -i "s/$1/$2/" ~/.config/zathura/zathurarc sed -i "s/$1/$2/" ~/.config/zathura/zathurarc
if [ "$2" = "$LIGHT_THEME" ]; then if [ "$2" = "$LIGHT_THEME" ]; then
kitty +kitten themes --reload-in=all "$(capitalize "$2") Light" kitty +kitten themes --reload-in=all "$KITTY_LIGHT_THEME"
else else
kitty +kitten themes --reload-in=all "$(capitalize "$2")" kitty +kitten themes --reload-in=all "$(capitalize "$2")"
fi fi

View File

@ -1,40 +0,0 @@
set notification-error-bg "#fbf1c7" # bg
set notification-error-fg "#9d0006" # bright:red
set notification-warning-bg "#fbf1c7" # bg
set notification-warning-fg "#b57614" # bright:yellow
set notification-bg "#fbf1c7" # bg
set notification-fg "#79740e" # bright:green
set completion-bg "#d5c4a1" # bg2
set completion-fg "#3c3836" # fg
set completion-group-bg "#ebdbb2" # bg1
set completion-group-fg "#928374" # gray
set completion-highlight-bg "#076678" # bright:blue
set completion-highlight-fg "#d5c4a1" # bg2
# Define the color in index mode
set index-bg "#d5c4a1" # bg2
set index-fg "#3c3836" # fg
set index-active-bg "#076678" # bright:blue
set index-active-fg "#d5c4a1" # bg2
set inputbar-bg "#fbf1c7" # bg
set inputbar-fg "#3c3836" # fg
set statusbar-bg "#d5c4a1" # bg2
set statusbar-fg "#3c3836" # fg
set highlight-color "#b57614" # bright:yellow
set highlight-active-color "#af3a03" # bright:orange
set default-bg "#fbf1c7" # bg
set default-fg "#3c3836" # fg
set render-loading true
set render-loading-bg "#fbf1c7" # bg
set render-loading-fg "#3c3836" # fg
# Recolor book content's color
set recolor-lightcolor "#fbf1c7" # bg
set recolor-darkcolor "#3c3836" # fg
set recolor "true"
# set recolor-keephue true # keep original color

View File

@ -0,0 +1,38 @@
# https://github.com/rose-pine/rose-pine-theme
# Soho vibes for Zathura: Rosé Pine Dawn
#
# Usage:
# Copy contents of this file to ~/.config/zathura/zathurarc
#
# Change 'recolor' and 'recolor-keephue' to true to change
# the document colors for a more uniform viewing experience.
set default-bg "#faf4ed"
set default-fg "#575279"
set statusbar-fg "#9893a5"
set statusbar-bg "#fffaf3"
set inputbar-bg "#6e6a86"
set inputbar-fg "#faf4ed"
set notification-bg "#6e6a86"
set notification-fg "#faf4ed"
set notification-error-bg "#6e6a86"
set notification-error-fg "#ea9d34"
set notification-warning-bg "#6e6a86"
set notification-warning-fg "#ea9d34"
set highlight-color "#b4637a"
set highlight-active-color "#d7827e"
set completion-bg "#6e6a86"
set completion-fg "#d7827e"
set completion-highlight-fg "#575279"
set completion-highlight-bg "#d7827e"
set recolor-lightcolor "#faf4ed"
set recolor-darkcolor "#575279"