Relocate the ~6k-file docs tree from the repo root into plugins/document-navigator/docs/ so the plugin is self-contained and portable. docs/superpowers/ (specs and plans) stays at the repo root. Moved via cp+rm rather than git mv because directory rename() fails with EPERM on this WSL /mnt DrvFs mount; git rename-detection pairs the identical-content files at commit time. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@suaveplan/colour-convert-hsluv - HSLuv perceptually uniform colour space: conversions and harmony generators
HSLuv perceptually-uniform colour space with gamut-mapped ray intersection for sRGB. This plugin provides bidirectional RGB↔HSLuv/HPLuv conversions and uniform colour harmonies (complementary, triad, tetrad) that preserve perceptual lightness across hue rotations.
Documentation tree
- colour-convert-hsluv —
colour-convert-hsluv.tsimplements the HSLuv perceptually uniform colour space. Unlike HSL, which stretches and compr…- colour-convert-hsluv —
colour-convert-hsluv.tsimplements the HSLuv perceptually uniform colour space. Unlike HSL, which stretches and compr…
- colour-convert-hsluv —
Installation
bun add @suaveplan/colour-convert-hsluv
Quick Start
import { rgbToHsluv, hsluvToRgb, uniformTriad } from "@suaveplan/colour-convert-hsluv";
const hsluv = rgbToHsluv({ r: 255, g: 0, b: 0 });
console.log(hsluv); // { h: ~12.2, s: ~100, l: ~53.2 }
const colours = uniformTriad({ r: 59, g: 130, b: 246 });
console.log(colours); // [primary, secondary, tertiary]
Modules
src/colour-convert-hsluv/colour-convert-hsluv.md— HSLuv/HPLuv conversion and uniform harmonies implementation