Merge branch 'Homepage Refactoring - Pt .3' into 'production' See merge request rheinsw/website!30
11 lines
295 B
TypeScript
11 lines
295 B
TypeScript
'use client';
|
|
|
|
import {useContext} from "react";
|
|
import {ThemeContext} from "@/components/provider/ThemeProvider";
|
|
import {themeColors} from "@/components/Helper/ThemeColors";
|
|
|
|
export const useThemeColors = () => {
|
|
const {theme} = useContext(ThemeContext);
|
|
return themeColors[theme];
|
|
};
|