Pyroxenium / Basalt

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

feature: Custom colors #110

Closed zambony closed 2 months ago

zambony commented 2 months ago

It seems we're limited to using the standard colors provided by the colors library. Using colors created with colors.packRGB results in an error, as the color lookup in the tHex library fails. I'd Like to be able to use custom colors for gradients in heat graphs and darkening buttons when clicked.

Are there plans to support custom colors, and is this even supported by the monitors?

NoryiE commented 2 months ago

Hi, CC:Tweaked is only able to show 16 colors at a time, basalt is also limited to that. The only way to change colors is by editing the current color palette: https://tweaked.cc/module/term.html#v:setPaletteColour

zambony commented 2 months ago

Ah, I guess I missed that. That's a shame. Thanks.