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

[FEAT] More than 9 colors in ascii custom logos #928

Closed
FrancescoCaracciolo opened this issue May 16, 2024 · 4 comments
Closed

[FEAT] More than 9 colors in ascii custom logos #928

FrancescoCaracciolo opened this issue May 16, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@FrancescoCaracciolo
Copy link

Wanted features:

Support for more than 9 colors in displaying the ASCII, at the moment it is only possible to add $N [1-9] colors.

Motivation:

The logo I want to use has like 236 different colors...

@FrancescoCaracciolo FrancescoCaracciolo added the enhancement New feature or request label May 16, 2024
@CarterLi
Copy link
Member

$N was designed for changing color palette in config file. A logo that has 236 different colors makes $N meaningless. In this case, you can embed ANSI escape code directly in the logo file.

https://github.com/fastfetch-cli/fastfetch/blob/9f35ba7751773103827ee8cb92ae5013c5fd397b/src/logo/ascii/furreto.txt

@CarterLi
Copy link
Member

Worth noting that we don't accept logos that has so many colors. You either reduce the number of colors, or maintain the logo yourself.

@FrancescoCaracciolo
Copy link
Author

image
Am I missing something?

@FrancescoCaracciolo
Copy link
Author

Yeah I was missing something, on github the escape characters were not shown so I didn't notice. Fixed by replacing every "[" with "�[".
Thank you

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

No branches or pull requests

2 participants