Skip to content

ミニマルとポップを追加し、同梱デザインテーマを4種類にする - #66

Merged
techmech-keeb merged 8 commits into
mainfrom
design/themes-minimal-and-pop
Sep 13, 2026
Merged

techmech-keeb merged 8 commits into
mainfrom
design/themes-minimal-and-pop

Conversation

@techmech-keeb

Copy link
Copy Markdown
Owner

概要

既存の暗色・紙色に、静かな明色の「ミニマル」と、明るい色面の「ポップ」を追加して同梱テーマを4種類にします。

この作業ではミニマルのコミットとクリック3色の追加修正を引き継ぎ、その上に ed0f442「ポップテーマの追加」、9675b37「ドキュメント更新」の2コミットを積みました。単一エージェントで実施し、PR前に git fetch origin と git merge origin/main を実行しています。

変更内容

  • ポップ:イエローのキーボード面、ターコイズ・オレンジ・マゼンタの左/中/右クリック、コバルトのスクロール、紫のコンパス。2pxの輪郭、12〜18pxの角丸、ベタ塗りの押下表示。
  • タイピング欄は2px目の輪郭を内側に描き、1024×768の固定高を維持。キー・クリック・タブの文字色と背景を同時に切り替え、遷移中の低コントラストを防止。
  • 実装は ui/themes/pop.css、ui/themes.js の登録1行、ui/index.html のlink1行、tools/visual-check.js の const THEMES 1行のみ。
  • 文書は README.md、docs/guide/features.md、docs/development.md のテーマ説明・撮影枚数を更新。
  • SPDXヘッダ、テーマ内へのスコープ、--fx-* の書式、--u の維持を確認。外部依存・画像・Webフォント・背景アニメーションは追加していません。ui/style.css、ui/stage.css、入力処理、撮影状態・サイズは変更していません。

検証

  • node --test tools/boards.test.js tools/scroll-input.test.js tools/vial-layout.test.js:ポップ・文書・mainマージの各コミットを個別に展開し、各24件pass。
  • node tools/visual-check.js <出力先>:3サイズ × 4テーマ × 15状態 = 180枚、全件pass。Chromium 150.0.7871.100、GPU無効、約203.8秒。既存Playwrightと検証用Chromiumを NODE_PATH / CHROMIUM_PATH / LD_LIBRARY_PATH で指定。導入物はリポジトリに含めていません。
  • 1024×768 / 2560×1440の本文・計測値・刻印、押下・Fn破線、アトラクト、ガイド、軌跡・波紋・スクロール表示を目視。スタッフメニュー・ツアー選択・複数押下の合成状態は別途6枚を撮影して確認。
  • ブラウザの getComputedStyle とCanvasパレットで、全4テーマの左/中/右が波紋・カウンタ・ライブフィードの各々で3色に分かれることを確認。最新のミニマルの3色修正も取り込み後に確認済み。
  • ポップの実際のCSS変数から計算した文字/面27組が4.5:1以上(最小4.508:1、本文の最小12.00:1、補助文字の最小6.53:1)。テーマ選択、再読み込み後の設定保持も確認。
  • git diff --check:pass。ポップ作業の変更は依頼書§8の7ファイルのみ。
  • CIの最終コミット検証は実行待ち。ローカル180枚の撮影後に取り込んだミニマルのクリック3色変更については、上記ブラウザ確認に加えCIで全体を再検証します。

描画の制約・要確認

  • Canvasの波紋・シェブロンの線幅、軌跡のグローパス、ハロー、コンパスの透明度・グラデーションは ui/app.js に固定され、変数化されていません。今回の範囲では配色を反映し、これらの描画仕様は維持しています。
  • ツアー実行中のスクリム非表示は既存 stage.css の仕様を維持。ツアー選択メニューのスクリムは確認済み。
  • OLSK60実機 / 展示PCのWebView2は要確認。合成入力・合成Vial応答は実機検証ではありません。
  • ローカル撮影は約204秒。CI時間が運用上問題になる場合は、既存2テーマの3サイズ・90枚を維持し、新テーマ2つだけ1368×912の各15枚にする計120枚案を提案します。今回の撮影は削減していません。
  • 依頼書の完了印・archive移動は§8の変更範囲外のため未実施。Canvas変数化の制約は今後の共通知見として参照可能ですが、knowledge-base / AI-agent-playbookには変更を加えていません。

