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
>