BREAKING CHANGE: every palette was updated

dev
Pocco81 3 years ago
parent 8a3b8925cd
commit d0030f4946

@ -1,9 +1,7 @@
local M = {} local M = {}
------ HERERE RERESFD SFDSF
function M.get(cp) function M.get(cp)
local delimeters = cp.gray2 -- local delimeters = cp.gray2
local operators = cp.sky local operators = cp.sky
local cl = cp.mauve -- conditionals, loops local cl = cp.mauve -- conditionals, loops
local keywords = cp.mauve local keywords = cp.mauve
@ -35,16 +33,16 @@ function M.get(cp)
-- builtin -- builtin
TSConstBuiltin = { fg = cp.peach, style = cnf.styles.keywords or "NONE" }, -- For constant that are built in the language: nil in Lua. TSConstBuiltin = { fg = cp.peach, style = cnf.styles.keywords or "NONE" }, -- For constant that are built in the language: nil in Lua.
TSFuncBuiltin = { fg = cp.sapphire, style = cnf.styles.functions or "NONE" }, -- For builtin functions: table.insert in Lua. TSFuncBuiltin = { fg = cp.peach, style = cnf.styles.functions or "NONE" }, -- For builtin functions: table.insert in Lua.
TSNamespace = { fg = cp.blue, style = "italic" }, -- For identifiers referring to modules and namespaces. TSNamespace = { fg = cp.blue, style = "italic" }, -- For identifiers referring to modules and namespaces.
TSType = { fg = cp.cotton, style = cnf.styles.types or "NONE" }, -- For types. TSType = { fg = cp.yellow, style = cnf.styles.types or "NONE" }, -- For types.
TSTypeBuiltin = { fg = cp.cotton, style = cnf.styles.properties or "italic" }, -- For builtin types. TSTypeBuiltin = { fg = cp.yellow, style = cnf.styles.properties or "italic" }, -- For builtin types.
TSVariableBuiltin = { fg = cp.red }, -- Variable names that are defined by the languages, like this or self. TSVariableBuiltin = { fg = cp.red }, -- Variable names that are defined by the languages, like this or self.
TSFunction = { fg = cp.blue, style = cnf.styles.functions or "NONE" }, -- For function (calls and definitions). TSFunction = { fg = cp.blue, style = cnf.styles.functions or "NONE" }, -- For function (calls and definitions).
TSFuncMacro = { fg = cp.teal, style = cnf.styles.functions or "NONE" }, -- For macro defined functions (calls and definitions): each macro_rules in Ruscp. TSFuncMacro = { fg = cp.teal, style = cnf.styles.functions or "NONE" }, -- For macro defined functions (calls and definitions): each macro_rules in Ruscp.
TSParameter = { fg = cp.yellow, style = "italic" }, -- For parameters of a function. TSParameter = { fg = cp.maroon, style = "italic" }, -- For parameters of a function.
TSKeywordFunction = { fg = cp.mauve, style = cnf.styles.keywords or "NONE" }, -- For keywords used to define a fuction. TSKeywordFunction = { fg = cp.mauve, style = cnf.styles.keywords or "NONE" }, -- For keywords used to define a fuction.
TSKeyword = { fg = keywords, style = cnf.styles.keywords or "NONE" }, -- For keywords that don't fall in previous categories. TSKeyword = { fg = keywords, style = cnf.styles.keywords or "NONE" }, -- For keywords that don't fall in previous categories.
TSKeywordReturn = { fg = cp.mauve, style = cnf.styles.keywords or "NONE" }, TSKeywordReturn = { fg = cp.mauve, style = cnf.styles.keywords or "NONE" },
@ -55,7 +53,7 @@ function M.get(cp)
TSNote = { fg = cp.black2, bg = cp.blue }, TSNote = { fg = cp.black2, bg = cp.blue },
TSWarning = { fg = cp.black2, bg = cp.yellow }, TSWarning = { fg = cp.black2, bg = cp.yellow },
TSDanger = { fg = cp.black2, bg = cp.red }, TSDanger = { fg = cp.black2, bg = cp.red },
-- TSConstMacro = { }; -- For constants that are defined by macros: NULL in cp. TSConstMacro = { fg = cp.mauve }; -- For constants that are defined by macros: NULL in cp.
-- TSError = { fg = cp.red }, -- For syntax/parser errors. -- TSError = { fg = cp.red }, -- For syntax/parser errors.
-- rustTSField = { fg = cp.black4 }, -- For fields. -- rustTSField = { fg = cp.black4 }, -- For fields.
TSLabel = { fg = cp.sapphire }, -- For labels: label: in C and :label: in Lua. TSLabel = { fg = cp.sapphire }, -- For labels: label: in C and :label: in Lua.
@ -64,7 +62,8 @@ function M.get(cp)
-- TSParameterReference= { }; -- For references to parameters of a function. -- TSParameterReference= { }; -- For references to parameters of a function.
tomlTSProperty = { fg = cp.blue }, -- Differentiates between string and properties tomlTSProperty = { fg = cp.blue }, -- Differentiates between string and properties
TSPunctDelimiter = { fg = cp.gray2 }, -- For delimiters ie: . TSPunctDelimiter = { fg = cp.gray2 }, -- For delimiters ie: .
TSPunctBracket = { fg = delimeters }, -- For brackets and parenthesis. -- TSPunctBracket = { fg = delimeters }, -- For brackets and parenthesis.
TSPunctBracket = { fg = cp.gray2 }, -- For brackets and parenthesis.
TSString = { fg = cp.green, style = cnf.styles.strings or "NONE" }, -- For strings. TSString = { fg = cp.green, style = cnf.styles.strings or "NONE" }, -- For strings.
TSStringRegex = { fg = cp.peach, style = cnf.styles.strings or "NONE" }, -- For regexes. TSStringRegex = { fg = cp.peach, style = cnf.styles.strings or "NONE" }, -- For regexes.
-- TSSymbol = { }; -- For identifiers referring to symbols or atoms. -- TSSymbol = { }; -- For identifiers referring to symbols or atoms.

