Skip to content

fix(koshien): make Test AI file-fallback download button visually distinct#847

Merged
smalruby3-editor-bot[bot] merged 1 commit into
developfrom
fix/koshien-download-button-color
Jun 30, 2026
Merged

fix(koshien): make Test AI file-fallback download button visually distinct#847
smalruby3-editor-bot[bot] merged 1 commit into
developfrom
fix/koshien-download-button-color

Conversation

@smalruby3-editor-bot

Copy link
Copy Markdown

Summary

「AIを試す」のファイル出力フォールバックで、「AIをファイルに保存」ボタンがバナーと同色でボタンに見えない問題を修正。

原因

共有 Button コンポーネントは background: inherit のため、ボタンが .too-long-banner の背景色($ui-secondary = 薄い青)をそのまま継承し、バナーに埋もれていた。

修正(提案色)

.download-buttonシステム標準の CTA 色 を明示:

  • background-color: $motion-primary(#4C97FF 青)
  • color: $ui-white(白文字)

この組み合わせは bug-report / koshien-settings / url-loader など他モーダルの主要アクションボタンと同一で、薄青バナー($ui-secondary)に対して明確に区別できる。

確認

  • 変更は koshien-test-modal.css.download-button のみ(1 箇所)。
  • CI でブランチプレビューがビルドされるので、実機での見た目確認が可能。

Follow-up to #846 (#845)

🤖 Generated with Claude Code

…tinct

The 'Save AI to a file' button sat on the too-long banner with no background
of its own (the shared Button defaults to background: inherit), so it took the
banner's $ui-secondary color and did not read as a button. Give it the
system's standard CTA styling ($motion-primary background + white text, as used
by bug-report / koshien-settings / url-loader modals), which stands out clearly
against the light banner.

Follow-up to #846 (#845).
@github-actions

Copy link
Copy Markdown

@smalruby3-editor-bot smalruby3-editor-bot Bot merged commit 0861023 into develop Jun 30, 2026
9 checks passed
@smalruby3-editor-bot smalruby3-editor-bot Bot deleted the fix/koshien-download-button-color branch June 30, 2026 23:52
github-actions Bot pushed a commit that referenced this pull request Jun 30, 2026
…ownload-button-color

fix(koshien): make Test AI file-fallback download button visually distinct
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.

0 participants