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

    Function oklch

    @suluk/theme — the design-token CONTRACT. Author ONE TokenSpec (OKLCH colors + radius/fonts/scales) and project it into CSS custom properties, the Tailwind v4 @theme block, and a shadcn token map — so the look has a single source of truth instead of three hand-synced copies. Includes an OKLCH value type + a deterministic generate-dark-from-light, with reference schemes proving the mechanism. The 40+ curated catalog + the no-flash stamper/picker are meta-product / app-layer breadth, NOT this package. CANDIDATE tooling.

    • Construct an OKLCH color (clamped to valid ranges).

      Parameters

      • l: number
      • c: number
      • h: number
      • Optionalalpha: number

      Returns Oklch