Skip to content

Add dark mode #7#17

Open
georgiybza wants to merge 2 commits into
CarletonComputerScienceSociety:mainfrom
georgiybza:main
Open

Add dark mode #7#17
georgiybza wants to merge 2 commits into
CarletonComputerScienceSociety:mainfrom
georgiybza:main

Conversation

@georgiybza

Copy link
Copy Markdown

No description provided.

@georgiybza georgiybza linked an issue Jun 29, 2026 that may be closed by this pull request
6 tasks
Comment thread src/styles/global.css
--radius-card: 0.75rem;
}

/* Dark Mode, may need to adjust as see fit */

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good start! I do think some of the colors could be slightly different. While looking at the changes, what I notice is the main primary text might feel a bit too bright, and the secondary text and red text may be a little too dim against the dark background.
Also, the gap between the canvas and surface blacks can potentially be a bit wider so they pop more.

I'd try playing around with the hex codes a bit more (let me know if I can clarify my thoughts here more since they may be a bit vague)

Comment thread src/styles/global.css
--radius-card: 0.75rem;
}

/* Dark Mode, may need to adjust as see fit */

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This comment can probably just be "Dark mode token overrides"

Comment thread src/styles/global.css
@@ -1,4 +1,5 @@
@import 'tailwindcss';
@custom-variant dark (&:where(.dark, .dark *)); /* May break, unrecognized rule */

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The comment here seems unnecessary, could remove it or change to something like "dark mode rule" - seems to be a valid tailwind rule and the linting/formatting checks don't flag anything weird here

const path = Astro.url.pathname;
---

<!-- Import Lucide Icons -->

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The comment may be misplaced slightly? Could go near the import line or where the icons are used

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add dark mode

2 participants