Skip to content

Commit

Permalink
Merge pull request #63 from EarthMaker-MC/GeekCornerGH-patch-1
Browse files Browse the repository at this point in the history
fix: Use Catppuccin theme based on colorTheme
  • Loading branch information
Ellinikor authored Oct 8, 2024
2 parents cb4163f + d55d9b5 commit 7735ce4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Giscus.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default function GiscusComments() {
strict="1"
reactionsEnabled="1"
inputPosition="top"
theme="https://raw.githubusercontent.com/catppuccin/giscus/refs/heads/main/themes/mocha.css"
theme={colorMode === "light" ? "https://raw.githubusercontent.com/catppuccin/giscus/refs/heads/main/themes/latte.css" : "https://raw.githubusercontent.com/catppuccin/giscus/refs/heads/main/themes/mocha.css"}
lang={currentLocale}
loading="lazy"
/>
Expand Down

0 comments on commit 7735ce4

Please sign in to comment.