itty-chroma
Advanced tools
Comparing version 0.1.3 to 0.1.4
{ | ||
"name": "itty-chroma", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "Powerful styling for the browser console in under 500 bytes.", | ||
@@ -5,0 +5,0 @@ "main": "./chroma.js", |
@@ -5,3 +5,3 @@ <br /> | ||
<a href="https://itty.dev/itty-chroma" target="_blank"> | ||
<img src="https://github.com/kwhitley/itty-chroma/assets/865416/e45b9e04-a442-43b1-9961-59d62c62e88a" alt="itty-chroma" height="120" /> | ||
<img src="https://github.com/user-attachments/assets/cfe915d5-63ce-4297-83ef-316426c7af57" alt="itty-chroma" height="120" /> | ||
</a> | ||
@@ -24,4 +24,5 @@ </p> | ||
- Tiny. It's about 470 bytes. | ||
- Tiny. It's an itty library, after all. | ||
- Made specifically for the browser console. | ||
- Loads of styling options, with infinite combinations. | ||
- Simple and powerful API. | ||
@@ -33,7 +34,7 @@ | ||
// keep it simple | ||
// you can keep it simple | ||
chroma.red.bold.underline.log('This is bold, red, underlined text') | ||
// or go wild | ||
const badge = chroma.padding('3px 6px').bg('#444').white.radius('0.3rem') | ||
const badge = chroma.padding('3px 6px').bg('#444').color('white').radius('0.3rem') | ||
const description = chroma.italic.color('#666').size('0.9em') | ||
@@ -40,0 +41,0 @@ |
6895
48