Pyroxenium / Basalt

A UI Framework for CC:Tweaked
MIT License
164 stars 28 forks source link

bug: basalt overrides custom palettes #95

Open badgeminer opened 12 months ago

badgeminer commented 12 months ago

What happened?

basalt overrides custom palettes

-- Modified version of @1Turtle's GNOME  palette
-- black set back to default
-- and using the phoenix installer orange
local GNOME = {
    ["black"]     = 0x111111,
    ["blue"]      = 0x2A7BDE,
    ["brown"]     = 0xA2734C,
    ["cyan"]      = 0x2AA1B3,
    ["gray"]      = 0x5E5C64,
    ["green"]     = 0x26A269,
    ["lightBlue"] = 0x33C7DE,
    ["lightGray"] = 0xD0CFCC,
    ["lime"]      = 0x33D17A,
    ["magenta"]   = 0xC061CB,
    ["orange"]    = 0xD06018,
    ["pink"]      = 0xF66151,
    ["purple"]    = 0xA347BA,
    ["red"]       = 0xC01C28,
    ["white"]     = 0xFFFFFF,
    ["yellow"]    = 0xF3F03E
}

for color, code in pairs(GNOME) do
    term.setPaletteColor(colors[color], code)
end

Computercraft client

CraftOSPC

Relevant log output

No response

Latest Basalt Version