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

🎨 Add black colors to default overriding function #1993

Merged
merged 6 commits into from Aug 2, 2022

Conversation

Maxi-Mega
Copy link
Contributor

As the black color was not overridden in the defaultColors function, if no black color was specified in the Config the black color was left undefined.
For instance, it gave this result because the cyan color was not replace by the black one.
image
I also had to fix padding issues due to the length of the string that increased because of the color chars.

@ReneWerner87 ReneWerner87 merged commit 4f78167 into gofiber:master Aug 2, 2022
trim21 pushed a commit to trim21/fiber that referenced this pull request Aug 15, 2022
* Fix padding around app name in startup message when it contains non-ascii characters

* fix conflict, allow ending space only for odd length strings

* move startup message tests to listen_test.go

* add black color to defaultColors overriding function, fix (again) padding in startupMessage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants