trellis
Version:
Agentic State Engine — event-sourced causal graph with branching, decision traces, and realtime sync for AI-native applications
10 lines • 423 B
TypeScript
/**
* CSS color alpha helper for runtime UI (drawer badges, tinted fills).
* Keep the algorithm in sync with the inline copy in `src/ui/client.html`.
*/
/**
* Return a CSS color with the given alpha in [0, 1].
* Handles `#rgb` / `#rrggbb` and `rgba()` / `rgb()`. Empty or garbage → `transparent`.
*/
export declare function withAlpha(color: string, alpha01: number): string;
//# sourceMappingURL=color-tint.d.ts.map