trait HasDarkMode (View source)

Properties

protected bool $hasDarkMode
protected bool $hasDarkModeForced

Methods

darkMode(bool $condition = true, bool $isForced = false)

No description

bool
hasDarkMode()

No description

bool
hasDarkModeForced()

No description

Details

HasDarkMode darkMode(bool $condition = true, bool $isForced = false)

No description

Parameters

bool $condition
bool $isForced

Return Value

HasDarkMode

bool hasDarkMode()

No description

Return Value

bool

bool hasDarkModeForced()

No description

Return Value

bool