feature: Custom colors #110

Closed
opened 2024-04-20 15:32:01 +08:00 by zambony · 2 comments
zambony commented 2024-04-20 15:32:01 +08:00 (Migrated from github.com)

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?

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 2024-04-20 19:47:22 +08:00 (Migrated from github.com)

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

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 2024-04-21 02:39:16 +08:00 (Migrated from github.com)

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

Ah, I guess I missed that. That's a shame. Thanks.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: GitHub/Basalt#110
No description provided.