Skip to content

Instantly share code, notes, and snippets.

@bkataru
Last active March 17, 2025 20:15
Show Gist options
  • Select an option

  • Save bkataru/a546a5c9076f582ef59ef7bb72801f53 to your computer and use it in GitHub Desktop.

Select an option

Save bkataru/a546a5c9076f582ef59ef7bb72801f53 to your computer and use it in GitHub Desktop.
a Tron Legacy inspired color scheme for Windows Terminal and Oh My Posh
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"newline": true,
"segments": [
{
"foreground": "#00ff00",
"style": "plain",
"template": " \uf0e7 ",
"type": "root"
},
{
"background": "p:bg",
"foreground": "#00ccff",
"properties": {
"mixed_threshold": 6,
"style": "folder"
},
"style": "plain",
"template": "<transparent,p:bg>\ue0b0</> \uf07c {{ .Path }} ",
"type": "path"
},
{
"background": "p:bg",
"foreground": "#9efe60",
"properties": {
"branch_icon": "\ue725 ",
"fetch_stash_count": true,
"fetch_status": true,
"fetch_upstream_icon": false
},
"style": "plain",
"template": "<p:separator-fg>\ue0b1 </>{{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} ",
"type": "git"
},
{
"foreground": "p:bg",
"style": "plain",
"template": "\ue0b0 ",
"type": "text"
}
],
"type": "prompt"
},
{
"segments": [
{
"background": "p:bg",
"foreground": "#9efe60",
"invert_powerline": true,
"powerline_symbol": "\ue0b2",
"properties": {
"fetch_version": true
},
"style": "powerline",
"template": " \uf898 {{ .Full }} <p:separator-fg>\ue0b3</>",
"type": "node"
},
{
"background": "p:bg",
"foreground": "#ffe64d",
"invert_powerline": true,
"powerline_symbol": "\ue0b2",
"properties": {
"display_mode": "files",
"fetch_virtual_env": false
},
"style": "powerline",
"template": " \ue235 {{ .Full }} <p:separator-fg>\ue0b3</>",
"type": "python"
},
{
"background": "p:bg",
"background_templates": [
"{{ if gt .Code 0 }}#f58c4b{{ end }}"
],
"foreground_templates": [
"{{ if gt .Code 0 }}#ffffff{{ else }}#00ff00{{ end }}"
],
"invert_powerline": true,
"powerline_symbol": "\ue0b2",
"properties": {
"always_enabled": true
},
"style": "powerline",
"template": " {{ if gt .Code 0 }}\uf071{{ else }}\uf00c{{ end }} ",
"type": "exit"
}
],
"type": "rprompt"
}
],
"palette": {
"bg": "#152730",
"separator-fg": "#52758C"
},
"version": 2
}
{
"name": "Tron Legacy",
"black": "#0c141f",
"red": "#f58c4b",
"green": "#00ff00",
"yellow": "#ffe64d",
"blue": "#6f15cb",
"purple": "#cb15c9",
"cyan": "#6fc3df",
"white": "#e6ffff",
"brightBlack": "#29404e",
"brightRed": "#df740c",
"brightGreen": "#9efe60",
"brightYellow": "#ffff00",
"brightBlue": "#7e5edc",
"brightPurple": "#b75edc",
"brightCyan": "#a5e4f3",
"brightWhite": "#e6ffff",
"background": "#0a0e14",
"foreground": "#a5e4f3",
"selectionBackground": "#2d505f",
"cursorColor": "#00ff00"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment