Add Rose Pine theme as first light

This commit is contained in:
David Heinemeier Hansson 2024-06-03 20:00:01 -07:00
parent 90f49554df
commit 7e6b8b9633
7 changed files with 109 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

View File

@ -2,7 +2,7 @@
set -e
# Pick a preconfigured theme
THEME=$(gum choose "Tokyo Night" "Gruvbox" "Catppuccin" --height 5 | tr '[:upper:]' '[:lower:]' | sed 's/ /-/g')
THEME=$(gum choose "Tokyo Night" "Gruvbox" "Catppuccin" "Rose Pine" --height 6 | tr '[:upper:]' '[:lower:]' | sed 's/ /-/g')
[ ! -n "$THEME" ] && exit 0
@ -19,6 +19,8 @@ elif [ "$THEME" == "catppuccin" ]; then
VSC_THEME="Catppuccin Macchiato"
elif [ "$THEME" == "tokyo-night" ]; then
VSC_THEME="Tokyo Night"
elif [ "$THEME" == "rose-pine" ]; then
VSC_THEME="Rosé Pine Dawn"
fi
sed -i "s/\"workbench.colorTheme\": \".*\"/\"workbench.colorTheme\": \"$VSC_THEME\"/g" ~/.config/Code/User/settings.json

View File

@ -7,4 +7,5 @@ if [ -n "$FORCE" ] || ! command -v code &>/dev/null; then
code --install-extension enkia.tokyo-night
code --install-extension jdinhlife.gruvbox
code --install-extension Catppuccin.catppuccin-vsc
code --install-extension mvllow.rose-pine
fi

View File

@ -0,0 +1,72 @@
[colors.primary]
foreground = "#575279"
background = "#faf4ed"
dim_foreground = "#797593"
bright_foreground = "#575279"
[colors.cursor]
text = "#575279"
cursor = "#cecacd"
[colors.vi_mode_cursor]
text = "#575279"
cursor = "#cecacd"
[colors.search.matches]
foreground = "#797593"
background = "#f2e9e1"
[colors.search.focused_match]
foreground = "#faf4ed"
background = "#d7827e"
[colors.hints.start]
foreground = "#797593"
background = "#fffaf3"
[colors.hints.end]
foreground = "#9893a5"
background = "#fffaf3"
[colors.line_indicator]
foreground = "None"
background = "None"
[colors.footer_bar]
foreground = "#575279"
background = "#fffaf3"
[colors.selection]
text = "#575279"
background = "#dfdad9"
[colors.normal]
black = "#f2e9e1"
red = "#b4637a"
green = "#286983"
yellow = "#ea9d34"
blue = "#56949f"
magenta = "#907aa9"
cyan = "#d7827e"
white = "#575279"
[colors.bright]
black = "#9893a5"
red = "#b4637a"
green = "#286983"
yellow = "#ea9d34"
blue = "#56949f"
magenta = "#907aa9"
cyan = "#d7827e"
white = "#575279"
[colors.dim]
black = "#9893a5"
red = "#b4637a"
green = "#286983"
yellow = "#ea9d34"
blue = "#56949f"
magenta = "#907aa9"
cyan = "#d7827e"
white = "#575279"

View File

@ -0,0 +1,9 @@
gsettings set org.gnome.desktop.interface color-scheme 'prefer-light'
gsettings set org.gnome.desktop.interface cursor-theme 'Yaru'
gsettings set org.gnome.desktop.interface gtk-theme 'Yaru-red'
gsettings set org.gnome.desktop.interface icon-theme 'Yaru-red'
OMAKUB_DEFAULT_BACKGROUND_IMAGE_PATH="$HOME/.local/share/omakub/backgrounds/simple-pastel-by-triarts-from-freepik.jpg"
gsettings set org.gnome.desktop.background picture-uri $OMAKUB_DEFAULT_BACKGROUND_IMAGE_PATH
gsettings set org.gnome.desktop.background picture-uri-dark $OMAKUB_DEFAULT_BACKGROUND_IMAGE_PATH
gsettings set org.gnome.desktop.background picture-options 'zoom'

View File

@ -0,0 +1,9 @@
return {
{ "rose-pine/neovim", name = "rose-pine" },
{
"LazyVim/LazyVim",
opts = {
colorscheme = "rose-pine-dawn",
},
},
}

View File

@ -0,0 +1,15 @@
themes {
rose-pine {
bg "#faf4ed"
fg "#575279"
red "#b4637a"
green "#286983"
blue "#56949f"
yellow "#ea9d34"
magenta "#907aa9"
orange "#fe640b"
cyan "#d7827e"
black "#f2e9e1"
white "#575279"
}
}