Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

feature: theme toggle (system / light / dark), PWA manifest and offline cache for the catalog

オープン
#111 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
javascript
領域
devtools, frontend

調査の方向性

Start with index.html and the files under site/public/, then read how the build emits the generatedAt stamp and how shortlist persistence handles localStorage. Implement the theme toggle, manifest, and versioned service worker described in the issue. Done when the toggle persists, Lighthouse reports the site installable, and search works offline after one visit.

索引モデルが issue の本文から書いたものです。

説明

feature priority: low

Why it matters
Dark mode follows the OS only; a reading-heavy reference site is expected to offer a toggle. A web manifest and a small service worker that caches data.js, styles.css, app.js and the home page make search and the shortlist work offline (game jams on venue Wi-Fi), allow "Add to home screen" and give the installed app the right colour.

Evidence

  • No manifest.webmanifest or service worker in site/public/; no theme toggle in index.html.
  • data.js and the home page are static per build, so cache invalidation can key on the generatedAt stamp the build already emits.

Suggested approach
Three-state toggle persisted in localStorage (wrapped in try/catch, as the shortlist already does), applied via data-theme on <html> before first paint. Manifest with the existing favicon as a maskable icon. Service worker with a versioned cache name derived from generatedAt, network-first for HTML and cache-first for assets.

Done when
The toggle works and persists, Lighthouse reports the site installable, and the home page search works with the network off after one visit.

主要言語
JavaScript
スター
58
フォーク
15
平均マージ
16時間 53分
マージ済み PR(30日)
14

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

TMHSDigital/Free-Game-Dev-Assets のほかの issue

TMHSDigital/Free-Game-Dev-Assets の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。