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: Add ASCII art banner functionality and update error text styling #46

Merged
merged 1 commit into from
Jan 24, 2024

Conversation

mdsanima
Copy link
Contributor

@mdsanima mdsanima commented Jan 24, 2024

ASCII art

Introduced a new script for generating colorized ASCII art banners using figlet to enhance the visual appeal of the mdsanima-shell script. This includes sourcing color definitions and print functions, along with custom banner art featuring multiple color variants. Additionally, improved error message visibility in the print script by changing the error text from black bold to white bold on a red background, ensuring better readability under various terminal color schemes.

This addresses concerns related to readability in the terminal UI.

The banners are generated using the command-line tool called figlet, which is available in most Linux distributions. FIGlet is a program for creating large letters out of ordinary text, allowing you to generate text banners.

To use it, simply type figlet -f future "mdsanima-shell" in the terminal and press enter to get the banner.

This adjustment maintains your content while improving the flow and clarity of the information.

Introduced a new script for generating colorized ASCII art banners using
`figlet`, enhancing the visual appeal of the `mdsanima-shell` script. It
includes sourcing color definitions and print functions, and custom
banner art with multiple color variants. Separately, improved error
message visibility in the `mdsanima-prints` script by switching error
text from black bold to white bold on a red background, ensuring better
readability under various terminal color schemes.

Resolves readability concerns in terminal UI.
@mdsanima mdsanima merged commit 60e531e into main Jan 24, 2024
1 check passed
@mdsanima mdsanima deleted the feat/color-ascii-baner branch January 24, 2024 18:05
mdsanima added a commit that referenced this pull request Jan 31, 2024
Removed the import and file for `banner.sh` module.

This will be replaced with a new function that enables you to
use `figlet` directly in the terminal and in scripts.

Related: #46
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.

1 participant