@yandex/ui
Version:
Yandex UI components
27 lines (26 loc) • 784 B
TypeScript
import { Nullable } from '../typings/utility-types';
export declare const cnTheme: import("@bem-react/classname").ClassNameFormatter;
export declare type Theme = {
/**
* Цвета компонентов.
*/
color: string;
/**
* Общие параметры компонентов.
*/
root: string;
};
declare type ConfigureRootThemeOptions = {
/**
* Корневая тема приложения.
*/
theme?: Theme;
/**
* DOM-Элемент на который должна быть установлена корневая тема.
*
* @default HTMLBodyElement
*/
root?: Nullable<Element>;
};
export declare const configureRootTheme: ({ theme, root }: ConfigureRootThemeOptions) => void;
export {};