UPDATE: Store Theme in User Cache

Also added some comments explaining ThemeContext.tsx
This commit is contained in:
EvanLin3141
2025-02-09 17:37:02 +00:00
parent 4cc48fe0b2
commit 07652eed0d
2 changed files with 50 additions and 15 deletions

View File

@@ -34,3 +34,11 @@ const Theme: React.FC = () => {
};
export default Theme;
{/*
${isMode ?
`text-white bg-[#3478ef] hover:text-[#3478ef] hover:bg-[#000000]
border-[#3478ef] hover:border-[##3478ef]` :
`text-yellow-400 bg-white hover:text-yellow-400 hover:bg-white
border-yellow-400 hover:border-yellow-400`}
hover:border-b-4 hover:border-l-4 active:border-b-2 active:border-l-2 transition-all `} */}