@octopusdeploy/design-system-components
Version:
The design systems component library.
17 lines (16 loc) • 791 B
TypeScript
import type { OctopusTheme } from "@octopusdeploy/design-system-tokens";
import type { PropsWithChildren } from "react";
import React from "react";
export interface ThemeProps {
className?: string;
themeName: ThemeName;
customFontOverride?: string;
isFullHeight?: boolean;
}
export declare const DesignSystemThemeProvider: React.Provider<OctopusTheme | undefined>;
export declare function useDesignSystemTheme(): OctopusTheme;
export declare function useIllustrationThemeName(): IllustrationThemeName;
export declare function Theme({ className, themeName, customFontOverride, isFullHeight, children }: PropsWithChildren<ThemeProps>): import("react/jsx-runtime").JSX.Element;
type IllustrationThemeName = "light" | "dark";
export type ThemeName = "light" | "dark";
export {};