color scheme and omp theme

This commit is contained in:
2025-05-02 12:17:14 +02:00
parent 963c1f7b2f
commit cea8c66bef
2 changed files with 203 additions and 131 deletions

View File

@@ -1,57 +1,3 @@
#[colors.bright]
#black = "#4c566a"
#blue = "#81a1c1"
#cyan = "#8fbcbb"
#green = "#a3be8c"
#magenta = "#b48ead"
#red = "#bf616a"
#white = "#eceff4"
#yellow = "#ebcb8b"
#[colors.cursor]
#cursor = "#d8dee9"
#text = "#2e3440"
#[colors.dim]
#black = "#373e4d"
#blue = "#68809a"
#cyan = "#6d96a5"
#green = "#809575"
#magenta = "#8c738c"
#red = "#94545d"
#white = "#aeb3bb"
#yellow = "#b29e75"
#
#[colors.normal]
#black = "#3b4252"
#blue = "#81a1c1"
#cyan = "#88c0d0"
#green = "#a3be8c"
#magenta = "#b48ead"
#red = "#bf616a"
#white = "#e5e9f0"
#yellow = "#ebcb8b"
#
#[colors.primary]
#background = "#2e3440"
#dim_foreground = "#a5abb6"
#foreground = "#d8dee9"
# [colors.search.bar]
# background = "#434c5e"
# foreground = "#d8dee9"
#[colors.search.matches]
#background = "#88c0d0"
#foreground = "CellBackground"
#[colors.selection]
#background = "#4c566a"
#text = "CellForeground"
#[colors.vi_mode_cursor]
#cursor = "#d8dee9"
#text = "#2e3440"
[font]
size = 16.0
@@ -79,67 +25,67 @@ startup_mode = "Maximized"
# Theme
[colors.primary]
background = "#303446"
foreground = "#c6d0f5"
dim_foreground = "#838ba7"
bright_foreground = "#c6d0f5"
background = "#1e1e2e"
foreground = "#cdd6f4"
dim_foreground = "#7f849c"
bright_foreground = "#cdd6f4"
[colors.cursor]
text = "#303446"
cursor = "#f2d5cf"
text = "#1e1e2e"
cursor = "#f5e0dc"
[colors.vi_mode_cursor]
text = "#303446"
cursor = "#babbf1"
text = "#1e1e2e"
cursor = "#b4befe"
[colors.search.matches]
foreground = "#303446"
background = "#a5adce"
foreground = "#1e1e2e"
background = "#a6adc8"
[colors.search.focused_match]
foreground = "#303446"
background = "#a6d189"
foreground = "#1e1e2e"
background = "#a6e3a1"
[colors.footer_bar]
foreground = "#303446"
background = "#a5adce"
foreground = "#1e1e2e"
background = "#a6adc8"
[colors.hints.start]
foreground = "#303446"
background = "#e5c890"
foreground = "#1e1e2e"
background = "#f9e2af"
[colors.hints.end]
foreground = "#303446"
background = "#a5adce"
foreground = "#1e1e2e"
background = "#a6adc8"
[colors.selection]
text = "#303446"
background = "#f2d5cf"
text = "#1e1e2e"
background = "#f5e0dc"
[colors.normal]
black = "#51576d"
red = "#e78284"
green = "#a6d189"
yellow = "#e5c890"
blue = "#8caaee"
magenta = "#f4b8e4"
cyan = "#81c8be"
white = "#b5bfe2"
black = "#45475a"
red = "#f38ba8"
green = "#a6e3a1"
yellow = "#f9e2af"
blue = "#89b4fa"
magenta = "#f5c2e7"
cyan = "#94e2d5"
white = "#bac2de"
[colors.bright]
black = "#626880"
red = "#e78284"
green = "#a6d189"
yellow = "#e5c890"
blue = "#8caaee"
magenta = "#f4b8e4"
cyan = "#81c8be"
white = "#a5adce"
black = "#585b70"
red = "#f38ba8"
green = "#a6e3a1"
yellow = "#f9e2af"
blue = "#89b4fa"
magenta = "#f5c2e7"
cyan = "#94e2d5"
white = "#a6adc8"
[[colors.indexed_colors]]
index = 16
color = "#ef9f76"
color = "#fab387"
[[colors.indexed_colors]]
index = 17
color = "#f2d5cf"
color = "#f5e0dc"

View File

