@omnia/fx
Version:
Provide Omnia Fx typings and tooling for clientside Omnia development.
20 lines (19 loc) • 912 B
TypeScript
import { ThemeDefinitionV2 } from "..";
export declare const useVelcronThemingStore: (newStateWithName?: string) => {
state: {
currentTheme: ThemeDefinitionV2;
};
get: {
colorSchema: (colorSchemaType: string) => import("..").ColorSchema;
typography: (typographyType: string) => import("..").TypographyType;
color: (colorSchemaType: string, colorType: string) => string;
colorDefinition: (colorSchemaType: string, colorType: string) => import("..").ColorDefinition;
complementaryColorType: (colorType: string) => string;
complementaryColor: (colorSchemaType: string, colorType: string) => string;
complementaryColorDefinition: (colorSchemaType: string, colorType: string) => import("..").ColorDefinition;
currentTheme: () => ThemeDefinitionV2;
};
actions: {
setTheme(newTheme: ThemeDefinitionV2): void;
};
};