@suluk/theme - v0.1.1
    Preparing search index...

    Interface Oklch

    The OKLCH value type (saastarter-parity Phase 1). saastarter's themes are OKLCH (globals.css), the modern perceptually-uniform color space — lightness, chroma, hue are independent, which is exactly what makes a deterministic light→dark derivation tractable (you move L without smearing hue). Pure value type + parse/format; no CSS engine, no deps.

    interface Oklch {
        l: number;
        c: number;
        h: number;
        alpha?: number;
    }
    Index

    Properties

    Properties

    l: number

    perceptual lightness, 0 (black) … 1 (white).

    c: number

    chroma (colorfulness), ≥ 0 (~0.37 max for sRGB).

    h: number

    hue angle in degrees, 0 … 360.

    alpha?: number

    optional alpha, 0 … 1.