[PR #1523] [MERGED] feat: switch between light and dark theme based on system settings #4796

Closed
opened 2026-03-23 22:15:52 +00:00 by mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/1523
Author: @richardshiue
Created: 12/1/2022
Status: Merged
Merged: 12/8/2022
Merged by: @appflowy

Base: mainHead: feat-light-dark-system


📝 Commits (3)

  • 146ba49 feat: allow listening to system for light/dark theme
  • e972179 chore: implement UI for theme mode setting
  • ca10081 chore: fix translations

📊 Changes

22 files changed (+275 additions, -86 deletions)

View changed files

📝 frontend/app_flowy/assets/translations/ca-ES.json (+7 -3)
📝 frontend/app_flowy/assets/translations/en.json (+6 -2)
📝 frontend/app_flowy/assets/translations/es-VE.json (+8 -4)
📝 frontend/app_flowy/assets/translations/fr-CA.json (+7 -3)
📝 frontend/app_flowy/assets/translations/fr-FR.json (+6 -2)
📝 frontend/app_flowy/assets/translations/hu-HU.json (+7 -3)
📝 frontend/app_flowy/assets/translations/id-ID.json (+6 -2)
📝 frontend/app_flowy/assets/translations/it-IT.json (+10 -6)
📝 frontend/app_flowy/assets/translations/ja-JP.json (+6 -2)
📝 frontend/app_flowy/assets/translations/pl-PL.json (+7 -3)
📝 frontend/app_flowy/assets/translations/pt-BR.json (+6 -2)
📝 frontend/app_flowy/assets/translations/ru-RU.json (+6 -2)
📝 frontend/app_flowy/assets/translations/sv.json (+7 -3)
📝 frontend/app_flowy/assets/translations/tr-TR.json (+7 -3)
📝 frontend/app_flowy/assets/translations/zh-CN.json (+6 -2)
📝 frontend/app_flowy/assets/translations/zh-TW.json (+6 -2)
📝 frontend/app_flowy/lib/startup/tasks/app_widget.dart (+2 -0)
📝 frontend/app_flowy/lib/workspace/application/appearance.dart (+59 -12)
📝 frontend/app_flowy/lib/workspace/presentation/settings/widgets/settings_appearance_view.dart (+77 -21)
📝 frontend/app_flowy/packages/flowy_infra/lib/theme.dart (+3 -3)

...and 2 more files

📄 Description

resolves #432


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/AppFlowy-IO/AppFlowy/pull/1523 **Author:** [@richardshiue](https://github.com/richardshiue) **Created:** 12/1/2022 **Status:** ✅ Merged **Merged:** 12/8/2022 **Merged by:** [@appflowy](https://github.com/appflowy) **Base:** `main` ← **Head:** `feat-light-dark-system` --- ### 📝 Commits (3) - [`146ba49`](https://github.com/AppFlowy-IO/AppFlowy/commit/146ba49af2f6bced5cc8dbe323d8afbf8e4a6c84) feat: allow listening to system for light/dark theme - [`e972179`](https://github.com/AppFlowy-IO/AppFlowy/commit/e972179b8e938e00fd5d24aef668289aa8c7ca63) chore: implement UI for theme mode setting - [`ca10081`](https://github.com/AppFlowy-IO/AppFlowy/commit/ca1008116dc289743aeb269f52986214a40f1979) chore: fix translations ### 📊 Changes **22 files changed** (+275 additions, -86 deletions) <details> <summary>View changed files</summary> 📝 `frontend/app_flowy/assets/translations/ca-ES.json` (+7 -3) 📝 `frontend/app_flowy/assets/translations/en.json` (+6 -2) 📝 `frontend/app_flowy/assets/translations/es-VE.json` (+8 -4) 📝 `frontend/app_flowy/assets/translations/fr-CA.json` (+7 -3) 📝 `frontend/app_flowy/assets/translations/fr-FR.json` (+6 -2) 📝 `frontend/app_flowy/assets/translations/hu-HU.json` (+7 -3) 📝 `frontend/app_flowy/assets/translations/id-ID.json` (+6 -2) 📝 `frontend/app_flowy/assets/translations/it-IT.json` (+10 -6) 📝 `frontend/app_flowy/assets/translations/ja-JP.json` (+6 -2) 📝 `frontend/app_flowy/assets/translations/pl-PL.json` (+7 -3) 📝 `frontend/app_flowy/assets/translations/pt-BR.json` (+6 -2) 📝 `frontend/app_flowy/assets/translations/ru-RU.json` (+6 -2) 📝 `frontend/app_flowy/assets/translations/sv.json` (+7 -3) 📝 `frontend/app_flowy/assets/translations/tr-TR.json` (+7 -3) 📝 `frontend/app_flowy/assets/translations/zh-CN.json` (+6 -2) 📝 `frontend/app_flowy/assets/translations/zh-TW.json` (+6 -2) 📝 `frontend/app_flowy/lib/startup/tasks/app_widget.dart` (+2 -0) 📝 `frontend/app_flowy/lib/workspace/application/appearance.dart` (+59 -12) 📝 `frontend/app_flowy/lib/workspace/presentation/settings/widgets/settings_appearance_view.dart` (+77 -21) 📝 `frontend/app_flowy/packages/flowy_infra/lib/theme.dart` (+3 -3) _...and 2 more files_ </details> ### 📄 Description resolves #432 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror 2026-03-23 22:15:52 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#4796
No description provided.