refactor: replace theme icons

This commit is contained in:
Jan De Dobbeleer 2020-10-16 17:12:34 +02:00 committed by Jan De Dobbeleer
parent 374dc74274
commit b6a70af568
26 changed files with 53 additions and 54 deletions

View file

@ -22,7 +22,7 @@ A really simple configuration could look like this.
"foreground": "#ffffff", "foreground": "#ffffff",
"background": "#61AFEF", "background": "#61AFEF",
"properties": { "properties": {
"prefix": " ", "prefix": " \uE5FF ",
"style": "folder" "style": "folder"
} }
} }
@ -236,7 +236,7 @@ override or transparent background color using the segement's [foreground][fg] p
"style": "diamond", "style": "diamond",
"foreground": "#ffffff", "foreground": "#ffffff",
"background": "#ffb300", "background": "#ffb300",
"leading_diamond": "", "leading_diamond": "\uE0B6",
"trailing_diamond": "\uE0B0", "trailing_diamond": "\uE0B0",
"properties": { "properties": {
"postfix": " " "postfix": " "
@ -249,7 +249,7 @@ override or transparent background color using the segement's [foreground][fg] p
"foreground": "#ffffff", "foreground": "#ffffff",
"background": "#61AFEF", "background": "#61AFEF",
"properties": { "properties": {
"prefix": " ", "prefix": " \uE5FF ",
"style": "folder", "style": "folder",
"ignore_folders": [ "ignore_folders": [
"/super/secret/project" "/super/secret/project"
@ -278,13 +278,13 @@ override or transparent background color using the segement's [foreground][fg] p
"foreground": "#ffffff", "foreground": "#ffffff",
"background": "#00897b", "background": "#00897b",
"leading_diamond": "", "leading_diamond": "",
"trailing_diamond": "", "trailing_diamond": "\uE0B4",
"properties": { "properties": {
"display_exit_code": false, "display_exit_code": false,
"always_enabled": true, "always_enabled": true,
"error_color": "#e91e63", "error_color": "#e91e63",
"color_background": true, "color_background": true,
"prefix": "<#193549>\uE0B0 </>" "prefix": "<#193549>\uE0B0 \uE23A</>"
} }
} }
] ]

View file

@ -17,13 +17,13 @@ Displays the last exit code or that the last command failed based on the configu
"foreground": "#ffffff", "foreground": "#ffffff",
"background": "#00897b", "background": "#00897b",
"leading_diamond": "", "leading_diamond": "",
"trailing_diamond": "", "trailing_diamond": "\uE0B4",
"properties": { "properties": {
"display_exit_code": false, "display_exit_code": false,
"always_enabled": true, "always_enabled": true,
"error_color": "#e91e63", "error_color": "#e91e63",
"color_background": true, "color_background": true,
"prefix": "<#193549>\uE0B0</> " "prefix": "<#193549>\uE0B0</> \uE23A"
} }
} }
``` ```

View file

@ -18,7 +18,7 @@ Display the currently active node version when a folder contains `.js` or `.ts`
"foreground": "#ffffff", "foreground": "#ffffff",
"background": "#6CA35E", "background": "#6CA35E",
"properties": { "properties": {
"prefix": " " "prefix": " \uE718 "
} }
} }
``` ```

View file

@ -17,7 +17,7 @@ Display OS specific info. Defaults to Icon.
"foreground": "#26C6DA", "foreground": "#26C6DA",
"background": "#546E7A", "background": "#546E7A",
"properties": { "properties": {
"postfix": " ", "postfix": " \uE0B1",
"macos": "mac" "macos": "mac"
} }
} }

View file

@ -19,7 +19,7 @@ Supports conda, virtualenv and pyenv.
"foreground": "#100e23", "foreground": "#100e23",
"background": "#906cff", "background": "#906cff",
"properties": { "properties": {
"prefix": " " "prefix": " \uE235 "
} }
} }
``` ```

View file

@ -16,7 +16,7 @@ Show the current user and host name.
"style": "diamond", "style": "diamond",
"foreground": "#ffffff", "foreground": "#ffffff",
"background": "#c386f1", "background": "#c386f1",
"leading_diamond": "", "leading_diamond": "\uE0B6",
"trailing_diamond": "\uE0B0" "trailing_diamond": "\uE0B0"
} }
``` ```

