refactor: colors + addition of ctp noon

dev
Pocco81 3 years ago
parent 0bb8e2799e
commit b7708e58e2

@ -1,4 +1,5 @@
local colors_util = require("catppuccin.utils.colors")
local util = require("catppuccin.utils.util")
local cp
local M = {}
@ -27,7 +28,7 @@ local function get_base()
lCursor = { fg = cp.black2, bg = cp.white }, -- the character under the cursor when |language-mapping| is used (see 'guicursor')
CursorIM = { fg = cp.black2, bg = cp.white }, -- like Cursor, but used when in IME mode |CursorIM|
CursorColumn = { bg = cp.black1 }, -- Screen-column at the cursor, when 'cursorcolumn' is secp.
CursorLine = { bg = colors_util.vary_color({dawn = cp.black1}, cp.black3) }, -- Screen-line at the cursor, when 'cursorline' is secp. Low-priority if foreground (ctermfg OR guifg) is not secp.
CursorLine = { bg = colors_util.vary_color({dawn = cp.black1}, util.darken(cp.black3, 0.64, cp.black2)) }, -- Screen-line at the cursor, when 'cursorline' is secp. Low-priority if foreground (ctermfg OR guifg) is not secp.
Directory = { fg = cp.blue }, -- directory names (and other special names in listings)
EndOfBuffer = { fg = cp.black2 }, -- filler lines (~) after the end of the buffer. By default, this is highlighted like |hl-NonText|.
ErrorMsg = { fg = cp.red, style = "bold,italic" }, -- error messages on the command line

@ -14,12 +14,12 @@ local color_palette = {
sapphire = "#74C7EC",
lavender = "#B4BEFE",
white = "#C6D0F5",
gray2 = "#ADB5D8",
gray1 = "#959BBA",
gray0 = "#7C809D",
black5 = "#63657F",
black4 = "#4B4B62",
black3 = "#323044",
gray2 = "#AEB7D9",
gray1 = "#969DBC",
gray0 = "#7E84A0",
black5 = "#666A83",
black4 = "#4E5167",
black3 = "#36374A",
black2 = "#1E1E2E",
black1 = "#181825",
black0 = "#101019",

@ -3,7 +3,7 @@ local M = {}
function M.get_palette()
local flvr = vim.g.catppuccin_flavour
if flvr == "dusk" or flvr == "dawn" or flvr == "storm" then
if flvr == "dusk" or flvr == "dawn" or flvr == "storm" or flvr == "noon" then
return require("catppuccin.core.palettes." .. flvr)
end
return require("catppuccin.core.palettes.dusk")

@ -0,0 +1,28 @@
local color_palette = {
rosewater = "#F5E0DC", -- not ready
flamingo = "#F2CDCD",
pink = "#F5C2E7",
mauve = "#CB9DDF", -- g +
red = "#E78284", -- g +?
maroon = "#EA999C", -- g
peach = "#EE9E76", -- g +
yellow = "#E1C38A", -- g +
green = "#A9CA87", -- g +
teal = "#81C8BE", -- g +
sky = "#99D1DB", -- g? +
blue = "#90AAE9", -- g +?
sapphire = "#85C1DC", -- gotta tweak this one
lavender = "#BFB7E4", -- g
white = "#C6CEEF", -- g
gray2 = "#B1B8D7",
gray1 = "#9BA2BF",
gray0 = "#868CA7",
black5 = "#707590",
black4 = "#5B5F78", --
black3 = "#454960", --
black2 = "#303348", --
black1 = "#252737",
black0 = "#181A25",
}
return color_palette

@ -14,15 +14,15 @@ local color_palette = {
sapphire = "#34C3DC",
lavender = "#B8C1FE",
white = "#C5CFF5",
gray2 = "#A6AFD2",
gray1 = "#8289AA",
gray0 = "#5F6587",
black5 = "#4F5473",
black4 = "#3E435E",
black3 = "#2B3045",
gray2 = "#AEB7DA",
gray1 = "#979FC0",
gray0 = "#8087A5",
black5 = "#696F8A",
black4 = "#52576F",
black3 = "#3B3F55",
black2 = "#24273A",
black1 = "#1F2233",
black0 = "#1A1B26",
black1 = "#1F2232",
black0 = "#181926",
}
return color_palette

Loading…
Cancel
Save