@@ -1,45 +1,96 @@
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"palette": {
"os": "#ACB0BE",
"closer": "p:os",
"pink": "#F4B8E4",
"lavender": "#BABBF1",
"blue": "#8CAAEE"
"base": "#1E1E2E",
"blue": "#89B4FA",
"crust": "#11111B",
"docker": "p:sky",
"false": "p:red",
"flamingo": "#F2CDCD",
"git": "p:lavender",
"go": "p:mauve",
"green": "#A6E3A1",
"haskell": "p:mauve",
"julia": "p:mauve",
"lavender": "#B4BEFE",
"lua": "p:mauve",
"mantle": "#181825",
"maroon": "#EBA0AC",
"mauve": "#CBA6F7",
"os-bg": "p:overlay1",
"os-fg": "p:base",
"overlay0": "#6C7086",
"overlay1": "#7F849C",
"overlay2": "#9399B2",
"path": "p:yellow",
"peach": "#FAB387",
"pink": "#F5C2E7",
"python": "p:mauve",
"red": "#F38BA8",
"root-bg": "p:yellow",
"root-fg": "p:base",
"rosewater": "#F5E0DC",
"rust": "p:mauve",
"sapphire": "#74C7EC",
"sky": "#89DCEB",
"subtext0": "#A6ADC8",
"subtext1": "#BAC2DE",
"surface0": "#313244",
"surface1": "#45475A",
"surface2": "#585B70",
"teal": "#94E2D5",
"text": "#CDD6F4",
"time": "p:overlay1",
"true": "p:green",
"yellow": "#F9E2AF"
},
"transient_prompt": {
"template": "{{ now | date \"15:04:05\" }} {{ if gt .Code 0 }}<p:false></>{{ else }}<p:true></>{{ end }} ",
"foreground": "p:time"
},
"console_title_template": "{{ .Shell }} in {{ .PWD }}",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"foreground": "p:os",
"style": "plain",
"template": "{{.Icon}} ",
"type": "os"
},
{
"foreground": "p:blue",
"style": "plain",
"template": "{{ .UserName }}@{{ .HostName }} ",
"type": "session"
},
{
"foreground": "p:pink",
"properties": {
"folder_icon": "..\ue5fe..",
"cache_duration": "none",
"windows": "\ue70f"
},
"trailing_diamond": "\ue0b0",
"template": " {{ .Icon }} ",
"foreground": "p:os-fg",
"background": "p:os-bg",
"type": "os",
"style": "diamond",
"foreground_templates": [
"{{ if .Root }}p:root-fg{{ end }}"
],
"background_templates": [
"{{ if .Root }}p:root-bg{{ end }}"
]
},
{
"properties": {
"cache_duration": "none",
"folder_icon": "..",
"home_icon": "~",
"style": "agnoster_short"
},
"style": "plain",
"template": "{{ .Path }} ",
"type": "path"
"template": " {{ .Path }} ",
"foreground": "p:path",
"type": "path",
"style": "plain"
},
{
"foreground": "p:lavender",
"properties": {
"branch_icon": "\ue725 ",
"cache_duration": "none",
"cherry_pick_icon": "\ue29b ",
"commit_icon": "\uf417 ",
"fetch_stash_count": false,
"fetch_status": false,
"fetch_upstream_icon": false,
"merge_icon": "\ue727 ",
@@ -49,38 +100,113 @@
"tag_icon": "\uf412 "
},
"template": "{{ .HEAD }} ",
"style": "plain",
"type": "git"
"foreground": "p:git",
"type": "git",
"style": "plain"
},
{
"foreground": "p:pink",
"powerline_symbol": "\ue0b0",
"properties": {
"display_mode": "environment",
"fetch_virtual_env": true,
"home_enabled": true
"cache_duration": "none"
},
"template": "\uf308 {{ .Context }} ",
"foreground": "p:docker",
"type": "docker",
"style": "plain"
},
{
"properties": {
"cache_duration": "none"
},
"template": "\ue627 {{ if not .Error }}{{ .Full }}{{ end }} ",
"foreground": "p:go",
"type": "go",
"style": "plain"
},
{
"properties": {
"cache_duration": "none"
},
"template": "\ue61f {{ if not .Error }}{{ .Full }}{{ end }} ",
"foreground": "p:haskell",
"type": "haskell",
"style": "plain"
},
{
"properties": {
"cache_duration": "none"
},
"template": "\ue624 {{ if not .Error }}{{ .Full }}{{ end }} ",
"foreground": "p:julia",
"type": "julia",
"style": "plain"
},
{
"properties": {
"cache_duration": "none"
},
"template": "\ue620 {{ if not .Error }}{{ .Full }}{{ end }} ",
"foreground": "p:lua",
"type": "lua",
"style": "plain"
},
{
"properties": {
"cache_duration": "none",
"display_default": false,
"display_mode": "context"
},
"template": "\ue73c {{ if not .Error }}{{ if .Venv }}venv/{{ end }}{{ .Full }}{{ end }} ",
"foreground": "p:python",
"type": "python",
"style": "plain"
},
{
"properties": {
"cache_duration": "none"
},
"template": "\ue7a8 {{ if not .Error }}{{ .Full }}{{ end }} ",
"foreground": "p:rust",
"type": "rust",
"style": "plain"
},
{
"properties": {
"cache_duration": "none",
"style": "austin",
"threshold": 500
},
"template": "\udb81\udd1f {{ .FormattedMs }} ",
"foreground": "p:true",
"type": "executiontime",
"style": "plain",
"template": " \ue235 {{ if .Venv }}({{ .Venv }}){{ end }} ",
"type": "python"
"foreground_templates": [
"{{ if .Code }}p:false{{ end }}"
]
}
],
"type": "prompt"
"newline": true
},
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"properties": {
"always_enabled": true,
"cache_duration": "none"
},
"template": " ",
"foreground": "p:true",
"type": "status",
"style": "plain",
"foreground": "p:closer",
"template": "\uf105",
"type": "text"
"foreground_templates": [
"{{ if gt .Code 0 }}p:false{{ end }}"
]
}
],
"type": "prompt",
"newline": true
}
],
"final_space": true,
"version": 3
"version": 3,
"shell_integration": true
}