Skip to content

Commit

Permalink
[FIX] darkmoe 관련 css 경로 이동 (intota public dir.)
Browse files Browse the repository at this point in the history
  • Loading branch information
GarlicB committed May 14, 2023
1 parent 5eff19f commit 947ebc4
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/components/Context.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const ContextProvider: React.FC<ContextProviderProps> = ({
link1 = document.createElement("link");
link1.id = "main-darkmode";
link1.rel = "stylesheet";
link1.href = isDarkMode ? "/src/main-dark.css" : "/src/main-light.css";
link1.href = isDarkMode ? "./main-dark.css" : "./main-light.css";
document.head.appendChild(link1);

// 2. Markdown Code Block Light <-> Dark Toggle
Expand Down

0 comments on commit 947ebc4

Please sign in to comment.