View file

@ -17,7 +17,7 @@ Display text.
"foreground": "#E06C75", "foreground": "#E06C75",
"properties": { "properties": {
"prefix": "", "prefix": "",
"text": " " "text": " \u276F"
} }
} }
``` ```

View file

@ -38,7 +38,7 @@ func TestParseTestSettings(t *testing.T) {
"foreground": "#ffffff", "foreground": "#ffffff",
"background": "#61AFEF", "background": "#61AFEF",
"properties": { "properties": {
"prefix": " ", "prefix": " \uE5FF ",
"style": "folder", "style": "folder",
"ignore_folders": [ "ignore_folders": [
"go-my-psh" "go-my-psh"

View file

@ -45,7 +45,7 @@
"foreground": "#100e23", "foreground": "#100e23",
"background": "#906cff", "background": "#906cff",
"properties": { "properties": {
"prefix": " " "prefix": " \uE235 "
} }
}, },
{ {

View file

@ -9,7 +9,7 @@
"style": "diamond", "style": "diamond",
"foreground": "#ffffff", "foreground": "#ffffff",
"background": "#61AFEF", "background": "#61AFEF",
"leading_diamond": "", "leading_diamond": "\uE0B6",
"trailing_diamond": "\uE0B0" "trailing_diamond": "\uE0B0"
}, },
{ {
@ -35,7 +35,7 @@
"foreground": "#ffffff", "foreground": "#ffffff",
"background": "#FF6471", "background": "#FF6471",
"leading_diamond": "", "leading_diamond": "",
"trailing_diamond": "", "trailing_diamond": "\uE0B4",
"properties": { "properties": {
"prefix": "<transparent>\uE0B0 </>" "prefix": "<transparent>\uE0B0 </>"
} }

View file

@ -46,7 +46,7 @@
"foreground": "#007ACC", "foreground": "#007ACC",
"properties": { "properties": {
"prefix": "", "prefix": "",
"text": "" "text": "\uE602"
} }
} }
] ]

View file

@ -33,7 +33,6 @@
"style": "plain", "style": "plain",
"foreground": "#F3C267", "foreground": "#F3C267",
"properties": { "properties": {
"branch_icon": "\u1F6A6 ",
"display_status": true, "display_status": true,
"branch_identical_icon": "\uF14A", "branch_identical_icon": "\uF14A",
"branch_gone_icon": "\u274E" "branch_gone_icon": "\u274E"
@ -53,7 +52,7 @@
"foreground": "#E06C75", "foreground": "#E06C75",
"properties": { "properties": {
"prefix": "", "prefix": "",
"text": " " "text": " \u276F"
} }
} }
] ]

View file

@ -29,7 +29,7 @@
"background": "#007ACC", "background": "#007ACC",
"properties" : { "properties" : {
"folder_icon": "\uF115", "folder_icon": "\uF115",
"folder_separator_icon": "", "folder_separator_icon": "\uE0B1",
"style": "short", "style": "short",
"prefix": "<transparent>\uE0B0</> ", "prefix": "<transparent>\uE0B0</> ",
"postfix": " " "postfix": " "
@ -41,7 +41,7 @@
"foreground": "#ffffff", "foreground": "#ffffff",
"background": "#007ACC", "background": "#007ACC",
"properties": { "properties": {
"prefix": "<#ffffff></> ", "prefix": "<#ffffff>\uE0B1</> ",
"postfix": " " "postfix": " "
} }
}, },

View file

@ -21,7 +21,7 @@
"foreground": "#0973C0", "foreground": "#0973C0",
"properties": { "properties": {
"folder_icon": "\uF115", "folder_icon": "\uF115",
"folder_separator_icon": "", "folder_separator_icon": "\uE0B1",
"style": "short" "style": "short"
} }
}, },
@ -70,7 +70,7 @@
"style": "plain", "style": "plain",
"foreground": "#100e23", "foreground": "#100e23",
"properties": { "properties": {
"prefix": " " "prefix": " \uE235 "
} }
}, },
{ {
@ -84,7 +84,7 @@
"foreground": "#CC4B16", "foreground": "#CC4B16",
"properties": { "properties": {
"prefix": "", "prefix": "",
"text": "" "text": "\u279C"
} }
} }
] ]

