aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/components/ParksFilters.astro
diff options
context:
space:
mode:
authorYasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com>2026-11-08 01:00:27 +0900
committerYasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com>2026-11-08 01:00:27 +0900
commit3d9fe3c049cdd639aa0f014a0d76dcc7075010f6 (patch)
treefafe8fbe99331177f2735947d0c170a6f9ba903c /src/components/ParksFilters.astro
parenta81bb98c971bd9470bbba0c415b6c111f5146ad3 (diff)
公園マップ: ポリゴンのハイライト配色を3種類から選べるようにする
ParkMap.astro: 通常のハイライトと選択中の色・線幅・光彩を data-park-theme で切り替えられるようにする ParksFilters.astro: 「ハイライト」(標準/強調/色覚配慮)の選択を追加 選択は localStorage に保存し、再読み込み後も保持する
Diffstat (limited to 'src/components/ParksFilters.astro')
-rw-r--r--src/components/ParksFilters.astro10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/components/ParksFilters.astro b/src/components/ParksFilters.astro
index e93b4ed..99112ae 100644
--- a/src/components/ParksFilters.astro
+++ b/src/components/ParksFilters.astro
@@ -53,6 +53,16 @@ const facilityTypes = [
<input type="checkbox" data-parks-unconfirmed />
未確認のみ
</label>
+ <label
+ title="公園ポリゴンのハイライト配色を選べます(標準:黄・緑 / 強調:黄・紫と黒フチ / 色覚配慮:青・橙)"
+ >
+ <span>ハイライト</span>
+ <select data-park-theme-select aria-label="公園ポリゴンのハイライト配色">
+ <option value="standard">標準</option>
+ <option value="strong">強調</option>
+ <option value="cvd">色覚配慮</option>
+ </select>
+ </label>
<fieldset class="parks-facilities">
<legend>設備・遊具で絞る</legend>
<div class="fac-group">