Skip to content

Commit

Permalink
config(nvim): fuse oxocarbon and catppuccino colors
Browse files Browse the repository at this point in the history
  • Loading branch information
haunt98 committed Jun 8, 2024
1 parent bebb023 commit 7f9c023
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 13 deletions.
5 changes: 5 additions & 0 deletions data/newsboat/urls
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
39 changes: 26 additions & 13 deletions data/nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -108,19 +108,35 @@ require("lazy").setup({
name = "catppuccin",
priority = 1000,
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({
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)
-- 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 {
-- Help my eyes
Comment = {
Expand All @@ -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,
})
Expand Down

0 comments on commit 7f9c023

Please sign in to comment.