View file

@ -9,7 +9,7 @@
"style": "diamond", "style": "diamond",
"foreground": "#ffffff", "foreground": "#ffffff",
"background": "#c386f1", "background": "#c386f1",
"leading_diamond": "", "leading_diamond": "\uE0B6",
"trailing_diamond": "\uE0B0" "trailing_diamond": "\uE0B0"
}, },
{ {
@ -19,7 +19,7 @@
"foreground": "#ffffff", "foreground": "#ffffff",
"background": "#1BD760", "background": "#1BD760",
"properties": { "properties": {
"prefix": " " "prefix": " \uF9C6 "
} }
}, },
{ {
@ -29,7 +29,7 @@
"foreground": "#ffffff", "foreground": "#ffffff",
"background": "#ff479c", "background": "#ff479c",
"properties": { "properties": {
"prefix": " ", "prefix": " \uE5FF ",
"style": "folder" "style": "folder"
} }
}, },
@ -66,7 +66,7 @@
"foreground": "#ffffff", "foreground": "#ffffff",
"background": "#6CA35E", "background": "#6CA35E",
"properties": { "properties": {
"prefix": " " "prefix": " \uE718 "
} }
}, },
{ {
@ -92,13 +92,13 @@
"foreground": "#ffffff", "foreground": "#ffffff",
"background": "#2e9599", "background": "#2e9599",
"leading_diamond": "", "leading_diamond": "",
"trailing_diamond": "", "trailing_diamond": "\uE0B4",
"properties": { "properties": {
"display_exit_code": false, "display_exit_code": false,
"always_enabled": true, "always_enabled": true,
"error_color": "#f1184c", "error_color": "#f1184c",
"color_background": true, "color_background": true,
"prefix": "<transparent>\uE0B0</> " "prefix": "<transparent>\uE0B0</> \uE23A"
} }
} }
] ]

View file

@ -10,7 +10,7 @@
"foreground": "#F5F5F5", "foreground": "#F5F5F5",
"properties": { "properties": {
"prefix": "", "prefix": "",
"text": "" "text": "\uFB26"
} }
}, },
{ {

View file

@ -10,7 +10,7 @@
"foreground": "#ffffff", "foreground": "#ffffff",
"properties": { "properties": {
"prefix": "", "prefix": "",
"text": "<#C591E8>❭</><#69FF94>❭</>" "text": "<#C591E8>\u276F</><#69FF94>\u276F</>"
} }
}, },
{ {
@ -37,7 +37,7 @@
"style": "plain", "style": "plain",
"foreground": "#DCB977", "foreground": "#DCB977",
"properties": { "properties": {
"prefix": "", "prefix": "\uD00D",
"display_exit_code": false "display_exit_code": false
} }
}, },

View file

@ -26,7 +26,7 @@
"background": "#91ddff", "background": "#91ddff",
"properties": { "properties": {
"folder_icon": "\uF115", "folder_icon": "\uF115",
"folder_separator_icon": "", "folder_separator_icon": "\uE0B1",
"style": "short" "style": "short"
} }
}, },
@ -44,7 +44,7 @@
"foreground": "#100e23", "foreground": "#100e23",
"background": "#906cff", "background": "#906cff",
"properties": { "properties": {
"prefix": " " "prefix": " \uE235 "
} }
}, },
{ {
@ -72,7 +72,7 @@
"foreground": "#007ACC", "foreground": "#007ACC",
"properties": { "properties": {
"prefix": "", "prefix": "",
"text": "" "text": "\u276F"
} }
} }
] ]

View file

@ -10,7 +10,7 @@
"foreground": "#ffffff", "foreground": "#ffffff",
"properties": { "properties": {
"prefix": "", "prefix": "",
"text": "<#C591E8>❭</><#69FF94>❭</>" "text": "<#C591E8>\u276F</><#69FF94>\u276F</>"
} }
}, },
{ {
@ -37,7 +37,7 @@
"style": "plain", "style": "plain",
"foreground": "#DCB977", "foreground": "#DCB977",
"properties": { "properties": {
"prefix": "", "prefix": "\uD00D",
"display_exit_code": false "display_exit_code": false
} }
} }
@ -71,7 +71,7 @@
"foreground": "#ffffff", "foreground": "#ffffff",
"properties": { "properties": {
"prefix": "", "prefix": "",
"text": "" "text": "\uF441"
} }
} }
] ]

