0.1.0 • Published 3 years ago

nanocolors-template v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Nano Colors Template

Tagged template literal for nanocolors.

const { colorize } = require("nanocolors-template");

colorize`{red Is red color text}`;

const text = "Is yellow color red background";
colorize`{yellow.bgRed ${text} text}`;

colorize`{bgBlack.green.strikethrough is red color black background strikethrough text}`;

colorize`{red Is red color and {yellow yellow color} text}`;

Blocks are delimited by an opening curly brace {, a style, some content, and a closing curly brace }.

0.1.1

3 years ago

0.1.0

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago