Add Ghostty UltraViolet theme, adjust starship colors to match

This commit is contained in:
Damien
2026-06-21 10:44:29 +02:00
parent 1564c2c695
commit f0a1a9bb29
3 changed files with 67 additions and 26 deletions
+14
View File
@@ -0,0 +1,14 @@
# Ghostty config — macOS
Ghostty sur macOS ne lit pas `~/.config/ghostty/`, mais :
~/Library/Application Support/com.mitchellh.ghostty/
Comme il n'y a pas (encore) de symlink automatisé, copier à la main :
cp .config/ghostty/themes/ultraviolet \
"~/Library/Application Support/com.mitchellh.ghostty/themes/ultraviolet"
Puis dans `~/Library/Application Support/com.mitchellh.ghostty/config`, ajouter :
theme = ultraviolet
+27
View File
@@ -0,0 +1,27 @@
# UltraViolet theme for Ghostty
# Source: https://github.com/Gurvirr/zed-ultraViolet
background = 0B0C10
foreground = DCD8ED
cursor-color = 6F78FF
cursor-text = 0B0C10
selection-background = 222226
selection-foreground = F2F4F8
palette = 0=#282828
palette = 1=#FF6FAE
palette = 2=#08BD8A
palette = 3=#E297DB
palette = 4=#6F78FF
palette = 5=#C58FFF
palette = 6=#B3BCEF
palette = 7=#DCD8ED
palette = 8=#3A3A3A
palette = 9=#FF9BC3
palette = 10=#3DD4A6
palette = 11=#F2B1ED
palette = 12=#8B92FF
palette = 13=#D3A8FF
palette = 14=#CAD1FF
palette = 15=#FFFFFF
+26 -26
View File
@@ -1,4 +1,5 @@
# ~/.config/starship.toml # ~/.config/starship.toml
# UltraViolet color scheme — https://github.com/Gurvirr/zed-ultraViolet
add_newline = false add_newline = false
command_timeout = 1000 command_timeout = 1000
@@ -12,21 +13,21 @@ error_symbol = ''
# --- # ---
[os] [os]
format = '[$symbol](bold white) ' format = '[$symbol](bold fg:#DCD8ED) '
disabled = false disabled = false
[os.symbols] [os.symbols]
Windows = ' ' Windows = '󰖳 '
Arch = '󰣇' Arch = '󰣇'
Ubuntu = '' Ubuntu = '󰕈'
Macos = '󰀵' Macos = '󰀵'
# --- # ---
# Shows the username # Shows the username
[username] [username]
style_user = 'white bold' style_user = 'fg:#DCD8ED bold'
style_root = 'black bold' style_root = 'fg:#FF6FAE bold'
format = '[$user]($style) ' format = '[$user]($style) '
disabled = false disabled = false
show_always = true show_always = true
@@ -34,7 +35,7 @@ show_always = true
# Shows the hostname # Shows the hostname
[hostname] [hostname]
ssh_only = false ssh_only = false
format = 'on [$hostname](bold purple) ' format = 'on [$hostname](bold fg:#6F78FF) '
disabled = false disabled = false
# Shows current directory # Shows current directory
@@ -42,35 +43,34 @@ disabled = false
truncation_length = 1 truncation_length = 1
truncation_symbol = '…/' truncation_symbol = '…/'
home_symbol = '󰋜 ~' home_symbol = '󰋜 ~'
read_only_style = '197' read_only_style = 'fg:#FF6FAE'
read_only = ' ' read_only = ' 󰌾 '
format = 'at [$path]($style)[$read_only]($read_only_style) ' format = 'at [$path](fg:#C58FFF)[$read_only]($read_only_style) '
# Shows current git branch # Shows current git branch
[git_branch] [git_branch]
symbol = ' ' symbol = '󰊢 '
format = 'via [$symbol$branch]($style)' format = 'via [$symbol$branch]($style)'
# truncation_length = 4
truncation_symbol = '…/' truncation_symbol = '…/'
style = 'bold green' style = 'bold fg:#08BD8A'
# Shows current git status # Shows current git status
[git_status] [git_status]
format = '([ \( $all_status$ahead_behind\)]($style) )' format = '([ \( $all_status$ahead_behind\)]($style) )'
style = 'bold green' style = 'bold fg:#08BD8A'
conflicted = '[ confliced=${count}](red) ' conflicted = '[󰽉 conflicted=${count}](fg:#FF6FAE) '
up_to_date = '[󰘽 up-to-date](green) ' up_to_date = '[󰸞 up-to-date](fg:#08BD8A) '
untracked = '[󰋗 untracked=${count}](red) ' untracked = '[󰋘 untracked=${count}](fg:#FF6FAE) '
ahead = ' ahead=${count}' ahead = '[󰜷 ahead=${count}]'
diverged = ' ahead=${ahead_count} behind=${behind_count}' diverged = '[󰜷 ahead=${ahead_count} 󰜸 behind=${behind_count}]'
behind = ' behind=${count}' behind = '[󰜸 behind=${count}]'
stashed = '[ stashed=${count}](green) ' stashed = '[󱀇 stashed=${count}](fg:#08BD8A) '
modified = '[󰛿 modified=${count}](yellow) ' modified = '[󰷈 modified=${count}](fg:#E297DB) '
staged = '[󰐗 staged=${count}](green) ' staged = '[󰐗 staged=${count}](fg:#08BD8A) '
renamed = '[󱍸 renamed=${count}](yellow) ' renamed = '[󱍸 renamed=${count}](fg:#E297DB) '
deleted = '[󰍶 deleted=${count}](red) ' deleted = '[󰍶 deleted=${count}](fg:#FF6FAE) '
# Shows kubernetes context and namespace # Shows kubernetes context and namespace
[kubernetes] [kubernetes]
format = 'via [󱃾 $context\($namespace\)](bold purple) ' format = 'via [󱃾 $context\($namespace\)](bold fg:#6F78FF) '
disabled = false disabled = false