component-new
v0.0.1
Published
Placeholder for component.new.
Readme
component-new
Early stage — the home of component.new. More to come.
Install
npm install component-newUsage
import { caramelize } from "component-new";
caramelize("#3366cc"); // shifted halfway toward orange
caramelize("#3366cc", 1); // fully orangecaramelize(color: string, amount = 0.5): string shifts a hex color toward orange. amount is clamped to 0–1, where 0 returns the input color unchanged and 1 returns pure orange.
