colorify is a package that allows you to produce colorful output using ANSI codes. This package is designed to simplify the process of generating colorful outputs using the Jule Programming Language.
- Simple and straightforward package written in Jule.
- Support for text and background coloring, formatting and graphic settings using ANSI codes.
- Runs in any console-based environment that supports ANSI codes.
To use the colorify package, follow these steps:
- Download or clone the colorify package from the GitHub repository.
- Add the colorify directory to the root directory of your project.
- Include the colorify package in your project's source files.
- Ta-da!
Below is an example showcasing the basic usage of the colorify package:
// include the package
use colorify::colorify::{Style, Foreground, Font, colorify}
fn main() {
// create a variable named "style" using the Style struct
let style = Style{
fg: Foreground.BrightBlack,
fonts: [Font.Bold]
}
// colorify your text with your style and print it
outln(
colorify("Hello, world!", style)
)
}
We welcome contributions to the colorify package! To contribute, simply fork the repository, make your desired changes, and submit a pull request.
This project is licensed under the MIT License. For more information, see the LICENSE file.
If you have any questions or suggestions open an issue on the GitHub Issues page.