Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
lifeparticle committed Oct 1, 2023
1 parent 43c11d3 commit 08aa181
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions ui/src/lib/utils/hooks/useTheme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { DarkModeContext } from "lib/utils/context/DarkModeProvider";

const useTheme = () => {
const { algorithm, isDarkMode } = useContext(DarkModeContext);

const THEME = {
algorithm,
token: {
Expand All @@ -20,6 +21,15 @@ const useTheme = () => {
colorPrimary: isDarkMode ? "#ffffff" : "#333333",
algorithm: true,
},
Menu: {
colorPrimary: "var(--bt-color-hover)",
},
Tabs: {
colorPrimary: "var(--bt-color-hover)",
},
Input: {
colorPrimary: "var(--bt-color-hover)",
},
},
};

Expand Down

0 comments on commit 08aa181

Please sign in to comment.