/** * The tunables, one table (judged against the `df-avatar` reference card in * tools/native/liquid-motion.md). Dark Factory's own values: a 135 degree blend from * oklch(0.8 0.1 h) to oklch(0.6 0.17 h+35), over its ten stage hues. */ export declare const IDENTITY_GRADIENT: { /** The blend's direction in CSS degrees (135: top-left to bottom-right). */ readonly angle: 135; /** The pale stop at the top-left: OKLCH lightness and chroma, at the identity's hue. */ readonly light: { readonly l: 0.8; readonly c: 0.1; }; /** The deep stop at the bottom-right: lightness, chroma, and its hue shift. */ readonly deep: { readonly l: 0.6; readonly c: 0.17; readonly hueShift: 35; }; }; /** Dark Factory's stage hues, the set an identity resolves into. */ export declare const IDENTITY_HUES: readonly [20, 45, 335, 285, 255, 225, 195, 155, 115, 70]; /** * The hue an identity string (a name, else the initials) resolves to: a stable, * deterministic hash (no RNG), so one person has the same color across sessions, * platforms and re-renders. */ export declare function identityHue(identity: string): number; /** * The v4 hand-off's identity hues (cv-kit-code.js `K.hueOf`): the hues a stock initials * disc's flat wash resolves into. Argus's reference discs keep the stage hues above. */ export declare const WASH_HUES: readonly [285, 205, 165, 20, 75, 250, 330, 125]; /** * The hue a stock initials disc takes for an identity string: the hand-off's own hash (an * unsigned 32-bit `h * 31 + code`, over each code point) into its eight hues, so a name * gets the disc colour the hand-off draws for it. */ export declare function washHue(identity: string): number; /** An identity disc: its two gradient stops, a solid stand-in, and the initials' ink. */ export interface IdentityDisc { /** The pale top-left stop. */ from: string; /** The deep bottom-right stop. */ to: string; /** The blend's midpoint, the one color that stands for the disc where a gradient cannot draw. */ mid: string; /** * The initials' ink: white or near-black, whichever holds the better contrast against * BOTH stops (the kit's 4.5:1 text floor). On Dark Factory's ramp that is near-black * everywhere (4.59:1 at worst); its white initials measure 1.79 to 1.96:1. */ ink: string; } /** The disc for a hue. */ export declare function identityDisc(hue: number): IdentityDisc; //# sourceMappingURL=identity-hue.d.ts.map