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

🚀 - Support for custom color for text #640

Open
juraj-hrivnak opened this issue Aug 13, 2024 · 3 comments
Open

🚀 - Support for custom color for text #640

juraj-hrivnak opened this issue Aug 13, 2024 · 3 comments
Labels
feature New feature or request

Comments

@juraj-hrivnak
Copy link

Which @codeimage/* package(s) are relevant/releated to the feature request?

config

Description

This app would be great for generating images for CLIs, but they often require custom colour styles.
Being able to configure colour would fix the issue.

@juraj-hrivnak juraj-hrivnak added the feature New feature or request label Aug 13, 2024
@riccardoperra
Copy link
Owner

Hi, what do you mean about custom color style? It’s not clear

@juraj-hrivnak
Copy link
Author

For example, I created this image from a screenshot from my terminal:

As you can see different texts have different colours. With this suggestion, I mean that you could be able to select text and set its colour individually.

@riccardoperra
Copy link
Owner

I don't think this will be supported in the near future, CodeImage relies on codemirror6 and themes/colors are statically defined.

Customizable text decorations (color, bold, italic) needs a "text editor ui" which currently isn't in my plan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants