fix(theme): \u0008, palette-colors, trimmed segs

fix(theme): forgot to revert debug color
This commit is contained in:
Evan Hawman 2022-05-06 15:23:24 -05:00 committed by Jan De Dobbeleer
parent 5f19315a66
commit f8d0c00404

View file

@ -8,11 +8,11 @@
{ {
"type": "iterm", "type": "iterm",
"style": "plain", "style": "plain",
"foreground": "p:cyan", "foreground": "cyan",
"template": "{{ .PromptMark }}" "template": "{{ .PromptMark }}"
}, },
{ {
"foreground": "p:cyan", "foreground": "cyan",
"properties": { "properties": {
"alpine": "\uf300", "alpine": "\uf300",
"arch": "\uf303", "arch": "\uf303",
@ -33,29 +33,29 @@
"wsl_separator": " on " "wsl_separator": " on "
}, },
"style": "diamond", "style": "diamond",
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}}\u2550", "template": " {{ if .WSL }}\ue62a\uf44c{{ end }}{{.Icon}}\u2550",
"trailing_diamond": "<transparent,>\ue0b2</>", "trailing_diamond": "<transparent,>\ue0b2</>",
"type": "os" "type": "os"
}, },
{ {
"background": "p:green", "background": "green",
"foreground": "p:dracula-black", "foreground": "black",
"leading_diamond": "\ue0b2", "leading_diamond": "\ue0b2",
"style": "diamond", "style": "diamond",
"template": " \uf489 {{ .Name }} ", "template": " \uf489 {{ .Name }} ",
"type": "shell" "type": "shell"
}, },
{ {
"background": "p:pink", "background": "magenta",
"foreground": "p:dracula-black", "foreground": "black",
"powerline_symbol": "\ue0bc", "powerline_symbol": "\ue0bc",
"style": "powerline", "style": "powerline",
"template": " {{ if .SSHSession }}\uf817 {{ end }}{{ .UserName }}@{{ .HostName }} ", "template": " {{ if .SSHSession }}\uf817 {{ end }}{{ .UserName }}@{{ .HostName }} ",
"type": "session" "type": "session"
}, },
{ {
"background": "p:bright-cyan", "background": "lightCyan",
"foreground": "p:dracula-black", "foreground": "black",
"powerline_symbol": "\ue0bc", "powerline_symbol": "\ue0bc",
"properties": { "properties": {
"fetch_version": true "fetch_version": true
@ -65,8 +65,8 @@
"type": "julia" "type": "julia"
}, },
{ {
"background": "p:bright-cyan", "background": "lightCyan",
"foreground": "p:dracula-black", "foreground": "black",
"powerline_symbol": "\ue0bc", "powerline_symbol": "\ue0bc",
"properties": { "properties": {
"fetch_version": true "fetch_version": true
@ -76,24 +76,24 @@
"type": "go" "type": "go"
}, },
{ {
"background": "p:bright-cyan", "background": "lightCyan",
"foreground": "p:dracula-black", "foreground": "black",
"powerline_symbol": "\ue0bc", "powerline_symbol": "\ue0bc",
"style": "powerline", "style": "powerline",
"template": " \ue738 {{ .Full }}", "template": " \ue738 {{ .Full }}",
"type": "java" "type": "java"
}, },
{ {
"background": "p:bright-cyan", "background": "lightCyan",
"foreground": "p:dracula-black", "foreground": "black",
"powerline_symbol": "\ue0bc", "powerline_symbol": "\ue0bc",
"style": "powerline", "style": "powerline",
"template": " \ue73d {{ .Full }} ", "template": " \ue73d {{ .Full }} ",
"type": "php" "type": "php"
}, },
{ {
"background": "p:bright-green", "background": "lightGreen",
"foreground": "p:dracula-black", "foreground": "black",
"powerline_symbol": "\ue0bc", "powerline_symbol": "\ue0bc",
"properties": { "properties": {
"fetch_version": true "fetch_version": true
@ -103,8 +103,8 @@
"type": "node" "type": "node"
}, },
{ {
"background": "p:bright-orange", "background": "yellow",
"foreground": "p:dracula-black", "foreground": "black",
"powerline_symbol": "\ue0bc", "powerline_symbol": "\ue0bc",
"properties": { "properties": {
"display_mode": "files", "display_mode": "files",
@ -115,8 +115,8 @@
"type": "azfunc" "type": "azfunc"
}, },
{ {
"background": "p:bright-red", "background": "red",
"foreground": "p:dracula-black", "foreground": "black",
"powerline_symbol": "\ue0bc", "powerline_symbol": "\ue0bc",
"properties": { "properties": {
"display_mode": "files", "display_mode": "files",
@ -127,16 +127,16 @@
"type": "ruby" "type": "ruby"
}, },
{ {
"background": "p:bright-yellow", "background": "lightYellow",
"foreground": "p:dracula-black", "foreground": "black",
"powerline_symbol": "\ue0bc", "powerline_symbol": "\ue0bc",
"style": "powerline", "style": "powerline",
"template": " \ufd31 {{.Context}}{{if .Namespace}} :: {{.Namespace}}{{end}} ", "template": " \ufd31 {{.Context}}{{if .Namespace}} :: {{.Namespace}}{{end}} ",
"type": "kubectl" "type": "kubectl"
}, },
{ {
"background": "p:yellow", "background": "lightYellow",
"foreground": "p:dracula-black", "foreground": "black",
"powerline_symbol": "\ue0bc", "powerline_symbol": "\ue0bc",
"properties": { "properties": {
"display_mode": "files", "display_mode": "files",
@ -148,10 +148,10 @@
}, },
{ {
"background_templates": [ "background_templates": [
"{{if contains \"default\" .Profile}}p:orange{{end}}", "{{if contains \"default\" .Profile}}yellow{{end}}",
"{{if contains \"jan\" .Profile}}p:pink{{end}}" "{{if contains \"jan\" .Profile}}magenta{{end}}"
], ],
"foreground": "p:dracula-black", "foreground": "black",
"powerline_symbol": "\ue0bc", "powerline_symbol": "\ue0bc",
"properties": { "properties": {
"display_default": false "display_default": false
@ -161,8 +161,8 @@
"type": "aws" "type": "aws"
}, },
{ {
"background": "p:orange", "background": "yellow",
"foreground": "p:dracula-black", "foreground": "black",
"powerline_symbol": "\ue0bc", "powerline_symbol": "\ue0bc",
"properties": { "properties": {
"time_format": "Mon | 15:04:05" "time_format": "Mon | 15:04:05"
@ -172,8 +172,8 @@
"type": "time" "type": "time"
}, },
{ {
"background": "p:cyan", "background": "cyan",
"foreground": "p:dracula-black", "foreground": "black",
"properties": { "properties": {
"style": "austin", "style": "austin",
"threshold": 0 "threshold": 0
@ -190,8 +190,8 @@
"alignment": "right", "alignment": "right",
"segments": [ "segments": [
{ {
"background": "p:pink", "background": "magenta",
"foreground": "p:dracula-black", "foreground": "black",
"leading_diamond": "\ue0b2", "leading_diamond": "\ue0b2",
"properties": { "properties": {
"branch_icon": "\ue725 ", "branch_icon": "\ue725 ",
@ -213,15 +213,15 @@
"newline": true, "newline": true,
"segments": [ "segments": [
{ {
"foreground": "p:cyan", "foreground": "cyan",
"style": "plain", "style": "plain",
"template": " \u255a", "template": " \u255a",
"type": "text" "type": "text"
}, },
{ {
"background": "p:purple", "background": "blue",
"background_templates": ["{{ if gt .Code 0 }}#FF5555{{ end }}"], "background_templates": ["{{ if gt .Code 0 }}red{{ end }}"],
"foreground": "p:dracula-black", "foreground": "black",
"leading_diamond": "\ue0b2", "leading_diamond": "\ue0b2",
"properties": { "properties": {
"always_enabled": true "always_enabled": true
@ -231,8 +231,8 @@
"type": "exit" "type": "exit"
}, },
{ {
"background": "p:purple", "background": "blue",
"foreground": "p:dracula-black", "foreground": "black",
"powerline_symbol": "\ue0bc", "powerline_symbol": "\ue0bc",
"properties": { "properties": {
"folder_icon": "\uf07b", "folder_icon": "\uf07b",
@ -242,75 +242,46 @@
"style": "agnoster_short" "style": "agnoster_short"
}, },
"style": "powerline", "style": "powerline",
"template": " \ue5ff {{ .Path }}{{ if .Root }} {{ else }}\u200b{{ end }}", "template": "{{ if gt .Code 0 }} {{ else }}{{ end }}\ue5ff {{ .Path }} ",
"type": "path" "type": "path"
}, },
{ {
"background": "p:purple", "background": "blue",
"background_templates": ["{{ if .Root }}p:red{{ end }}"], "background_templates": ["{{ if .Root }}red{{ end }}"],
"foreground": "p:dracula-white", "foreground": "white",
"properties": { "properties": {
"root_icon": "\uf292" "root_icon": "\uf292"
}, },
"style": "diamond", "style": "diamond",
"template": "{{ if .Root }} \uf0e7 {{ else }}\u200b{{ end }}", "template": "{{ if .Root }} \uf0e7 {{ else }}\u0008{{ end }}",
"trailing_diamond": "\ue0b0", "trailing_diamond": "\ue0b0",
"type": "text" "type": "text"
} }
], ],
"type": "prompt" "type": "prompt"
},
{
"alignment": "left",
"newline": true,
"segments": [
{
"foreground": "p:cyan",
"foreground_templates": ["{{ if gt .Code 0 }}#ef5350{{ end }}"],
"properties": {
"always_enabled": true
},
"style": "plain",
"template": " ",
"type": "exit"
}
],
"type": "prompt"
} }
], ],
"console_title_template": "{{ .Folder }}", "console_title_template": "{{ .Folder }}",
"osc99": true, "osc99": true,
"palette": { "palette": {
"black": "#1b1a23", "black": "#1B1A23",
"comment": "#7970a9", "blue": "#9580FF",
"cyan": "#80ffea", "black-background": "#22212C",
"bright-cyan": "#99ffee", "lightBlue-brightBlue": "#AA99FF",
"bright-green": "#a2ff99", "lightCyan-brightCyan": "#99FFEE",
"bright-orange": "#ffaa99", "lightGreen-brightGreen": "#A2FF99",
"bright-pink": "#ff99cc", "lightMagenta-brightPurple": "#FF99CC",
"bright-purple": "#ff99cc", "lightRed-brightRed": "#FFAA99",
"bright-red": "#ffaa99", "lightWhite-brightWhite": "#FFFFFF",
"bright-yellow": "#ffff99", "lightYellow-brightYellow": "#FFFF80",
"dracula-black": "#22212c", "selection-selectionBackground": "#454158",
"dracula-white": "#f8f8f2", "comment-brightBlack": "#7970A9",
"green": "#8aff80", "cyan": "#80FFEA",
"orange": "#ffca80", "green": "#8AFF80",
"pink": "#ff80bf", "magenta-purple": "#FF80BF",
"purple": "#9580ff", "red": "#FF9580",
"red": "#ff9580", "white-cursorColor-foreground": "#F8F8F2",
"selection": "#454158", "yellow": "#FFCA80"
"white": "#ffffff",
"yellow": "#ffff80"
},
"secondary_prompt": {
"background": "transparent",
"foreground": "p:dracula-white",
"template": "\ue285 "
},
"transient_prompt": {
"background": "transparent",
"foreground": "p:dracula-white",
"template": "\ue285{{ .Shell }}"
}, },
"version": 2 "version": 2
} }