Skip to content

Commit

Permalink
feat: colorscheme update
Browse files Browse the repository at this point in the history
  • Loading branch information
nekowinston committed Mar 7, 2024
1 parent 4f24946 commit 92a9167
Show file tree
Hide file tree
Showing 6 changed files with 94 additions and 39 deletions.
6 changes: 3 additions & 3 deletions home/apps/colorscheme-sync.nix
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ in {
};

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 = ''
zadm_sync() {
export STARSHIP_CONFIG__PALETTE="catppuccin_$(dark-mode-ternary frappe latte)"
fast-theme "XDG:catppuccin-$(dark-mode-ternary frappe latte)" >/dev/null
export STARSHIP_CONFIG__PALETTE="catppuccin_$(dark-mode-ternary mocha latte)"
fast-theme "XDG:catppuccin-$(dark-mode-ternary mocha latte)" >/dev/null
}
add-zsh-hook precmd zadm_sync
'';
Expand Down
2 changes: 0 additions & 2 deletions home/apps/discord/custom.css
Original file line number Diff line number Diff line change
@@ -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);

:root {
Expand Down
53 changes: 26 additions & 27 deletions home/apps/starship/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -521,30 +521,29 @@ mantle = "#1e2030"
crust = "#181926"

[palettes.catppuccin_mocha]
rosewater = '#f5e0dc'
flamingo = '#f2cdcd'
pink = '#f5c2e7'
mauve = '#cba6f7'
red = '#f38ba8'
maroon = '#eba0ac'
peach = '#fab387'
yellow = '#f9e2af'
green = '#a6e3a1'
teal = '#94e2d5'
sky = '#89dceb'
sapphire = '#74c7ec'
blue = '#89b4fa'
lavender = '#b4befe'
text = '#cdd6f4'
subtext1 = '#bac2de'
subtext0 = '#a6adc8'
overlay2 = '#9399b2'
overlay1 = '#7f849c'
overlay0 = '#6c7086'
surface2 = '#585b70'
surface1 = '#45475a'
surface0 = '#313244'
base = '#1e1e2e'
mantle = '#181825'
crust = '#11111b'
contrast = '#000000'
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"
1 change: 0 additions & 1 deletion home/apps/vscode.nix
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ in {
ms-kubernetes-tools.vscode-kubernetes-tools
ms-vscode.live-server
oscarotero.vento-syntax
pkief.material-icon-theme
redhat.vscode-yaml
ryanluker.vscode-coverage-gutters
serayuzgur.crates
Expand Down
40 changes: 35 additions & 5 deletions home/apps/vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,36 @@
"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,
"debug.onTaskErrors": "debugAnyway",
"diffEditor.ignoreTrimWhitespace": false,
Expand Down Expand Up @@ -48,10 +78,9 @@
"window.autoDetectColorScheme": true,
"window.commandCenter": false,
"window.titleBarStyle": "custom",
"workbench.colorTheme": "Catppuccin Frappé",
"workbench.iconTheme": "catppuccin-frappe",
"workbench.layoutControl.enabled": false,
"workbench.preferredDarkColorTheme": "Catppuccin Frappé",
"workbench.colorTheme": "Catppuccin Latte",
"workbench.iconTheme": "material-icon-theme",
"workbench.preferredDarkColorTheme": "Catppuccin Mocha",
"workbench.preferredLightColorTheme": "Catppuccin Latte",
"workbench.productIconTheme": "icons-carbon",

Expand Down Expand Up @@ -253,5 +282,6 @@
"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*",
"release-please-config.json": ".release-please-manifest.json"
}
},
"material-icon-theme.saturation": 0.2
}
31 changes: 30 additions & 1 deletion home/apps/wezterm/wezterm.lua
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,37 @@ if utils.is_darwin() then
end

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_flavors = { dark = "frappe" },
})

return c

0 comments on commit 92a9167

Please sign in to comment.