claude and others added 8 commits September 13, 2026 06:09
Hands an outside agent everything needed to add a "minimal" (Less but
better) and a "pop" theme without reading the whole repository: why
those two directions do not collide with the existing dark HUD and retro
LCD, the four files a theme touches, the 67-variable contract including
the --fx-* formats that app.js parses at runtime, and the checks to run
before a PR.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012wNSUjsfpkg256wh6Utxom
The tester's own backlog moves at the same time as this theme work, and
two items overlap on disk: the horizontal-scroll indicator edits
tools/visual-check.js, and roadmap.md was already written to expect more
themes. Name the files this task may touch, cap the visual-check edit at
the THEMES line, and drop the roadmap update from the request.

Also require a single agent for the whole job: the file fence and the
--fx-* format contract travel badly across delegation, and judging two
themes from screenshots needs one pair of eyes.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012wNSUjsfpkg256wh6Utxom
中性グレーの面、細い境界、小さな角丸とシステムフォントで機能を際立たせる。
押下は白黒反転、操作はオレンジ、正常・完了はグリーンで示す。
CSSのグローと装飾を減らし、軌跡は固定RGBの単色にする。

変更は minimal.css の追加と、themes.js / index.html / visual-check.js の登録のみ。
visual-check.js は const THEMES の1行だけを変更。style.css / stage.css は未変更。
SPDX、--fx-* の書式、--u の維持、外部依存なしを確認。
git merge origin/main の結果を含む1コミットにまとめる。

検証:
- node --test tools/boards.test.js tools/scroll-input.test.js tools/vial-layout.test.js: 24件 pass
- node tools/visual-check.js: Chromium 150.0.7871.100 / 3サイズ x 3テーマ x 15状態 = 135枚、全件 pass
  NODE_PATH と CHROMIUM_PATH、LD_LIBRARY_PATH は検証環境の既存Playwright・検証用Chromiumを指定。
- 1024x768 / 2560x1440: 刻印、押下・Fn破線、計測値、アトラクト、ガイドを目視。
  スタッフメニューと合成Vialのツアー選択スクリムも別途撮影・目視。
- テーマ選択と再読み込み後の保持、--fx-* の実値を追加確認。

制約による残事項:
- Canvasのグロー強度・線幅・ハローは ui/app.js に固定され、変数だけでは除去・細線化できないため維持。
- ツアー実行中のスクリム非表示は stage.css の既存仕様を維持。
- ドキュメント更新は今回の4ファイル制限に従い対象外。visual-checkの実測は135枚。
- OLSK60 / 展示PCのWebView2: 要確認。合成Vialフィクスチャは実機検証ではない。
The theme collapsed left, middle and right click onto one orange, so the
ripple, the counter and the live feed all looked the same — the tester
exists to show what the pointing device just did, and that reading was
lost. Keep the restraint by spending no new hue: accent for left, the
theme's mid grey for middle, ink for right, the same ladder lcd.css uses.
The counter and the feed follow the same mapping so both surfaces agree.

Measured on the theme background: 5.23:1, 5.38:1 and 15.15:1, all above
4.5:1. Left and middle separate by hue rather than lightness (1.03:1
between them), and both carry their 左/中/右 label, so the colour is a
second cue rather than the only one.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012wNSUjsfpkg256wh6Utxom
The minimal theme assigned one orange to all three mouse buttons and the
review caught it late, because three identical values look deliberate in
a CSS file. State the requirement for both surfaces that carry it, and
say to read the resolved values back from the browser rather than
eyeballing the stylesheet.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012wNSUjsfpkg256wh6Utxom
@techmech-keeb
techmech-keeb merged commit d4290f9 into main Sep 13, 2026
2 checks passed
@techmech-keeb
techmech-keeb deleted the design/themes-minimal-and-pop branch September 13, 2026 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants