beautify 🎨
A simple Rust crate for beautifying your terminal output with colors, gradients, and text effects with more then 300 methods.
Installation
Features
Colors
use Colors;
// Basic colors
println!;
println!;
// Accent colors (with shades 50-950)
println!;
println!;
// Multiple styles
println!;
Gradients
use Colors;
// Text gradients
println!;
// Background gradients
println!;
Text Effects
use Colors;
// Basic formatting
println!;
println!;
println!;
// Animations
println!;
println!;
println!;
// Fading effects
println!;
println!;
Text Layout
use Colors;
// Padding and alignment
println!;
println!;
println!;
// Borders
println!;
println!;
println!;
Color Palettes
- Default colors: black, red, green, blue, yellow, magenta, cyan, white
- Bright variants: bright_red, bright_blue, etc.
- Modern accent colors with 11 shades (50-950):
- Red:
text_red_50()totext_red_950() - Blue:
text_blue_50()totext_blue_950() - Green:
text_green_50()totext_green_950() - Yellow:
text_yellow_50()totext_yellow_950() - Purple:
text_purple_50()totext_purple_950() - Pink:
text_pink_50()totext_pink_950() - Black/Gray:
text_black_50()totext_black_950()
- Red:
All colors are available as both text colors (text_*) and background colors (bg_*).
Contributing
Contributions are welcome! Feel free to open issues and pull requests.
License
This project is licensed under the MIT License.