Skip to content

Remove color-scheme and prefers-color-scheme dependencies#657

Draft
SnO2WMaN wants to merge 1 commit into
masterfrom
SnO2WMaN/issue617
Draft

Remove color-scheme and prefers-color-scheme dependencies#657
SnO2WMaN wants to merge 1 commit into
masterfrom
SnO2WMaN/issue617

Conversation

@SnO2WMaN
Copy link
Copy Markdown
Collaborator

@SnO2WMaN SnO2WMaN commented Apr 27, 2026

Summary

  • prefers-color-scheme メディアクエリを themes.css から削除し、デフォルトテーマを常にダークに固定
  • 各テーマブロックの color-scheme: dark/light プロパティを全て削除
  • app.css@custom-variant dark@media not (prefers-color-scheme: light) に依存)を削除
  • app.html<meta name="color-scheme"> を削除
  • dark:prose-invertprose-invert に置換(dark: バリアントが不要になったため)

テーマ配色は全てカスタム CSS 変数で管理されており、OS のカラースキーム設定には依存しない。

Test plan

  • デフォルトテーマで表示が壊れていないことを確認
  • 各名前付きテーマ(aniki, otogroove, retro-voyage, sorimix, resample)で prose コンテンツが正しく表示されることを確認
  • OS のダーク/ライトモードを切り替えても表示が変化しないことを確認

🤖 Generated with Claude Code

close #617

All theming is handled by custom CSS variables; the browser's OS-level
color scheme preference is no longer used. Remove the prefers-color-scheme
media query from themes.css, drop color-scheme declarations from all named
theme blocks, remove the custom dark variant from app.css, delete the
color-scheme meta tag from app.html, and replace dark:prose-invert with
prose-invert throughout.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@SnO2WMaN SnO2WMaN added frontend:ui-change UI change requestion for some reason, but priority might be low. labels Apr 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

frontend:ui-change UI change requestion for some reason, but priority might be low.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Delete light/dark theme distinction

1 participant