refactor: rename theme functions for clarity and update color palette references

This commit is contained in:
Dan Dobos
2025-10-20 20:49:45 +02:00
parent 44eeae2db3
commit 9eeb3c5a7b
4 changed files with 117 additions and 104 deletions
+2 -2
View File
@@ -3,7 +3,7 @@ import React, { useContext } from "react";
import { ThemeProvider } from "@mui/material/styles";
import { AppContext } from "App";
import { LandingWhite } from "themes/Theme";
import { getLandingWhite } from "themes/Theme";
import FullScreenContainer from "layouts/common/fullScreenContainer";
import BackToTop from "../common/backToTop";
@@ -16,7 +16,7 @@ const LandingLayout = (props) => {
return (
<AppContext.Provider value={colorMode}>
<ThemeProvider theme={LandingWhite}>
<ThemeProvider theme={getLandingWhite}>
<div id="back-to-top-anchor" />
<Header />
<FullScreenContainer>