@kuma-ui/system
Version: 
🐻 Kuma UI is a utility-first, zero-runtime CSS-in-JS library that offers an outstanding developer experience and optimized performance.
19 lines (16 loc) • 682 B
TypeScript
import { ColorKeys } from '../keys.js';
import { ThemeSystemType, AddProperty, CSSValue, CSSProperties } from '../types.js';
import 'csstype';
import '@kuma-ui/sheet';
type ColorProps<T extends ThemeSystemType = ThemeSystemType> = Partial<AddProperty<{
    /**
     * @see background
     */
    bg: CSSValue<"background">;
    /**
     * @see backgroundColor
     */
    bgColor: CSSValue<"backgroundColor">;
} & CSSProperties<"background" | "backgroundColor" | "borderColor" | "outlineColor" | "color" | "accentColor" | "caretColor" | "opacity" | "visibility", false>, T["colors"]>>;
declare const colorMappings: Record<ColorKeys, string>;
export { ColorProps, colorMappings };