mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-03-05 20:49:04 -08:00
theme: add craver theme
This adds a new theme to the gallery, taking advantage of the new background color option in the renderer. Co-authored-by: Jan De Dobbeleer <2492783+JanDeDobbeleer@users.noreply.github.com>
This commit is contained in:
parent
f412ef6644
commit
c7fa4f3e71
|
@ -25,6 +25,7 @@ themeConfigOverrrides.set('avit.omp.json', newThemeConfig(40, 80));
|
|||
themeConfigOverrrides.set('blueish.omp.json', newThemeConfig(40, 100));
|
||||
themeConfigOverrrides.set('cert.omp.json', newThemeConfig(40, 50));
|
||||
themeConfigOverrrides.set('cinnamon.omp.json', newThemeConfig(40, 80));
|
||||
themeConfigOverrrides.set('craver.omp.json', newThemeConfig(40, 80, 'Nick Craver', '#282c34'));
|
||||
themeConfigOverrrides.set('darkblood.omp.json', newThemeConfig(40, 40));
|
||||
themeConfigOverrrides.set('honukai.omp.json', newThemeConfig(20));
|
||||
themeConfigOverrrides.set('hotstick.minimal.omp.json', newThemeConfig(40, 10));
|
||||
|
|
123
themes/craver.omp.json
Normal file
123
themes/craver.omp.json
Normal file
|
@ -0,0 +1,123 @@
|
|||
{
|
||||
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
||||
"console_title": true,
|
||||
"console_title_style": "template",
|
||||
"console_title_template": "{{if .Root}}(Admin) {{end}}{{.Folder}}",
|
||||
"blocks": [
|
||||
{
|
||||
"type": "prompt",
|
||||
"alignment": "left",
|
||||
"segments": [
|
||||
{
|
||||
"type": "root",
|
||||
"style": "powerline",
|
||||
"powerline_symbol": "\uE0C4",
|
||||
"foreground": "#242424",
|
||||
"background": "#f1184c",
|
||||
"properties": {
|
||||
"prefix": "",
|
||||
"postfix": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "os",
|
||||
"style": "diamond",
|
||||
"leading_diamond": " ",
|
||||
"powerline_symbol": "",
|
||||
"foreground": "#3A86FF",
|
||||
"background": "#282c34",
|
||||
"properties": {
|
||||
"prefix": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "time",
|
||||
"style": "powerline",
|
||||
"powerline_symbol": "\uE0C4",
|
||||
"foreground": "#FFBB00",
|
||||
"background": "#242424",
|
||||
"properties": {
|
||||
"time_format": "15:04:05",
|
||||
"prefix": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "path",
|
||||
"style": "powerline",
|
||||
"powerline_symbol": "\uE0B0",
|
||||
"foreground": "#33DD2D",
|
||||
"background": "#242424",
|
||||
"properties": {
|
||||
"prefix": "\uE5FF ",
|
||||
"style": "folder",
|
||||
"folder_separator_icon": "/"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "git",
|
||||
"style": "powerline",
|
||||
"powerline_symbol": "\uE0B0",
|
||||
"foreground": "#3A86FF",
|
||||
"background": "#242424",
|
||||
"properties": {
|
||||
"display_status": true,
|
||||
"display_stash_count": true,
|
||||
"display_upstream_icon": true,
|
||||
"prefix": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "dotnet",
|
||||
"style": "powerline",
|
||||
"powerline_symbol": "\uE0C4",
|
||||
"foreground": "#ffffff",
|
||||
"background": "#0184bc",
|
||||
"properties": {
|
||||
"prefix": " "
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "executiontime",
|
||||
"style": "powerline",
|
||||
"powerline_symbol": "\uE0C4",
|
||||
"foreground": "#ffffff",
|
||||
"background": "#8800dd",
|
||||
"properties": {
|
||||
"threshold": 1,
|
||||
"style": "austin",
|
||||
"prefix": " <#fefefe>\ufbab</> "
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "exit",
|
||||
"style": "powerline",
|
||||
"powerline_symbol": "\uE0B4",
|
||||
"foreground": "#242424",
|
||||
"background": "#33DD2D",
|
||||
"properties": {
|
||||
"display_exit_code": false,
|
||||
"color_background": true,
|
||||
"error_color": "#f1184c",
|
||||
"prefix": " \ufc8d"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "prompt",
|
||||
"alignment": "left",
|
||||
"newline": true,
|
||||
"segments": [
|
||||
{
|
||||
"type": "text",
|
||||
"style": "plain",
|
||||
"foreground": "#f1184c",
|
||||
"properties": {
|
||||
"prefix": "",
|
||||
"text": "\u279C"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in a new issue