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

カラーテーマをprefers-color-schemeの値をもとに変えられるようにする #447

Open
waonme opened this issue Dec 22, 2023 · 1 comment
Labels
📐Logic ロジック周りの領域 💡new feature New feature or request 📜sidetask できれば依頼したいissue

Comments

@waonme
Copy link
Collaborator

waonme commented Dec 22, 2023

What - 提供したい体験

コンカレから時間を感じることができる

Why (Optional)

筆者がコンカレの外観から時間を感じたいと思ったから

How - 実装の方針(Optional)

OSやブラウザから簡単に制御可能なよう、prefers-color-schemeのlightとdarkにユーザーが任意のテーマを設定可能にするような実装だろうか
https://developer.mozilla.org/ja/docs/Web/CSS/@media/prefers-color-scheme

個人的には夕暮れ時の設定もお好みの時間範囲でコンカレ独自に追加できると嬉しい……が、実装の手間が増えてしまう

@waonme waonme added the 💡new feature New feature or request label Dec 22, 2023
@totegamma totegamma added 🎨style デザイン周りの領域 📜sidetask できれば依頼したいissue labels Dec 22, 2023
@totegamma totegamma changed the title 時間に連動してテーマを変更する機能 カラーテーマをprefers-color-schemeの値をもとに変えられるようにする Dec 22, 2023
@totegamma
Copy link
Owner

UI案
とりあえずまず有効無効を切り替えられるように
有効時はテーマ選択でメニュが出てくる→「ライトテーマとして設定」「ダークテーマとして設定」「両方に設定」といったメニューを出すことで選択できるようにする?

@totegamma totegamma added 📐Logic ロジック周りの領域 and removed 🎨style デザイン周りの領域 labels Dec 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📐Logic ロジック周りの領域 💡new feature New feature or request 📜sidetask できれば依頼したいissue
Projects
None yet
Development

No branches or pull requests

2 participants