Skip to content

Commit

Permalink
🐛 Fix sugar-high styles
Browse files Browse the repository at this point in the history
  • Loading branch information
n1ckoates committed Nov 3, 2024
1 parent 9b58d96 commit 4c69755
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 6 additions & 4 deletions app/blog/[slug]/code.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
:root {
--sh-class: #2d5e9d;
--sh-identifier: #354150;
--sh-keyword: #f47067;
--sh-string: #00a99a;
--sh-class: #8d85ff;
--sh-property: #4e8fdf;
--sh-entity: #6eafad;
--sh-jsxliterals: #bf7db6;
--sh-sign: #8996a3;
--sh-string: #007f7a;
--sh-keyword: #e02518;
--sh-comment: #a19595;
--sh-jsxliterals: #6266d1;
}

:root.dark {
Expand Down
4 changes: 1 addition & 3 deletions app/components/Menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@ export default function Menu({

useEffect(() => {
function handleResize() {
if (window.innerWidth >= 1024) {
setOpen(false);
}
if (window.innerWidth >= 1024) setOpen(false);
}

window.addEventListener("resize", handleResize);
Expand Down

0 comments on commit 4c69755

Please sign in to comment.