From f60b1715bdfd1f3472d4b543147ccd8cfcae55ae Mon Sep 17 00:00:00 2001 From: Maksym Sevriukov Date: Wed, 5 Oct 2022 13:59:53 +0300 Subject: [PATCH] theme: add catppucin --- themes/catppuccin.omp.json | 81 ++++++++++++++++++++++++++++ themes/catppuccin_frappe.omp.json | 73 +++++++++++++++++++++++++ themes/catppuccin_latte.omp.json | 73 +++++++++++++++++++++++++ themes/catppuccin_macchiato.omp.json | 73 +++++++++++++++++++++++++ themes/catppuccin_mocha.omp.json | 73 +++++++++++++++++++++++++ website/export_themes.js | 5 ++ 6 files changed, 378 insertions(+) create mode 100644 themes/catppuccin.omp.json create mode 100644 themes/catppuccin_frappe.omp.json create mode 100644 themes/catppuccin_latte.omp.json create mode 100644 themes/catppuccin_macchiato.omp.json create mode 100644 themes/catppuccin_mocha.omp.json diff --git a/themes/catppuccin.omp.json b/themes/catppuccin.omp.json new file mode 100644 index 00000000..f8db24be --- /dev/null +++ b/themes/catppuccin.omp.json @@ -0,0 +1,81 @@ +{ + "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", + "blocks": [ + { + "alignment": "left", + "segments": [ + { + "background": "#8AADF4", + "foreground": "#ffffff", + "powerline_symbol": "\ue0b4", + "leading_diamond": "\ue0b6", + "properties": { + "style": "full", + "alpine": "\uf300", + "arch": "\uf303", + "centos": "\uf304", + "debian": "\uf306", + "elementary": "\uf309", + "fedora": "\uf30a", + "gentoo": "\uf30d", + "linux": "\ue712", + "macos": "\ue711", + "manjaro": "\uf312", + "mint": "\uf30f", + "opensuse": "\uf314", + "raspbian": "\uf315", + "ubuntu": "\uebc9", + "windows": "\ue70f" + }, + "style": "diamond", + "template": "{{.Icon}} ", + "type": "os" + }, + { + "background": "#8AADF4", + "foreground": "#494D64", + "powerline_symbol": "\ue0b4", + "style": "diamond", + "template": "{{ .UserName }}@{{ .HostName }}", + "type": "session" + }, + { + "background": "#F5BDE6", + "foreground": "#494D64", + "properties": { + "folder_icon": "<#494D64>..\ue5fe..", + "home_icon": "~", + "style": "agnoster_short" + }, + "powerline_symbol": "\ue0b4", + "style": "powerline", + "template": " {{ .Path }}", + "type": "path" + }, + { + "background": "#B7BDF8", + "foreground": "#494D64", + "style": "powerline", + "properties": { + "branch_icon": "\ue725 ", + "cherry_pick_icon": "\ue29b ", + "commit_icon": "\uf417 ", + "fetch_status": false, + "fetch_upstream_icon": false, + "merge_icon": "\ue727 ", + "no_commits_icon": "\uf594 ", + "rebase_icon": "\ue728 ", + "revert_icon": "\uf0e2 ", + "tag_icon": "\uf412 " + }, + "powerline_symbol": "\ue0b4", + "template": " {{ .HEAD }}", + "type": "git" + } + ], + "type": "prompt" + } + ], + "final_space": true, + "version": 2 +} \ No newline at end of file diff --git a/themes/catppuccin_frappe.omp.json b/themes/catppuccin_frappe.omp.json new file mode 100644 index 00000000..3970aa21 --- /dev/null +++ b/themes/catppuccin_frappe.omp.json @@ -0,0 +1,73 @@ +{ + "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", + "blocks": [ + { + "alignment": "left", + "segments": [ + { + "foreground": "#ACB0BE", + "properties": { + "style": "full", + "alpine": "\uf300", + "arch": "\uf303", + "centos": "\uf304", + "debian": "\uf306", + "elementary": "\uf309", + "fedora": "\uf30a", + "gentoo": "\uf30d", + "linux": "\ue712", + "macos": "\ue711", + "manjaro": "\uf312", + "mint": "\uf30f", + "opensuse": "\uf314", + "raspbian": "\uf315", + "ubuntu": "\uebc9", + "windows": "\ue70f" + }, + "style": "plain", + "template": "{{.Icon}} ", + "type": "os" + }, + { + "foreground": "#8CAAEE", + "style": "plain", + "template": "{{ .UserName }}@{{ .HostName }} ", + "type": "session" + }, + { + "foreground": "#F4B8E4", + "properties": { + "folder_icon": "<#F4B8E4>..\ue5fe..", + "home_icon": "~", + "style": "agnoster_short" + }, + "style": "plain", + "template": "{{ .Path }} ", + "type": "path" + }, + { + "foreground": "#BABBF1", + "properties": { + "branch_icon": "\ue725 ", + "cherry_pick_icon": "\ue29b ", + "commit_icon": "\uf417 ", + "fetch_status": false, + "fetch_upstream_icon": false, + "merge_icon": "\ue727 ", + "no_commits_icon": "\uf594 ", + "rebase_icon": "\ue728 ", + "revert_icon": "\uf0e2 ", + "tag_icon": "\uf412 " + }, + "template": "{{ .HEAD }} ", + "style": "diamond", + "trailing_diamond": "<#ACB0BE>\uf105", + "type": "git" + } + ], + "type": "prompt" + } + ], + "final_space": true, + "version": 2 +} \ No newline at end of file diff --git a/themes/catppuccin_latte.omp.json b/themes/catppuccin_latte.omp.json new file mode 100644 index 00000000..95f1e1ec --- /dev/null +++ b/themes/catppuccin_latte.omp.json @@ -0,0 +1,73 @@ +{ + "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", + "blocks": [ + { + "alignment": "left", + "segments": [ + { + "foreground": "#ACB0BE", + "properties": { + "style": "full", + "alpine": "\uf300", + "arch": "\uf303", + "centos": "\uf304", + "debian": "\uf306", + "elementary": "\uf309", + "fedora": "\uf30a", + "gentoo": "\uf30d", + "linux": "\ue712", + "macos": "\ue711", + "manjaro": "\uf312", + "mint": "\uf30f", + "opensuse": "\uf314", + "raspbian": "\uf315", + "ubuntu": "\uebc9", + "windows": "\ue70f" + }, + "style": "plain", + "template": "{{.Icon}} ", + "type": "os" + }, + { + "foreground": "#1e66f5", + "style": "plain", + "template": "{{ .UserName }}@{{ .HostName }} ", + "type": "session" + }, + { + "foreground": "#ea76cb", + "properties": { + "folder_icon": "<#ea76cb>..\ue5fe..", + "home_icon": "~", + "style": "agnoster_short" + }, + "style": "plain", + "template": "{{ .Path }} ", + "type": "path" + }, + { + "foreground": "#7287FD", + "properties": { + "branch_icon": "\ue725 ", + "cherry_pick_icon": "\ue29b ", + "commit_icon": "\uf417 ", + "fetch_status": false, + "fetch_upstream_icon": false, + "merge_icon": "\ue727 ", + "no_commits_icon": "\uf594 ", + "rebase_icon": "\ue728 ", + "revert_icon": "\uf0e2 ", + "tag_icon": "\uf412 " + }, + "template": "{{ .HEAD }} ", + "style": "diamond", + "trailing_diamond": "<#ACB0BE>\uf105", + "type": "git" + } + ], + "type": "prompt" + } + ], + "final_space": true, + "version": 2 +} \ No newline at end of file diff --git a/themes/catppuccin_macchiato.omp.json b/themes/catppuccin_macchiato.omp.json new file mode 100644 index 00000000..bacc54fd --- /dev/null +++ b/themes/catppuccin_macchiato.omp.json @@ -0,0 +1,73 @@ +{ + "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", + "blocks": [ + { + "alignment": "left", + "segments": [ + { + "foreground": "#ACB0BE", + "properties": { + "style": "full", + "alpine": "\uf300", + "arch": "\uf303", + "centos": "\uf304", + "debian": "\uf306", + "elementary": "\uf309", + "fedora": "\uf30a", + "gentoo": "\uf30d", + "linux": "\ue712", + "macos": "\ue711", + "manjaro": "\uf312", + "mint": "\uf30f", + "opensuse": "\uf314", + "raspbian": "\uf315", + "ubuntu": "\uebc9", + "windows": "\ue70f" + }, + "style": "plain", + "template": "{{.Icon}} ", + "type": "os" + }, + { + "foreground": "#8AADF4", + "style": "plain", + "template": "{{ .UserName }}@{{ .HostName }} ", + "type": "session" + }, + { + "foreground": "#F5BDE6", + "properties": { + "folder_icon": "<#F5BDE6>..\ue5fe..", + "home_icon": "~", + "style": "agnoster_short" + }, + "style": "plain", + "template": "{{ .Path }} ", + "type": "path" + }, + { + "foreground": "#B7BDF8", + "properties": { + "branch_icon": "\ue725 ", + "cherry_pick_icon": "\ue29b ", + "commit_icon": "\uf417 ", + "fetch_status": false, + "fetch_upstream_icon": false, + "merge_icon": "\ue727 ", + "no_commits_icon": "\uf594 ", + "rebase_icon": "\ue728 ", + "revert_icon": "\uf0e2 ", + "tag_icon": "\uf412 " + }, + "template": "{{ .HEAD }} ", + "style": "diamond", + "trailing_diamond": "<#ACB0BE>\uf105", + "type": "git" + } + ], + "type": "prompt" + } + ], + "final_space": true, + "version": 2 +} \ No newline at end of file diff --git a/themes/catppuccin_mocha.omp.json b/themes/catppuccin_mocha.omp.json new file mode 100644 index 00000000..c1e43e6a --- /dev/null +++ b/themes/catppuccin_mocha.omp.json @@ -0,0 +1,73 @@ +{ + "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", + "blocks": [ + { + "alignment": "left", + "segments": [ + { + "foreground": "#ACB0BE", + "properties": { + "style": "full", + "alpine": "\uf300", + "arch": "\uf303", + "centos": "\uf304", + "debian": "\uf306", + "elementary": "\uf309", + "fedora": "\uf30a", + "gentoo": "\uf30d", + "linux": "\ue712", + "macos": "\ue711", + "manjaro": "\uf312", + "mint": "\uf30f", + "opensuse": "\uf314", + "raspbian": "\uf315", + "ubuntu": "\uebc9", + "windows": "\ue70f" + }, + "style": "plain", + "template": "{{.Icon}} ", + "type": "os" + }, + { + "foreground": "#89B4FA", + "style": "plain", + "template": "{{ .UserName }}@{{ .HostName }} ", + "type": "session" + }, + { + "foreground": "#F5C2E7", + "properties": { + "folder_icon": "<#F5C2E7>..\ue5fe..", + "home_icon": "~", + "style": "agnoster_short" + }, + "style": "plain", + "template": "{{ .Path }} ", + "type": "path" + }, + { + "foreground": "#B4BEFE", + "properties": { + "branch_icon": "\ue725 ", + "cherry_pick_icon": "\ue29b ", + "commit_icon": "\uf417 ", + "fetch_status": false, + "fetch_upstream_icon": false, + "merge_icon": "\ue727 ", + "no_commits_icon": "\uf594 ", + "rebase_icon": "\ue728 ", + "revert_icon": "\uf0e2 ", + "tag_icon": "\uf412 " + }, + "template": "{{ .HEAD }} ", + "style": "diamond", + "trailing_diamond": "<#ACB0BE>\uf105", + "type": "git" + } + ], + "type": "prompt" + } + ], + "final_space": true, + "version": 2 +} \ No newline at end of file diff --git a/website/export_themes.js b/website/export_themes.js index 1b41477f..b8d7f765 100644 --- a/website/export_themes.js +++ b/website/export_themes.js @@ -63,6 +63,11 @@ themeConfigOverrrides.set('tonybaloney.omp.json', newThemeConfig(0, 40)); themeConfigOverrrides.set('unicorn.omp.json', newThemeConfig(0, 40)); themeConfigOverrrides.set('ys.omp.json', newThemeConfig(40, 100)); themeConfigOverrrides.set('zash.omp.json', newThemeConfig(40, 40)); +themeConfigOverrrides.set('catppuccin.omp.json', newThemeConfig(40, 40, 'IrwinJuice', '#24273A')); +themeConfigOverrrides.set('catppuccin_latte.omp.json', newThemeConfig(40, 40, 'IrwinJuice', '#EFF1F5')); +themeConfigOverrrides.set('catppuccin_frappe.omp.json', newThemeConfig(40, 40, 'IrwinJuice', '#303446')); +themeConfigOverrrides.set('catppuccin_macchiato.omp.json', newThemeConfig(40, 40, 'IrwinJuice', '#24273A')); +themeConfigOverrrides.set('catppuccin_mocha.omp.json', newThemeConfig(40, 40, 'IrwinJuice', '#1E1E2E')); (async () => { const themes = await fs.promises.readdir(themesConfigDir);