clwind - TailwindCSS-ish API for you CLI text
ANSII color codes are a pain to remember, and just like plain CSS, it can take more time to write than it should. This is a simple API that allows you to add colors and styles to your CLI text with a TailwindCSS-like syntax.
Installation
Usage
use ;
Features
Colors
- Variants:
black,red,green,yellow,blue,magenta,cyan,white; and thebright_prefixes for each of them. - Hex:
Hex(0xf2f2f2) - RGB:
RGB(255, 255, 255) - 256:
Color256(255)
Styles
- bold
- dim
- italic
- underline
- blink
- reverse
- hidden
- strikethrough
License
MIT