cleanup + addition of subtexts

dev
Pocco81 3 years ago
parent feaf3736c1
commit e223eaacb1

@ -18,18 +18,20 @@ local color_palette = {
blue = "#8CAAEE", blue = "#8CAAEE",
sapphire = "#85C1DC", sapphire = "#85C1DC",
lavender = "#BFB7E4", lavender = "#BFB7E4",
text = "#C6CEEF", text = "#C6CEEF",
overlay2 = "#AFB6D4", subtext1 = "#B5BDDC",
overlay1 = "#979EBA", subtext0 = "#A5ACC9",
overlay0 = "#80869F", overlay2 = "#949BB7",
surface2 = "#696E84", overlay1 = "#838AA4",
surface1 = "#525669", overlay0 = "#737891",
surface0 = "#3A3E4F", surface2 = "#62677E",
surface1 = "#51566C",
surface0 = "#414559",
crust = "#232634",
mantle = "#292C3C",
base = "#303446", base = "#303446",
mantle = "#292C3C",
crust = "#232634",
} }
return color_palette return color_palette

@ -3,10 +3,10 @@ local M = {}
function M.get_palette() function M.get_palette()
local flvr = vim.g.catppuccin_flavour local flvr = vim.g.catppuccin_flavour
if flvr == "moccha" or flvr == "latte" or flvr == "macchiato" or flvr == "frappe" then if flvr == "mocha" or flvr == "latte" or flvr == "macchiato" or flvr == "frappe" then
return require("catppuccin.core.palettes." .. flvr) return require("catppuccin.core.palettes." .. flvr)
end end
return require("catppuccin.core.palettes.moccha") return require("catppuccin.core.palettes.mocha")
end end
return M return M

@ -18,16 +18,19 @@ local color_palette = {
blue = "#2A6EF5", blue = "#2A6EF5",
sapphire = "#209FB5", sapphire = "#209FB5",
lavender = "#7287FD", lavender = "#7287FD",
text = "#4C4F69", text = "#4C4F69",
overlay2 = "#60637B", subtext1 = "#5C5F77",
overlay1 = "#74788D", subtext0 = "#6C6F85",
overlay0 = "#888C9F", overlay2 = "#7C7F93",
surface2 = "#9DA1B1", overlay1 = "#8C8FA1",
surface1 = "#B1B5C3", overlay0 = "#9CA0B0",
surface0 = "#C5CAD5", surface2 = "#ACB0BE",
surface1 = "#BCC0CC",
surface0 = "#CCD0DA",
crust = "#D9DEE7", crust = "#DCE0E8",
mantle = "#E4E8EE", mantle = "#E6E9EF",
base = "#EFF1F5", base = "#EFF1F5",
} }

@ -18,17 +18,20 @@ local color_palette = {
blue = "#86AEF8", blue = "#86AEF8",
sapphire = "#7DC4E4", sapphire = "#7DC4E4",
lavender = "#B9BEF8", lavender = "#B9BEF8",
text = "#C5CFF5", text = "#C5CFF5",
overlay2 = "#AEB7DA", subtext1 = "#B3BCE0",
overlay1 = "#979FC0", subtext0 = "#A1AACB",
overlay0 = "#8087A5", overlay2 = "#8F97B7",
surface2 = "#696F8A", overlay1 = "#7D84A2",
surface1 = "#52576F", overlay0 = "#6C728D",
surface0 = "#3B3F55", surface2 = "#5A5F78",
surface1 = "#484C64",
surface0 = "#363A4F",
crust = "#181926",
mantle = "#1E2030",
base = "#24273A", base = "#24273A",
mantle = "#1E2030",
crust = "#181926",
} }
return color_palette return color_palette

@ -0,0 +1,37 @@
-- NOTE: references for Catppuccin Mocha
-- monochromatic: https://coolors.co/c6d0f5-aeb7d9-969dbc-7e84a0-666a83-4e5167-36374a-1e1e2e-12121c-07070a
-- analogous 1: https://coolors.co/f5e0dc-f2cdcd-f5c2e7-cba6f7-eba0ac-f38ba8-fab387
-- analogous 2: https://coolors.co/bfb7e4-8caaee-99d1db-e5c890-85c1dc-a6d189-81c8be
local color_palette = {
rosewater = "#F5E0DC",
flamingo = "#F2CDCD",
pink = "#F5C2E7",
mauve = "#CBA6F7",
red = "#F38BA8",
maroon = "#EBA0AC",
peach = "#FAB387",
yellow = "#F9E2AF",
green = "#A6E3A1",
teal = "#94E2D5",
sky = "#89DCEB",
blue = "#90C1FB",
sapphire = "#74C7EC",
lavender = "#B4BEFE",
text = "#C6D0F5",
subtext1 = "#B3BCDF",
subtext0 = "#A1A8C9",
overlay2 = "#8E95B3",
overlay1 = "#7B819D",
overlay0 = "#696D86",
surface2 = "#565970",
surface1 = "#43465A",
surface0 = "#313244",
base = "#1E1E2E",
mantle = "#181825",
crust = "#11111B",
}
return color_palette

@ -1,7 +1,7 @@
local M = {} local M = {}
local utils = require("catppuccin.utils.util") local utils = require("catppuccin.utils.util")
local flavours = {"latte", "frappe", "macchiato", "moccha"} local flavours = {"latte", "frappe", "macchiato", "mocha"}
function M.cli_flavour_completion() function M.cli_flavour_completion()
return vim.tbl_keys(require("catppuccin.utils.data").set_of(flavours)) return vim.tbl_keys(require("catppuccin.utils.data").set_of(flavours))

Loading…
Cancel
Save