Search Docs
Loading...
Skip to content

Type Alias: ThemeFn

type ThemeFn = () => Theme;

A function that returns a theme value. This allows for dynamic theme selection based on runtime conditions. The function is evaluated lazily whenever the theme is accessed.

Returns#

Theme