@ -38,7 +38,7 @@ local function get_base()
SignColumnSB = { bg = cp.black0, fg = cp.black4 }, -- column where |signs| are displayed SignColumnSB = { bg = cp.black0, fg = cp.black4 }, -- column where |signs| are displayed
Substitute = { bg = cp.black4, fg = cp.pink }, -- |:substitute| replacement text highlighting Substitute = { bg = cp.black4, fg = cp.pink }, -- |:substitute| replacement text highlighting
LineNr = { fg = cp.black4 }, -- Line number for ":number" and ":#" commands, and when 'number' or 'relativenumber' option is secp. LineNr = { fg = cp.black4 }, -- Line number for ":number" and ":#" commands, and when 'number' or 'relativenumber' option is secp.
CursorLineNr = { fg = cp.green }, -- Like LineNr when 'cursorline' or 'relativenumber' is set for the cursor line. highlights the number in numberline. CursorLineNr = { fg = cp.lavender }, -- Like LineNr when 'cursorline' or 'relativenumber' is set for the cursor line. highlights the number in numberline.
MatchParen = { fg = cp.peach, style = "bold" }, -- The character under the cursor or just before it, if it is a paired bracket, and its match. |pi_paren.txt| MatchParen = { fg = cp.peach, style = "bold" }, -- The character under the cursor or just before it, if it is a paired bracket, and its match. |pi_paren.txt|
ModeMsg = { fg = cp.white, style = "bold" }, -- 'showmode' message (e.g., "-- INSERT -- ") ModeMsg = { fg = cp.white, style = "bold" }, -- 'showmode' message (e.g., "-- INSERT -- ")
MsgArea = { fg = cp.white }, -- Area for messages and cmdline MsgArea = { fg = cp.white }, -- Area for messages and cmdline

@ -1,28 +1,28 @@
local color_palette = { local color_palette = {
rosewater = "#E09D90", -- Rosewater rosewater = "#E5AC9F",
flamingo = "#E79C9C", -- Flamingo flamingo = "#DF7F7F",
mauve = "#AC61DF", -- Mauve -- done pink = "#EC83D0",
pink = "#EF9AD9", -- Pink -- done mauve = "#8F46EF",
red = "#E84746", -- Red -- done - red = "#D20F39",
maroon = "#c96765", -- Maroon -- done maroon = "#E63B4A",
peach = "#E99726", -- Peach -- done - peach = "#FE6811",
yellow = "#EABE24", -- Yellow -- done - yellow = "#E49320",
green = "#89B517", -- Green -- done - green = "#509E31",
blue = "#4877D7", -- Blue -- done - teal = "#289886",
sky = "#3FC4D9", -- Sky -- done sky = "#04A5E5",
teal = "#149C9B", -- Teal -- done - blue = "#1D65F5",
lavender = "#939AFB", -- Lavender -- done sapphire = "#209FB5",
white = "#343b58", -- White -- works? lavender = "#7287FD",
gray2 = "#424968", -- Gray2 white = "#575279",
gray1 = "#505677", -- Gray1 gray2 = "#6E6A8B",
gray0 = "#606689", -- Gray0 -- done - gray1 = "#86819C",
black4 = "#cfd8dc", -- Black4 gray0 = "#9D99AE",
black3 = "#eff3f4", -- Black3 black5 = "#B5B1BF",
black2 = "#FCFCFC", -- Black2 -- done black4 = "#CCC9D1",
black1 = "#EDEDED", -- Black1 black3 = "#E6E3E5",
black0 = "#D3D0D2", -- Black0 black2 = "#FBF8F4",
black1 = "#EDEDED",
black0 = "#D3D0D2",
} }
-- NOTE: we might have to remake our current naming convention for gray# and black#
return color_palette return color_palette

