feat/ultraviolet-theme #1

Merged
Damien merged 4 commits from feat/ultraviolet-theme into main 2026-06-21 10:09:25 +00:00
3 changed files with 94 additions and 29 deletions
+17
View File
@@ -0,0 +1,17 @@
# Ghostty config — macOS
Ghostty sur macOS a un comportement hybride :
- Le fichier de config principal va dans :
~/Library/Application Support/com.mitchellh.ghostty/config
- Les thèmes custom, eux, restent lus depuis l'emplacement XDG classique :
~/.config/ghostty/themes/
Comme il n'y a pas (encore) de symlink automatisé, copier à la main :
mkdir -p ~/.config/ghostty/themes
cp .config/ghostty/themes/ultraviolet ~/.config/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
+50 -29
View File
@@ -1,8 +1,9 @@
# ~/.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
format = """$os$username$hostname$kubernetes$directory$git_branch$git_status""" format = """$os$username$hostname$kubernetes$directory$python$git_branch$git_status"""
# Drop ugly default prompt characters # Drop ugly default prompt characters
[character] [character]
@@ -12,21 +13,23 @@ 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 = '󰀵 '
Debian = ' '
Alpine = ' '
# --- # ---
# 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 +37,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 +45,53 @@ 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
# Shows current Python version and virtualenv
[python]
symbol = '󰌠 '
format = 'via [$symbol${version}( \($virtualenv\))]($style) '
style = 'bold fg:#E297DB'
pyenv_version_name = false
detect_extensions = ['py']
detect_files = ['.python-version', 'pyproject.toml', 'requirements.txt', 'setup.py', 'Pipfile']
# Shows if a ContainerLab topology file is present in the current directory
[custom.containerlab]
description = "Shows ContainerLab topology name when present"
command = 'grep -m1 "^name:" *.clab.y*ml 2>/dev/null | head -1 | cut -d: -f2 | xargs'
when = 'ls *.clab.yml *.clab.yaml 2>/dev/null | grep -q .'
symbol = '󰒍 '
format = 'via [$symbol($output)]($style) '
style = 'bold fg:#C58FFF'
shell = ['bash', '--noprofile', '--norc']