Make the browser's scrollbars and controls dark
Opened by @hannahro15 · Assignees: @Ialyahya96
Solve & Merge Reward: Up to +210 XP & +60 Coins
+30 XP on PR open · +180 XP & +60 coins on merge
Claim Status & GitHub Signal
Assigned on GitHub (@Ialyahya96). Check recent comments before starting duplicate work.
Estimated from issue labels (good first issue, ui, could-have), JavaScript context, and discussion depth. There are 2 GitHub comments to review for maintainer clarifications. Note: this is an estimate, not a guarantee.
What It's About
Make the browser's scrollbars and controls dark. Description Every page has a dark background (index.css line 12 sets 242424, and the rooms page is black, rooms-grid.css line 10), but nothing tells the browser that the site is dark. So the browser draws its own parts in light mode. On Windows (Chrome, Edge,
Why It Matters
Resolving #229 improves reliability and developer experience in hannahro15/classical-music-themed-escape-room.
Expected Outcome
A focused pull request addressing #229 with relevant checks or tests verified locally.
Log in to compare this issue's requirements against your profile skills. Required concepts: JavaScript, HTTP & REST APIs, Machine Learning.
Progressive AI Hints
Hint #1 is always free and calibrated to your experience level. Extra hints unlock with coins without spoiling the full solution.
Skill-Gap Learning
Issue Description
Description
Every page has a dark background (index.css line 12 sets #242424, and the rooms page is black, rooms-grid.css line 10), but nothing tells the browser that the site is dark. So the browser draws its own parts in light mode. On Windows (Chrome, Edge, Firefox) the rooms page gets a bright white scrollbar down its right edge, and built-in controls such as text inputs (the Key Signature padlock, #70) and the dialog backdrop come out light.
The color-scheme property tells the browser to draw these parts dark, and it's one line.
Files: src/index.css lines 7–13 (:root), index.html <head>
User story
As a player on Windows, I want the scrollbar and form controls to match the dark game, so that a bright white bar doesn't spoil the look of the rooms page.
Checklist
- Set the colour scheme —
index.css:root(lines 7–13)- Add
color-scheme: dark;
- Add
- Tell the browser before the CSS loads —
index.html<head>- Add
<meta name="color-scheme" content="dark" />so there's no white flash while the page loads
- Add
- Check it
- Rooms page on Windows Chrome or Edge: the scrollbar is dark (or use DevTools → Rendering → "Emulate CSS media feature prefers-color-scheme: light" on a Mac with "Show scroll bars: Always")
- Nothing that sets its own colours, such as the room cards and puzzle box, looks different
Acceptance criteria
- The scrollbar on the rooms page is dark on Windows
- The page doesn't flash white while loading
- No other colours change
Linked Pull Requests (0)
No linked or cross-referenced pull requests detected via GitHub timeline. Check comments below for informal claims before starting.
GitHub Comments (2)
[Error] Brain malfunction: 429 You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://aistudio.google.com/docs/rate-limits. To monitor your current usage, head to: https://ai.dev/rate-limit.
- Quota exceeded for metric: generativelanguage.googleapis.com/generate_content_free_tier_requests, limit: 20, model: gemini-3.8-flash, description: Generate content requests per day limit exceeded on Free Tier. See https://aistudio.google.com/docs/rate-limits. Please retry in 14h39m29.043772416s. [links { description: "Learn more about Gemini API quotas" url: "https://aistudio.google.com/docs/rate-limits" } , violations { description: "Generate content requests per day limit exceeded on Free Tier. See https://aistudio.google.com/docs/rate-limits." quota_metric: "generativelanguage.googleapis.com/generate_content_free_tier_requests" quota_id: "GenerateRequestsPerDayPerProjectPerModel-FreeTier" quota_dimensions { key: "model" value: "gemini-3.8-flash" } quota_dimensions { key: "location" value: "global" } quota_value: 20 } , retry_delay { seconds: 52769 } ]
If this helped point you in the right direction, consider supporting my open-source work: GitHub Sponsors
HI, assigned to you.
Issue Troubleshooting Threads (0)
No troubleshooting threads opened for this issue yet. If you hit a test, build, or navigation blocker, post what you've tried so fellow contributors can help.
PR Verification & Rewards
Sign in and link GitHub to verify your PR against this issue and earn XP + coins.
Contribution Workflow
Track your local progress before opening a pull request on GitHub.
Repository Context
Top Repository Paths
CONTRIBUTING.md Excerpt
Contributing
Thanks for wanting to help with the Classical Music Themed Escape Room! 🎻
Finding something to work on
- New to the project? Look for issues labelled
good first issue. They're small, self-contained tasks that are a good place to start. - Want something bigger? Issues labelled
help wantedare ones I'd especially welcome help with. - Check the project board to see what's already in progress.
- Comment on the issue to say you'd like to work on it, and wait for a reply before you start, so two people don't work on the same thing.
- Found a bug or have an idea that isn't in the issues yet? You're welcome to open a new issue. Please check the existing issues first so it isn't a duplicate, and wait for a reply before you write any code, so we can agree on the approach.
Setting up
You'll need Node.js v20.19+ or v22.12+.
- Fork this repository, then clone your fork:
git clone https://github.com/<your-username>/classical-music-themed-escape-room.git cd classical-music-themed-escape-room - Install the dependencies:
Please use npm rather than yarn or pnpm, sonpm installpackage-lock.jsonstays the only lockfile. - Start the development server:
Then open http://localhost:5173/classical-music-themed-escape-room/ in your browser.npm run dev
Making a change
- Make sure your fork has the latest changes. On your fork's GitHub page, click Sync fork → Update branch, then pull them down:
git switch main git pull - Create a branch from
main:git switch -c short-description-of-change - Keep each pull request to one issue, and keep it small.
- If you add or change a puzzle, double-check the music theory (note names, key signatures, clefs) before opening a pull requ
... (truncated)
Advisory PR Assistant
Helps structure your PR description or unpack reviewer feedback. Does not perform GitHub actions.