@ozen-ui/kit
Version:
React component library
16 lines (15 loc) • 613 B
TypeScript
import { themeHelper } from '../../components/ThemeProvider';
type VariablesVariant = 'color' | 'breakpoint' | 'zIndex' | 'space' | 'spacing' | 'control' | 'borderRadius' | 'borderWidth' | 'shadow' | 'typography' | 'transition';
/**
* @deprecated Используйте {@link useThemeVariables}
*/
export type ThemeVariables = {
[P in VariablesVariant]: {
[key in (typeof themeHelper)[P][number]]: string;
};
};
/**
* @deprecated Хук устарел. Для замены используйте {@link useThemeVariables}
*/
export declare function useThemeVars(): ThemeVariables;
export {};