{"repo":"tr1ckydev/chameleon","free":true,"listed":false,"github":"https://github.com/tr1ckydev/chameleon","clone":"git clone https://github.com/tr1ckydev/chameleon.git","description":"🦎 Terminal string styling for zig.","language":"Zig","stars":120,"topics":["terminal","terminal-styling","zig","zig-package"],"license":"MIT","category":"cli-tools","readme_excerpt":"chameleon 🦎 Terminal string styling for zig. Currently the only fully featured terminal color solution for zig. ⚡ - Expressive API - Highly performant - Ability to nest styles - Ability for custom themes - No dependencies - Clean and focused - Truecolor support - 140+ built in color presets Installation Chameleon supports only zig master branch. - Install the package. - Add the package in build.zig . - Import it in your project. Usage Chameleon is divided into two APIs — Comptime and Runtime . - Comptime: The comptime API is simplest way to implement colors in your terminal. - Runtime: The runtime API is much more flexible and is the recommended way when building for production. At the end, choose what fits best for your use case. Documentation Check out the full documentation here. NO COLOR support According to no-color.org, \"Command-line software which adds ANSI color to its output by default should check for a NO COLOR environment variable that, when present and not an empty string (regardless of its value), prevents the addition of ANSI color.\" Chameleon supports this standard only in it's Runtime API by detecting the presence of the NO COLOR environment variable (regardless of it's value), if present disables any ANSI colors or styles, and can also be configured to not do so if you want to implement a different way of detection, although highly not recommended. License This repository uses the MIT License. Check LICENSE for full license text.","default_branch":null,"files":null,"tree":[],"storefront":"/r/tr1ckydev","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/tr1ckydev/chameleon/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}