improve color naming for easier maintainability and customization

This commit is contained in:
Webhooked
2025-07-25 11:45:27 +02:00
parent 748023fd27
commit 5ae1ef3c4f
2 changed files with 305 additions and 327 deletions
+61 -83
View File
@@ -1,97 +1,75 @@
---@class PaletteColors
local palette = {
-- Bg Shades
zen0 = "#090E13",
zen1 = "#1C1E25",
zen2 = "#22262D",
zen3 = "#393B44",
-- Zen Bg Shades
zenBg0 = "#090E13",
zenBg1 = "#1C1E25",
zenBg2 = "#22262D",
zenBg3 = "#393B44",
-- Ink Bg Shades
inkBg0 = "#14171d",
inkBg1 = "#1f1f26",
inkBg2 = "#22262D",
inkBg3 = "#393B44",
inkBg4 = "#4b4e57",
-- Mist Bg Shades
mistBg0 = "#22262D",
mistBg1 = "#2a2c35",
mistBg2 = "#393B44",
mistBg3 = "#5C6066",
-- Popup and Floats
zenBlue1 = "#223249",
zenBlue2 = "#2D4F67",
altBlue1 = "#223249",
altBlue2 = "#2D4F67",
-- Diff and Git
winterGreen = "#2B3328",
winterYellow = "#49443C",
winterRed = "#43242B",
winterBlue = "#252535",
autumnGreen = "#76946A",
autumnRed = "#C34043",
autumnYellow = "#DCA561",
diffGreen = "#2B3328",
diffYellow = "#49443C",
diffRed = "#43242B",
diffBlue = "#252535",
gitGreen = "#76946A",
gitRed = "#C34043",
gitYellow = "#DCA561",
-- Diag
samuraiRed = "#C34043",
roninYellow = "#DCA561",
zenAqua1 = "#6A9589",
inkBlue = "#658594",
-- Main Colors
red = "#C34043",
red2 = "#E46876",
red3 = "#c4746e",
yellow = "#DCA561",
yellow2 = "#E6C384",
yellow3 = "#c4b28a",
green = "#98BB6C",
green2 = "#87a987",
green3 = "#8a9a7b",
green4 = "#6A9589",
green5 = "#7AA89F",
blue = "#7FB4CA",
blue2 = "#658594",
blue3 = "#8ba4b0",
blue4 = "#8ea4a2",
violet = "#938AA9",
violet2 = "#8992a7",
violet3 = "#949fb5",
pink = "#a292a3",
orange = "#b6927b",
orange2 = "#b98d7b",
aqua = "#8ea4a2",
-- Fg and Comments
oldWhite = "#C5C9C7",
fujiWhite = "#f2f1ef",
fg = "#C5C9C7",
fg2 = "#f2f1ef",
gray = "#717C7C",
gray2 = "#A4A7A4",
gray3 = "#909398",
gray4 = "#75797f",
gray5 = "#5C6066",
springViolet1 = "#938AA9",
springBlue = "#7FB4CA",
zenAqua2 = "#7AA89F",
springGreen = "#98BB6C",
carpYellow = "#E6C384",
zenRed = "#E46876",
katanaGray = "#717C7C",
inkBlack0 = "#14171d",
inkBlack1 = "#1f1f26",
inkBlack2 = "#22262D",
inkBlack3 = "#393B44",
inkBlack4 = "#4b4e57",
inkWhite = "#C5C9C7",
inkGreen = "#87a987",
inkGreen2 = "#8a9a7b",
inkPink = "#a292a3",
inkOrange = "#b6927b",
inkOrange2 = "#b98d7b",
inkGray = "#A4A7A4",
inkGray1 = "#909398",
inkGray2 = "#75797f",
inkGray3 = "#5C6066",
inkBlue2 = "#8ba4b0",
inkViolet = "#8992a7",
inkRed = "#c4746e",
inkAqua = "#8ea4a2",
inkAsh = "#5C6066",
inkTeal = "#949fb5",
inkYellow = "#c4b28a", --"#a99c8b",
-- "#8a9aa3",
-- Mist Shades
mist0 = "#22262D",
mist1 = "#2a2c35",
mist2 = "#393B44",
mist3 = "#5C6066",
mistWhite = "#C5C9C7",
mistGreen = "#87a987",
mistGreen2 = "#8a9a7b",
mistPink = "#a292a3",
mistOrange = "#b6927b",
mistOrange2 = "#b98d7b",
mistGray = "#A4A7A4",
mistGray1 = "#909398",
mistGray2 = "#75797f",
mistGray3 = "#5C6066",
mistBlue2 = "#8ba4b0",
mistViolet = "#8992a7",
mistRed = "#c4746e",
mistAqua = "#8ea4a2",
mistAsh = "#5C6066",
mistTeal = "#949fb5",
mistYellow = "#c4b28a",
pearlInk0 = "#22262D",
pearlInk1 = "#545464",
pearlInk2 = "#43436c",
-- Light theme colors (pearl prefix)
pearlBlack0 = "#22262D",
pearlBlack1 = "#545464",
pearlBlack2 = "#43436c",
pearlGray = "#e2e1df",
pearlGray2 = "#5C6068",
pearlGray3 = "#6D6D69",