Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where to modify background/font palette? #125

Open
ti-r2 opened this issue Apr 19, 2024 · 1 comment
Open

Where to modify background/font palette? #125

ti-r2 opened this issue Apr 19, 2024 · 1 comment

Comments

@ti-r2
Copy link

ti-r2 commented Apr 19, 2024

I noticed the font PNG has 5 indexed colors, of multiple shades of gray, and if I try to use multiple shades in the letters they do show up after compiling. However, when I change the palette in the font file, it still reverts to shades of gray. Is there a way to set the font palette so I could use multiple colors on my font file?
Similarly, where in code is the background color of the text box set, and is there a way to easily change it?

@haroldo-ok
Copy link
Owner

The problem is that the font and the cursor share the same palette; whichever of the two that's called last, will be the one used. You could try to move the font declaration to happen after the cursor declaration

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

No branches or pull requests

2 participants