@blueprintjs/core
Version:
Core styles & components
7 lines (6 loc) • 494 B
TypeScript
import type { ThemeAPI } from "../../theme/themeApi";
import { type BlueprintThemeTokens } from "./themeContext";
/** Returns overrides for the current subtree, or undefined when no valid theme is active. */
export declare function useBlueprintThemeTokens(): BlueprintThemeTokens | undefined;
/** Returns the validated theme selected for this Blueprint version, preserving the input object's identity and extra fields. */
export declare function useBlueprintThemeValue(): ThemeAPI | undefined;