@ -1,26 +1,28 @@
local color_palette = { local color_palette = {
rosewater = "#F5E0DC", -- Rosewater rosewater = "#F5E0DC",
flamingo = "#F2CDCD", -- Flamingo flamingo = "#F2CDCD",
mauve = "#DDB6F2", -- Mauve pink = "#F5C2E7",
pink = "#F5C2E7", -- Pink mauve = "#CBA6F7",
red = "#F28FAD", -- Red red = "#F38BA8",
maroon = "#E8A2AF", -- Maroon maroon = "#EBA0AC",
peach = "#F8BD96", -- Peach peach = "#FAB387",
yellow = "#FAE3B0", -- Yellow yellow = "#F9E2AF",
green = "#ABE9B3", -- Green green = "#A6E3A1",
blue = "#96CDFB", -- Blue teal = "#94E2D5",
sky = "#89DCEB", -- Sky sky = "#89DCEB",
teal = "#B5E8E0", -- Teal blue = "#90C1FB",
lavender = "#C9CBFF", -- Lavender sapphire = "#74C7EC",
white = "#D9E0EE", -- White lavender = "#C9CBFF",
gray2 = "#C3BAC6", -- Gray2 white = "#C6D0F5",
gray1 = "#988BA2", -- Gray1 gray2 = "#ADB5D8",
gray0 = "#6E6C7E", -- Gray0 gray1 = "#959BBA",
black4 = "#575268", -- Black4 gray0 = "#7C809D",
black3 = "#302D41", -- Black3 black5 = "#63657F",
black2 = "#1E1E2E", -- Black2 black4 = "#4B4B62",
black1 = "#1A1826", -- Black1 black3 = "#323044",
black0 = "#161320", -- Black0 black2 = "#1E1E2E",
black1 = "#181825",
black0 = "#101019",
} }
return color_palette return color_palette

@ -1,52 +1,28 @@
local color_palette = { local color_palette = {
pink = "#F5BFE7", -- Pink -- done -- cotton rosewater = "#F5DFDA",
flamingo = "#F2CBCB", -- Flamingo -- done flamingo = "#F2CBCB",
cotton = "#F3DCAC", pink = "#F5BFE7",
yellow = "#F1D0D8", -- Yellow -- done - mauve = "#C59FF6",
-- cotton = "#B6FFEA", red = "#F67E98",
rosewater = "#F5DFDA", -- Rosewater maroon = "#F1949B",
mauve = "#C59FF6", -- Mauve -- done - peach = "#FEA571",
red = "#F67E98", -- Red -- done yellow = "#F2DAA8",
maroon = "#F1949B", -- Maroon -- done green = "#A1DF8E",
peach = "#FEA571", -- Peach -- done - - teal = "#85E0D1",
green = "#9CDA83", -- Green -- done - sky = "#89DCFD",
-- sapphire = "#2AC3DE", blue = "#83ABF9",
-- sapphire = "#99FFCD",
-- sapphire = "#F8DEA9",
-- sapphire = "#B6FFCE",
-- sapphire = "#2AC3DE",
-- green = "#98C379", -- Green -- done -
sapphire = "#34C3DC", sapphire = "#34C3DC",
-- cotton = "#E7F0C3", lavender = "#C2CBFE",
-- cotton = "#CAF2D7", white = "#C5CFF5",
-- cotton = "#CDF0EA", gray2 = "#A6AFD2",
-- cotton = "#F0D9FF", gray1 = "#8289AA",
-- cotton = "#F6AE99", gray0 = "#5F6587",
-- cotton = "#C1FFD7", black5 = "#4F5473",
-- cotton = "#F3E6E3", black4 = "#3E435E",
-- cotton = "#FFBA92", black3 = "#2B3045",
black2 = "#24273A",
black1 = "#1F2233",
black0 = "#1A1B26",
-- sapphire = "#2AC3DE",
blue = "#83ABF9", -- Blue -- done
teal = "#78DCCC", -- Teal -- done
sky = "#89DCFD", -- Sky -- done
lavender = "#C1CAFE", -- Lavender -- done
white = "#C5CFF5", -- White -- done
gray2 = "#B9C0DB", -- Gray2
gray1 = "#6F7599", -- Gray1
gray0 = "#5E6487", -- Gray0
black4 = "#3E435E", -- Black4
black3 = "#2B3045", -- Black3
black2 = "#24273A", -- Black2 -- done
black1 = "#1F2233", -- Black1
black0 = "#1A1B26", -- Black0
} }
return color_palette return color_palette

Loading…
Cancel
Save