theme: add amro

This commit is contained in:
AmRo 2021-10-05 19:06:43 +03:30 committed by GitHub
parent 1cff56a709
commit 356dda306c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 68 additions and 0 deletions

View file

@ -21,6 +21,7 @@ function newThemeConfig(rpromptOffset = 40, cursorPadding = 30, author = "", bgC
let themeConfigOverrrides = new Map(); let themeConfigOverrrides = new Map();
themeConfigOverrrides.set('agnoster.omp.json', newThemeConfig(40, 40)); themeConfigOverrrides.set('agnoster.omp.json', newThemeConfig(40, 40));
themeConfigOverrrides.set('agnosterplus.omp.json', newThemeConfig(80)); themeConfigOverrrides.set('agnosterplus.omp.json', newThemeConfig(80));
themeConfigOverrrides.set('amro.omp.json', newThemeConfig(40, 100, 'AmRo', '#1C2029'));
themeConfigOverrrides.set('avit.omp.json', newThemeConfig(40, 80)); themeConfigOverrrides.set('avit.omp.json', newThemeConfig(40, 80));
themeConfigOverrrides.set('blueish.omp.json', newThemeConfig(40, 100)); themeConfigOverrrides.set('blueish.omp.json', newThemeConfig(40, 100));
themeConfigOverrrides.set('cert.omp.json', newThemeConfig(40, 50)); themeConfigOverrrides.set('cert.omp.json', newThemeConfig(40, 50));

67
themes/amro.omp.json Normal file
View file

@ -0,0 +1,67 @@
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"type": "session",
"style": "plain",
"foreground": "#45F1C2",
"properties": {
"display_host": false,
"prefix": "\uf508 ",
"postfix": " on"
}
},
{
"type": "path",
"style": "plain",
"foreground": "#0CA0D8",
"properties": {
"style": "full",
"prefix": " \uf07b ",
"folder_separator_icon": "/"
}
},
{
"type": "git",
"style": "plain",
"powerline_symbol": "\uE0B0",
"foreground": "#14A5AE",
"properties": {
"display_stash_count": true,
"display_upstream_icon": true,
"prefix": ""
}
}
]
},
{
"type": "prompt",
"alignment": "left",
"newline": true,
"segments": [
{
"type": "root",
"style": "plain",
"foreground": "#cd5e42",
"properties": {
"prefix": "",
"root_icon": "\ue3bf"
}
},
{
"type": "text",
"style": "plain",
"foreground": "#CD4277",
"properties": {
"prefix": "",
"text": "\u0023"
}
}
]
}
]
}