Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

デバイスの設定に合わせて自動的にライトテーマとダークテーマを切り替える #3

Open
Minemu398 opened this issue Dec 19, 2021 · 3 comments

Comments

@Minemu398
Copy link
Collaborator

Summary

@fs5m8
Copy link
Member

fs5m8 commented Dec 19, 2021

prefers-color-scheme: dark である → dark / でない → light って感じかなぁ

@fs5m8
Copy link
Member

fs5m8 commented Jan 5, 2022

行うこと

  • Client, Common.Scripts
    • デバイスがダークモードであるかを判別するスクリプトを 追加する
  • Client, Settings.Theme
    • デバイスのカラースキームと同期するスイッチを 追加する
  • Client, init
    • デバイスのカラースキームと同期してテーマを変える実装を 追加する
  • i18n
    • ロケールファイルに「デバイスのカラースキームと同期する」の表記内容を 追加する

以下,追加有りましたらどうぞ
移植したほうが早いかもしれないので,その時は別に書きます

@remitocat
Copy link

OK

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants