Merge branch 'dev' into 'production'

Merge branch 'Homepage Refactoring - Pt .3' into 'production'

See merge request rheinsw/website!30
This commit is contained in:
2025-04-16 17:40:59 +00:00
parent 5336eb327e
commit 37cde33b41
36 changed files with 896 additions and 473 deletions

10
utils/useThemeColors.ts Normal file
View File

@@ -0,0 +1,10 @@
'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];
};