trait HasTheme (View source)

Properties

protected Theme|null $theme
protected string $viteTheme
protected string|null $viteThemeBuildDirectory
protected ThemeMode $defaultThemeMode

Methods

viteTheme(string|array $theme, string|null $buildDirectory = null)

No description

theme(Theme $theme)

No description

getTheme()

No description

getDefaultTheme()

No description

defaultThemeMode(ThemeMode $mode)

No description

ThemeMode
getDefaultThemeMode()

No description

Details

HasTheme viteTheme(string|array $theme, string|null $buildDirectory = null)

No description

Parameters

string|array $theme
string|null $buildDirectory

Return Value

HasTheme

HasTheme theme(Theme $theme)

No description

Parameters

Theme $theme

Return Value

HasTheme

Theme getTheme()

No description

Return Value

Theme

Theme getDefaultTheme()

No description

Return Value

Theme

HasTheme defaultThemeMode(ThemeMode $mode)

No description

Parameters

ThemeMode $mode

Return Value

HasTheme

ThemeMode getDefaultThemeMode()

No description

Return Value

ThemeMode