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://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://feeds.feedburner.com/ThePragmaticEngineer
https://0pointer.net/blog/index.atom
https://apenwarr.ca/log/rss.php
https://brandur.org/articles.atom

View File

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