config(nvim): fuse oxocarbon and catppuccino colors

main
sudo pacman -Syu 2024-06-08 14:25:05 +07:00
parent bebb023f00
commit 7f9c02305f
2 changed files with 31 additions and 13 deletions

View File

@ -20,8 +20,13 @@ https://github.com/qmk/qmk_firmware/commits/develop.atom "~qmk_firmware/develop"
https://github.com/qmk/qmk_firmware/commits/master.atom "~qmk_firmware" https://github.com/qmk/qmk_firmware/commits/master.atom "~qmk_firmware"
https://go.dev/blog/feed.atom https://go.dev/blog/feed.atom
https://lwn.net/headlines/rss
https://lwn.net/headlines/Features
https://github.blog/tag/git/atom
https://lobste.rs/t/ai,cryptography,design,go,linux,mac.rss "~lobste.rs"
http://antirez.com/rss http://antirez.com/rss
http://feeds.feedburner.com/ThePragmaticEngineer
https://0pointer.net/blog/index.atom https://0pointer.net/blog/index.atom
https://apenwarr.ca/log/rss.php https://apenwarr.ca/log/rss.php
https://brandur.org/articles.atom https://brandur.org/articles.atom

View File

@ -108,19 +108,35 @@ require("lazy").setup({
name = "catppuccin", name = "catppuccin",
priority = 1000, priority = 1000,
config = function() config = function()
-- Eva-01 vibe
-- https://enjoykeycap.github.io/docs/gmk-keycaps/Mecha-01/
-- https://www.pantone.com/connect/802-C
-- https://www.pantone.com/connect/267-C
local color_eva = {
fg = "#44d62c",
bg = "#5f249e",
}
-- https://github.com/nyoom-engineering/oxocarbon.nvim
local color_oxocarbon = {
pink = "#ff7eb6",
purple = "#be95ff",
red = "#ee5396",
}
require("catppuccin").setup({ require("catppuccin").setup({
flavour = "mocha", flavour = "mocha",
transparent_background = false, transparent_background = false,
color_overrides = {
mocha = {
-- https://github.com/catppuccin/nvim/blob/main/lua/catppuccin/palettes/mocha.lua
flamingo = color_oxocarbon.pink,
pink = color_oxocarbon.pink,
mauve = color_oxocarbon.purple,
red = color_oxocarbon.red,
maroon = color_oxocarbon.red,
},
},
custom_highlights = function(colors) custom_highlights = function(colors)
-- Eva-01 vibe
-- https://enjoykeycap.github.io/docs/gmk-keycaps/Mecha-01/
-- https://www.pantone.com/connect/802-C
-- https://www.pantone.com/connect/267-C
local color_eva = {
fg = "#44d62c",
bg = "#5f249e",
}
return { return {
-- Help my eyes -- Help my eyes
Comment = { Comment = {
@ -137,16 +153,13 @@ require("lazy").setup({
}, },
-- Support mini.statusline -- Support mini.statusline
StatusLineNC = { StatusLineNC = {
fg = colors.flamingo, fg = color_oxocarbon.pink,
}, },
-- Support gitsigns.nvim -- Support gitsigns.nvim
GitSignsCurrentLineBlame = { GitSignsCurrentLineBlame = {
fg = colors.overlay1, fg = colors.overlay1,
style = { "italic" }, style = { "italic" },
}, },
-- https://neovim.io/doc/user/diagnostic.html#diagnostic-highlights
DiagnosticVirtualTextError = color_eva,
DiagnosticSignError = color_eva,
} }
end, end,
}) })