wave-roll
Version:
JavaScript Library for Comparative MIDI Piano-Roll Visualization
12 lines • 518 B
TypeScript
/**
* Injects accessibility-first color tokens as CSS Custom Properties.
*
* - Provides semantic variables (surface, text, border, accent, focus, etc.).
* - Chooses colors with WCAG 2.1 AA contrast targets:
* - Text vs. surfaces >= 4.5:1 (normal text)
* - Large text/icons >= 3:1
* - UI borders/tracks >= 3:1 against adjacent background
* - Icons should use `currentColor` to inherit text color naturally.
*/
export declare function ensureThemeStylesInjected(): void;
//# sourceMappingURL=theme.d.ts.map