Skip to content

Conversation

relic-se
Copy link
Contributor

@relic-se relic-se commented Aug 5, 2025

One caveat of switching to JSON is that it does not support hex integer values. Color values are instead stored as strings which are then converted to integers using int(..., 16).

Here's an example palette configuration within launcher.config.json (I call it "terminal green"):

{
    "palette": {
        "bg": "0x000000",
        "fg": "0x00ff00",
        "arrow": "0x004400",
        "accent": "0x008800"
    }
}

Copy link
Contributor

@FoamyGuy FoamyGuy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! looks good to me. Tested successfully with the green configs from the comment, and default colors with no config.

@FoamyGuy FoamyGuy merged commit aa5ed36 into adafruit:main Aug 5, 2025
1 check passed
@relic-se relic-se deleted the color-palette-json branch August 14, 2025 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants