switch to ANSI colors and match oh-my-zsh theme

This commit is contained in:
Brennen Raimer
2024-12-14 14:06:07 -05:00
parent 0608c7951b
commit c8755461f3

View File

@@ -10,10 +10,10 @@
"properties": { "properties": {
"cache_duration": "none" "cache_duration": "none"
}, },
"leading_diamond": "╭─", "leading_diamond": "╭──",
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} ", "template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} ",
"foreground": "#000000", "foreground": "black",
"background": "#d3d7cf", "background": "lightWhite",
"type": "os", "type": "os",
"style": "diamond" "style": "diamond"
}, },
@@ -31,9 +31,9 @@
"style": "mixed" "style": "mixed"
}, },
"template": " {{ path .Path .Location }} ", "template": " {{ path .Path .Location }} ",
"foreground": "#e4e4e4", "foreground": "lightWhite",
"powerline_symbol": "", "powerline_symbol": "",
"background": "#3465a4", "background": "blue",
"type": "path", "type": "path",
"style": "powerline" "style": "powerline"
}, },
@@ -46,16 +46,16 @@
"fetch_upstream_icon": true "fetch_upstream_icon": true
}, },
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }}  {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }}  {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }}  {{ .StashCount }}{{ end }} ", "template": " {{ .UpstreamIcon }}{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }}  {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }}  {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }}  {{ .StashCount }}{{ end }} ",
"foreground": "#000000", "foreground": "black",
"powerline_symbol": "", "powerline_symbol": "",
"background": "#4e9a06", "background": "green",
"type": "git", "type": "git",
"style": "powerline", "style": "powerline",
"background_templates": [ "background_templates": [
"{{ if or (.Working.Changed) (.Staging.Changed) }}#c4a000{{ end }}", "{{ if or (.Working.Changed) (.Staging.Changed) }}yellow{{ end }}",
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}#f26d50{{ end }}", "{{ if and (gt .Ahead 0) (gt .Behind 0) }}lightRed{{ end }}",
"{{ if gt .Ahead 0 }}#89d1dc{{ end }}", "{{ if gt .Ahead 0 }}lightCyan{{ end }}",
"{{ if gt .Behind 0 }}#4e9a06{{ end }}" "{{ if gt .Behind 0 }}green{{ end }}"
] ]
} }
] ]
@@ -70,9 +70,9 @@
"fetch_version": true "fetch_version": true
}, },
"template": " {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }}  ", "template": " {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }}  ",
"foreground": "#ffffff", "foreground": "white",
"powerline_symbol": "", "powerline_symbol": "",
"background": "#689f63", "background": "green",
"type": "node", "type": "node",
"style": "powerline", "style": "powerline",
"invert_powerline": true "invert_powerline": true
@@ -83,9 +83,9 @@
"fetch_version": true "fetch_version": true
}, },
"template": " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}  ", "template": " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}  ",
"foreground": "#111111", "foreground": "darkGray",
"powerline_symbol": "", "powerline_symbol": "",
"background": "#00acd7", "background": "lightBlue",
"type": "go", "type": "go",
"style": "powerline", "style": "powerline",
"invert_powerline": true "invert_powerline": true
@@ -96,9 +96,9 @@
"fetch_version": true "fetch_version": true
}, },
"template": "  {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} ", "template": "  {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} ",
"foreground": "#111111", "foreground": "darkGray",
"powerline_symbol": "", "powerline_symbol": "",
"background": "#4063D8", "background": "blue",
"type": "julia", "type": "julia",
"style": "powerline", "style": "powerline",
"invert_powerline": true "invert_powerline": true
@@ -111,9 +111,9 @@
"home_enabled": true "home_enabled": true
}, },
"template": "  {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} ", "template": "  {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} ",
"foreground": "#111111", "foreground": "darkGray",
"powerline_symbol": "", "powerline_symbol": "",
"background": "#FFDE57", "background": "lightYellow",
"type": "python", "type": "python",
"style": "powerline", "style": "powerline",
"invert_powerline": true "invert_powerline": true
@@ -125,9 +125,9 @@
"fetch_version": true "fetch_version": true
}, },
"template": " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}  ", "template": " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}  ",
"foreground": "#ffffff", "foreground": "white",
"powerline_symbol": "", "powerline_symbol": "",
"background": "#AE1401", "background": "red",
"type": "ruby", "type": "ruby",
"style": "powerline", "style": "powerline",
"invert_powerline": true "invert_powerline": true
@@ -139,9 +139,9 @@
"fetch_version": false "fetch_version": false
}, },
"template": " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ", "template": " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
"foreground": "#ffffff", "foreground": "white",
"powerline_symbol": "", "powerline_symbol": "",
"background": "#FEAC19", "background": "yellow",
"type": "azfunc", "type": "azfunc",
"style": "powerline", "style": "powerline",
"invert_powerline": true "invert_powerline": true
@@ -152,13 +152,13 @@
"display_default": false "display_default": false
}, },
"template": " {{ .Profile }}{{ if .Region }}@{{ .Region }}{{ end }}  ", "template": " {{ .Profile }}{{ if .Region }}@{{ .Region }}{{ end }}  ",
"foreground": "#ffffff", "foreground": "white",
"powerline_symbol": "", "powerline_symbol": "",
"type": "aws", "type": "aws",
"style": "powerline", "style": "powerline",
"background_templates": [ "background_templates": [
"{{if contains \"default\" .Profile}}#FFA400{{end}}", "{{if contains \"default\" .Profile}}yellow{{end}}",
"{{if contains \"jan\" .Profile}}#f1184c{{end}}" "{{if contains \"jan\" .Profile}}red{{end}}"
], ],
"invert_powerline": true "invert_powerline": true
}, },
@@ -167,9 +167,9 @@
"cache_duration": "none" "cache_duration": "none"
}, },
"template": "  ", "template": "  ",
"foreground": "#111111", "foreground": "darkGray",
"powerline_symbol": "", "powerline_symbol": "",
"background": "#ffff66", "background": "lightYellow",
"type": "root", "type": "root",
"style": "powerline", "style": "powerline",
"invert_powerline": true "invert_powerline": true
@@ -179,9 +179,9 @@
"cache_duration": "none" "cache_duration": "none"
}, },
"template": " {{ .FormattedMs }}  ", "template": " {{ .FormattedMs }}  ",
"foreground": "#000000", "foreground": "black",
"powerline_symbol": "", "powerline_symbol": "",
"background": "#c4a000", "background": "yellow",
"type": "executiontime", "type": "executiontime",
"style": "powerline", "style": "powerline",
"invert_powerline": true "invert_powerline": true
@@ -191,8 +191,8 @@
"style": "powerline", "style": "powerline",
"powerline_symbol": "", "powerline_symbol": "",
"invert_powerline": true, "invert_powerline": true,
"foreground": "#ffffff", "foreground": "white",
"background": "#0077c2", "background": "blue",
"properties": { "properties": {
"mapped_shell_names": { "mapped_shell_names": {
"pwsh": "󰨊 pwsh", "pwsh": "󰨊 pwsh",
@@ -211,13 +211,13 @@
"cache_duration": "none" "cache_duration": "none"
}, },
"template": " {{ if gt .Code 0 }}{{ reason .Code }}{{ else }}{{ end }} ", "template": " {{ if gt .Code 0 }}{{ reason .Code }}{{ else }}{{ end }} ",
"foreground": "#000000", "foreground": "black",
"background": "#d3d7cf", "background": "lightWhite",
"trailing_diamond": "", "trailing_diamond": "",
"type": "status", "type": "status",
"style": "diamond", "style": "diamond",
"background_templates": [ "background_templates": [
"{{ if gt .Code 0 }}#cc2222{{ end }}" "{{ if gt .Code 0 }}red{{ end }}"
], ],
"invert_powerline": true "invert_powerline": true
}, },
@@ -226,7 +226,7 @@
"cache_duration": "none" "cache_duration": "none"
}, },
"template": "{{ if matchP \"(powershell|pwsh|fish|cmd|nu|zsh)\" .Shell }}─╮{{ end }}", "template": "{{ if matchP \"(powershell|pwsh|fish|cmd|nu|zsh)\" .Shell }}─╮{{ end }}",
"foreground": "#d3d7cf", "foreground": "lightWhite",
"type": "text", "type": "text",
"style": "plain" "style": "plain"
} }
@@ -241,7 +241,7 @@
"cache_duration": "none" "cache_duration": "none"
}, },
"template": "╰─", "template": "╰─",
"foreground": "#d3d7cf", "foreground": "lightWhite",
"type": "text", "type": "text",
"style": "plain" "style": "plain"
} }
@@ -256,7 +256,7 @@
"cache_duration": "none" "cache_duration": "none"
}, },
"template": "─╯", "template": "─╯",
"foreground": "#d3d7cf", "foreground": "lightWhite",
"type": "text", "type": "text",
"style": "plain" "style": "plain"
} }