UNPKG

@electrovir/color

Version:

A wrapper for culori with an extremely simple API.

18 lines (17 loc) 617 B
import { type ColorPair } from '../data/color-css.js'; import { type FontWeight } from '../data/contrast/contrast.js'; /** * Showcase a foreground/backend color pair. * * @category Elements */ export declare const VirColorPair: import("element-vir").DeclarativeElementDefinition<"vir-color-pair", { color: Readonly<ColorPair>; showVarValues: boolean; showVarNames: boolean; showContrast: boolean; fontWeight: FontWeight; }, { previewElement: undefined | HTMLElement; forceShowEverything: boolean; }, {}, "vir-color-pair-no-contrast-tips", "vir-color-pair-", readonly [], readonly []>;