unocss-preset-radix-ui-colors
Version:
A preset for UnoCSS to easily use Radix UI color palette with P3 support and optimized generated CSS size .
13 lines (11 loc) • 391 B
TypeScript
import { RadixHue } from './types';
type Props = {
darkSelector: string;
lightSelector: string;
prefix: string;
useP3Colors: boolean;
onlyOneTheme?: string | null;
aliases: Record<string, RadixHue>;
};
export declare function generateCSSVariablesForColorsInUse({ darkSelector, lightSelector, prefix, useP3Colors, onlyOneTheme, aliases, }: Props): string;
export {};