Skip to content

Commit

Permalink
Merge pull request #2093 from Agenta-AI/AGE-954/-disable-dark-mode-fe…
Browse files Browse the repository at this point in the history
…ature

fix(frontend): Disable Dark Mode Feature
  • Loading branch information
aakrem authored Sep 30, 2024
2 parents 131fe1a + 864e243 commit b05e29b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions agenta-web/src/components/Layout/ThemeContextProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const ThemeContextProvider: React.FC<PropsWithChildren> = ({children}) => {
setAppTheme(getAppTheme(themeMode))
}, [themeMode])

const val = appTheme || ThemeMode.Light
const val = ThemeMode.Light

return (
<ThemeContext.Provider
Expand All @@ -67,8 +67,7 @@ const ThemeContextProvider: React.FC<PropsWithChildren> = ({children}) => {
>
<ConfigProvider
theme={{
algorithm:
val === ThemeMode.Dark ? theme.darkAlgorithm : theme.defaultAlgorithm,
algorithm: theme.defaultAlgorithm,
...antdTokens,
}}
>
Expand Down

0 comments on commit b05e29b

Please sign in to comment.