7
common/resources/client/ui/themes/use-light-theme-variables.ts
Executable file
7
common/resources/client/ui/themes/use-light-theme-variables.ts
Executable file
@@ -0,0 +1,7 @@
|
||||
import {useBootstrapData} from '@common/core/bootstrap-data/bootstrap-data-context';
|
||||
|
||||
export function useLightThemeVariables() {
|
||||
const {data} = useBootstrapData();
|
||||
return data.themes.all.find(theme => !theme.is_dark && theme.default_light)
|
||||
?.values;
|
||||
}
|
||||
Reference in New Issue
Block a user