Open
Description
Summary
Create a tracked set of CSS and JS improvements to improve maintainability, accessibility, performance, and structure across the site.
Checklist
CSS
- Reduce heavy use of
!importantin/home/runner/work/NextCommunity.github.io/NextCommunity.github.io/src/assets/css/style.css - Replace
#dev-tools button[onclick*="..."]selectors with semantic classes ordata-*attributes - Move inline styles out of templates and into reusable CSS classes
- Consolidate repeated button, pill, and badge styles into shared component classes
- Replace broad
transition: allrules with property-specific transitions - Add
prefers-reduced-motionsupport for shimmer, shake, pulse, and glitch effects - Improve
:focus-visiblestates for buttons, overlays, and custom controls - Make fixed-position overlays and panels more responsive on small screens
- Introduce clearer layering between Tailwind output and custom CSS overrides
JavaScript
- Split
/home/runner/work/NextCommunity.github.io/NextCommunity.github.io/src/assets/js/script.jsinto smaller focused modules - Replace inline
onclickhandlers with event listeners or delegated events #648 - Reduce use of globals such as
window.PROFILE_NAME,window.PROFILE_SKILLS, andwindow.Phaser - Create a shared
localStoragehelper for safe parse, get, and set operations - Prefer class toggles over repeated direct
element.style.*mutations - Throttle or use
requestAnimationFramefor drag, resize, and hover-heavy handlers - Bundle game scripts together instead of loading many separate JS files
- Add stronger cleanup for intervals, timers, and temporary event listeners
- Extract shared mini-game overlay and title-bar setup into
game-manager.js
Goal
- Improve maintainability
- Reduce CSS/JS duplication
- Improve accessibility
- Improve runtime performance
- Make future refactors easier
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed
Type
Projects
- StatusShow more project fieldsIn progress
Activity
DOMContentLoadedblocks #644DOMContentLoadedblocks #644rohit-singh121 commentedon Oct 5, 2026
Hi @jbampton, I'd like to work on #643 (Replace hard-coded colors with reusable theme variables). Could you please assign it to me?
jbampton commentedon Oct 5, 2026
Hey @rohit-singh121 please comment on the issue first