Improve theme consistency, mobile nav, and MatrixRain color theming#54
Draft
Improve theme consistency, mobile nav, and MatrixRain color theming#54
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
✅ Deploy Preview for ianalloway ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
…ariable color, fix HireMe footer - Add mobile hamburger nav to Index.tsx (hidden md:flex desktop, md:hidden hamburger) - Fix Now.tsx to apply light class to documentElement on mount - Refactor HireMe.tsx: replace hardcoded green Tailwind colors with CSS-variable design tokens, add theme toggle, fix footer (React+Tailwind, Netlify) - MatrixRain: read --primary CSS variable at draw time; extract FALLBACK_PRIMARY_COLOR constant Co-authored-by: ianalloway <200005377+ianalloway@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Improve codebase and website performance
Improve theme consistency, mobile nav, and MatrixRain color theming
Mar 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
HireMe.tsxbypassed the design system with hardcoded Tailwind green classes, breaking theme toggling site-wide.Now.tsxread the persisted theme but never applied it to the DOM. The main nav overflowed on mobile.Changes
HireMe.tsx— Replace all hardcodedtext-green-400/bg-black/border-green-500with CSS-variable tokens (text-primary,bg-background,terminal-border, etc.). Add theme toggle (Sun/Moon) with the sameuseEffectpattern asIndex.tsx. Fix inaccurate footer:"Built with Python. Deployed with Vercel"→"Built with React + Tailwind. Deployed on Netlify."Now.tsx— Apply/remove thelightclass ondocumentElementon mount so the stored theme is actually reflected in the DOM (was only used to gate<MatrixRain />rendering).Index.tsx— Add mobile-responsive nav: desktop links usehidden md:flex; aMenu/Xhamburger toggle (md:hidden) expands an inline dropdown with all nav items, closing on link click.MatrixRain.tsx— Read--primaryfromgetComputedStyleat draw time instead of hardcoding#00ff00, so rain color follows the active theme. Extract fallback toFALLBACK_PRIMARY_COLORconstant.💬 Send tasks to Copilot coding agent from Slack and Teams to turn conversations into code. Copilot posts an update in your thread when it's finished.