View file

@ -10,7 +10,7 @@
"foreground": "#26C6DA", "foreground": "#26C6DA",
"background": "#546E7A", "background": "#546E7A",
"properties": { "properties": {
"postfix": " " "postfix": " \uE0B1"
} }
}, },
{ {
@ -35,7 +35,7 @@
"foreground": "#D4E157", "foreground": "#D4E157",
"background": "#546E7A", "background": "#546E7A",
"properties": { "properties": {
"prefix": "<#26C6DA> </>" "prefix": "<#26C6DA>\uE0B1 </>"
} }
}, },
{ {
@ -60,9 +60,9 @@
"style": "diamond", "style": "diamond",
"foreground": "#D4E157", "foreground": "#D4E157",
"background": "#546E7A", "background": "#546E7A",
"leading_diamond": "", "leading_diamond": "\uE0B2",
"properties": { "properties": {
"postfix": " <#26C6DA></> " "postfix": " <#26C6DA>\uE0B3</> "
} }
}, },
{ {
@ -72,7 +72,7 @@
"background": "#546E7A", "background": "#546E7A",
"properties": { "properties": {
"time_format": "15:04:05", "time_format": "15:04:05",
"postfix": " " "postfix": " \uF017 "
} }
} }
] ]
@ -89,7 +89,7 @@
"style": "plain", "style": "plain",
"foreground": "#D4E157", "foreground": "#D4E157",
"properties": { "properties": {
"prefix": "", "prefix": "\u276F",
"always_enabled": true, "always_enabled": true,
"error_color": "#FF5252", "error_color": "#FF5252",
"display_exit_code": false "display_exit_code": false

View file

@ -45,7 +45,7 @@
"foreground": "#43D426", "foreground": "#43D426",
"properties": { "properties": {
"prefix": "", "prefix": "",
"text": "" "text": "\u276F"
} }
} }
] ]

View file

@ -38,7 +38,7 @@
"foreground": "#100e23", "foreground": "#100e23",
"background": "#906cff", "background": "#906cff",
"properties": { "properties": {
"prefix": " " "prefix": " \uE235 "
} }
}, },
{ {

View file

@ -10,7 +10,7 @@
"foreground": "#98C379", "foreground": "#98C379",
"properties": { "properties": {
"prefix": "", "prefix": "",
"text": "", "text": "\u279C",
"postfix": "" "postfix": ""
} }
}, },
@ -38,7 +38,7 @@
"style": "plain", "style": "plain",
"foreground": "#DCB977", "foreground": "#DCB977",
"properties": { "properties": {
"prefix": "", "prefix": "\uD00D",
"display_exit_code": false "display_exit_code": false
} }
} }

View file

@ -40,7 +40,7 @@
"style": "plain", "style": "plain",
"foreground": "#100e23", "foreground": "#100e23",
"properties": { "properties": {
"prefix": " " "prefix": " \uE235 "
} }
}, },
{ {
@ -49,7 +49,7 @@
"foreground": "#ffffff", "foreground": "#ffffff",
"properties": { "properties": {
"prefix": "", "prefix": "",
"text": "<#CB4B16>❭</><#CACA02>❭</><#4E9A06>❭</>" "text": "<#CB4B16>\u276F</><#CACA02>\u276F</><#4E9A06>\u276F</>"
} }
} }
] ]

View file

@ -65,7 +65,7 @@
"foreground": "#63F08C", "foreground": "#63F08C",
"properties": { "properties": {
"prefix": "", "prefix": "",
"text": "" "text": "\u279C"
} }
} }
] ]

View file

@ -19,7 +19,7 @@
"style": "plain", "style": "plain",
"foreground": "#62ED8B", "foreground": "#62ED8B",
"properties": { "properties": {
"text": "", "text": "\u279C",
"postfix": "", "postfix": "",
"prefix": "" "prefix": ""
} }
@ -49,7 +49,7 @@
"style": "plain", "style": "plain",
"foreground": "#DCB977", "foreground": "#DCB977",
"properties": { "properties": {
"prefix": "", "prefix": "\uD00D",
"display_exit_code": false, "display_exit_code": false,
"postfix": "" "postfix": ""
} }