feat: colorscheme update

This commit is contained in:
winston 2024-03-07 13:44:33 +01:00
parent 4f24946d23
commit 92a9167fe4
Signed by: winston
GPG key ID: 3786770EDBC2B481
6 changed files with 94 additions and 39 deletions

View file

@ -40,11 +40,11 @@ in {
}; };
programs.zsh = { programs.zsh = {
shellAliases.cat = "bat --theme=$(dark-mode-ternary 'Catppuccin-frappe' 'Catppuccin-latte')"; shellAliases.cat = "bat --theme=\"$(dark-mode-ternary 'Catppuccin Mocha' 'Catppuccin Latte')\"";
initExtra = '' initExtra = ''
zadm_sync() { zadm_sync() {
export STARSHIP_CONFIG__PALETTE="catppuccin_$(dark-mode-ternary frappe latte)" export STARSHIP_CONFIG__PALETTE="catppuccin_$(dark-mode-ternary mocha latte)"
fast-theme "XDG:catppuccin-$(dark-mode-ternary frappe latte)" >/dev/null fast-theme "XDG:catppuccin-$(dark-mode-ternary mocha latte)" >/dev/null
} }
add-zsh-hook precmd zadm_sync add-zsh-hook precmd zadm_sync
''; '';

View file

@ -1,5 +1,3 @@
@import url("//catppuccin.github.io/discord/dist/catppuccin-frappe-pink.theme.css") (prefers-color-scheme: dark);
@import url("//catppuccin.github.io/discord/dist/catppuccin-latte-pink.theme.css") (prefers-color-scheme: light);
@import url(//dablulite.github.io/css-snippets/ConsistentChatbar/import.css); @import url(//dablulite.github.io/css-snippets/ConsistentChatbar/import.css);
:root { :root {

View file

@ -521,30 +521,29 @@ mantle = "#1e2030"
crust = "#181926" crust = "#181926"
[palettes.catppuccin_mocha] [palettes.catppuccin_mocha]
rosewater = '#f5e0dc' rosewater = "#ece3e1"
flamingo = '#f2cdcd' flamingo = "#e1d2d2"
pink = '#f5c2e7' pink = "#ddccd8"
mauve = '#cba6f7' mauve = "#bbb2c9"
red = '#f38ba8' red = "#c4a2aa"
maroon = '#eba0ac' maroon = "#cbadb1"
peach = '#fab387' peach = "#d5beb4"
yellow = '#f9e2af' yellow = "#ece3d3"
green = '#a6e3a1' green = "#b9ddb6"
teal = '#94e2d5' teal = "#badad4"
sky = '#89dceb' sky = "#b8d4db"
sapphire = '#74c7ec' sapphire = "#a9c0ce"
blue = '#89b4fa' blue = "#aab3c7"
lavender = '#b4befe' lavender = "#bfc1d2"
text = '#cdd6f4' text = "#d3d6e1"
subtext1 = '#bac2de' subtext1 = "#bec2d2"
subtext0 = '#a6adc8' subtext0 = "#a8adc3"
overlay2 = '#9399b2' overlay2 = "#9299b4"
overlay1 = '#7f849c' overlay1 = "#7c84a5"
overlay0 = '#6c7086' overlay0 = "#686f94"
surface2 = '#585b70' surface2 = "#555a7b"
surface1 = '#45475a' surface1 = "#434664"
surface0 = '#313244' surface0 = "#30314b"
base = '#1e1e2e' base = "#101010"
mantle = '#181825' mantle = "#090909"
crust = '#11111b' crust = "#080808"
contrast = '#000000'

View file

@ -101,7 +101,6 @@ in {
ms-kubernetes-tools.vscode-kubernetes-tools ms-kubernetes-tools.vscode-kubernetes-tools
ms-vscode.live-server ms-vscode.live-server
oscarotero.vento-syntax oscarotero.vento-syntax
pkief.material-icon-theme
redhat.vscode-yaml redhat.vscode-yaml
ryanluker.vscode-coverage-gutters ryanluker.vscode-coverage-gutters
serayuzgur.crates serayuzgur.crates

View file

@ -7,6 +7,36 @@
"statusBar.noFolderForeground": "accent" "statusBar.noFolderForeground": "accent"
} }
}, },
"catppuccin.colorOverrides": {
"mocha": {
"rosewater": "#ece3e1",
"flamingo": "#e1d2d2",
"pink": "#ddccd8",
"mauve": "#bbb2c9",
"red": "#c4a2aa",
"maroon": "#cbadb1",
"peach": "#d5beb4",
"yellow": "#ece3d3",
"green": "#b9ddb6",
"teal": "#badad4",
"sky": "#b8d4db",
"sapphire": "#a9c0ce",
"blue": "#aab3c7",
"lavender": "#bfc1d2",
"text": "#d3d6e1",
"subtext1": "#bec2d2",
"subtext0": "#a8adc3",
"overlay2": "#9299b4",
"overlay1": "#7c84a5",
"overlay0": "#686f94",
"surface2": "#555a7b",
"surface1": "#434664",
"surface0": "#30314b",
"base": "#101010",
"mantle": "#090909",
"crust": "#080808"
}
},
"catppuccin.extraBordersEnabled": true, "catppuccin.extraBordersEnabled": true,
"debug.onTaskErrors": "debugAnyway", "debug.onTaskErrors": "debugAnyway",
"diffEditor.ignoreTrimWhitespace": false, "diffEditor.ignoreTrimWhitespace": false,
@ -48,10 +78,9 @@
"window.autoDetectColorScheme": true, "window.autoDetectColorScheme": true,
"window.commandCenter": false, "window.commandCenter": false,
"window.titleBarStyle": "custom", "window.titleBarStyle": "custom",
"workbench.colorTheme": "Catppuccin Frappé", "workbench.colorTheme": "Catppuccin Latte",
"workbench.iconTheme": "catppuccin-frappe", "workbench.iconTheme": "material-icon-theme",
"workbench.layoutControl.enabled": false, "workbench.preferredDarkColorTheme": "Catppuccin Mocha",
"workbench.preferredDarkColorTheme": "Catppuccin Frappé",
"workbench.preferredLightColorTheme": "Catppuccin Latte", "workbench.preferredLightColorTheme": "Catppuccin Latte",
"workbench.productIconTheme": "icons-carbon", "workbench.productIconTheme": "icons-carbon",
@ -253,5 +282,6 @@
"package.json": "package-lock.json, pnpm-lock.yaml, yarn.lock, yarn.config.cjs, .yarn*, .pnp.*, .eslint*, .prettier*", "package.json": "package-lock.json, pnpm-lock.yaml, yarn.lock, yarn.config.cjs, .yarn*, .pnp.*, .eslint*, .prettier*",
"readme*": "authors, backers*, changelog*, citation*, code_of_conduct*, codeowners, contributing*, contributors, copying*, credits, governance.md, history.md, license*, maintainers, readme*, security.md, sponsors*", "readme*": "authors, backers*, changelog*, citation*, code_of_conduct*, codeowners, contributing*, contributors, copying*, credits, governance.md, history.md, license*, maintainers, readme*, security.md, sponsors*",
"release-please-config.json": ".release-please-manifest.json" "release-please-config.json": ".release-please-manifest.json"
} },
"material-icon-theme.saturation": 0.2
} }

View file

@ -30,8 +30,37 @@ if utils.is_darwin() then
end end
require("catppuccin.plugin").apply_to_config(c, { require("catppuccin.plugin").apply_to_config(c, {
color_overrides = {
mocha = {
rosewater = "#ece3e1",
flamingo = "#e1d2d2",
pink = "#ddccd8",
mauve = "#bbb2c9",
red = "#c4a2aa",
maroon = "#cbadb1",
peach = "#d5beb4",
yellow = "#ece3d3",
green = "#b9ddb6",
teal = "#badad4",
sky = "#b8d4db",
sapphire = "#a9c0ce",
blue = "#aab3c7",
lavender = "#bfc1d2",
text = "#d3d6e1",
subtext1 = "#bec2d2",
subtext0 = "#a8adc3",
overlay2 = "#9299b4",
overlay1 = "#7c84a5",
overlay0 = "#686f94",
surface2 = "#555a7b",
surface1 = "#434664",
surface0 = "#30314b",
base = "#101010",
mantle = "#090909",
crust = "#080808",
},
},
sync = true, sync = true,
sync_flavors = { dark = "frappe" },
}) })
return c return c