Directus / @directus/themes / index / useTheme
Function: useTheme() ​
useTheme(
darkMode
,themeLight
,themeDark
,themeLightOverrides
,themeDarkOverrides
):object
Parameters ​
• darkMode: MaybeRef
<boolean
>
• themeLight: MaybeRef
<null
| string
>
• themeDark: MaybeRef
<null
| string
>
• themeLightOverrides: MaybeRef
<object
>
• themeDarkOverrides: MaybeRef
<object
>
Returns ​
object
theme ​
theme:
ComputedRef
<object
|object
>