[PR #7665] [CLOSED] feat: support new color tokens #8034

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

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/7665
Author: @LucasXu0
Created: 4/1/2025
Status: Closed

Base: mainHead: otp


📝 Commits (10+)

  • 199553f feat: support theme token - new design
  • 44ac97f feat: add filled button
  • 67fe29b feat: add textfield component
  • e0e4b79 feat: continue with password
  • 390e3f0 feat: add facotry methods in affilledbutton
  • e2a81f3 feat: add AFBaseButton, AFFilledButton, AFOutlinedButton
  • 17afc89 feat: add outlined text button
  • a23951f feat: add continue with password button
  • 49d2ed5 feat: add third party sign in buttons
  • 0ff03ab feat: add ghost text/icon button

📊 Changes

128 files changed (+6656 additions, -440 deletions)

View changed files

📝 frontend/appflowy_flutter/ios/Podfile.lock (+23 -23)
📝 frontend/appflowy_flutter/lib/startup/tasks/app_widget.dart (+29 -23)
📝 frontend/appflowy_flutter/lib/startup/tasks/appflowy_cloud_task.dart (+58 -0)
📝 frontend/appflowy_flutter/lib/user/application/auth/af_cloud_auth_service.dart (+11 -0)
📝 frontend/appflowy_flutter/lib/user/application/auth/af_cloud_mock_auth_service.dart (+8 -0)
📝 frontend/appflowy_flutter/lib/user/application/auth/auth_service.dart (+12 -1)
📝 frontend/appflowy_flutter/lib/user/application/auth/backend_auth_service.dart (+8 -0)
📝 frontend/appflowy_flutter/lib/user/application/sign_in_bloc.dart (+51 -6)
📝 frontend/appflowy_flutter/lib/user/application/user_service.dart (+9 -0)
📝 frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/desktop_sign_in_screen.dart (+48 -24)
📝 frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/mobile_sign_in_screen.dart (+1 -1)
frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/widgets/anonymous_sign_in_button/anonymous_sign_in_button.dart (+16 -0)
frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/widgets/continue_with/continue_with_email.dart (+21 -0)
frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/widgets/continue_with/continue_with_email_and_password.dart (+99 -0)
frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/widgets/continue_with/continue_with_magic_link_or_passcode.dart (+153 -0)
frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/widgets/continue_with/continue_with_password.dart (+21 -0)
frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/widgets/logo/logo.dart (+20 -0)
frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/widgets/magic_link_sign_in_buttons.dart (+0 -131)
📝 frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/widgets/sign_in_agreement.dart (+12 -12)
📝 frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/widgets/sign_in_anonymous_button.dart (+19 -88)

...and 80 more files

📄 Description

Feature Preview

Introduce the new theme token based on https://www.figma.com/design/aphWa2OgkqyIragpatdk7a/Design-System?node-id=1409-703&m=dev


PR Checklist

  • My code adheres to AppFlowy's Conventions
  • I've listed at least one issue that this PR fixes in the description above.
  • I've added a test(s) to validate changes in this PR, or this PR only contains semantic changes.
  • All existing tests are passing.

🔄 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/7665 **Author:** [@LucasXu0](https://github.com/LucasXu0) **Created:** 4/1/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `otp` --- ### 📝 Commits (10+) - [`199553f`](https://github.com/AppFlowy-IO/AppFlowy/commit/199553f1a6444b6a24193f8a0a23ff5f3f51328f) feat: support theme token - new design - [`44ac97f`](https://github.com/AppFlowy-IO/AppFlowy/commit/44ac97f3deef8ca03ee8a6641a27562a5ae4b11b) feat: add filled button - [`67fe29b`](https://github.com/AppFlowy-IO/AppFlowy/commit/67fe29b55ca27bc945ea1db265c6113f809ce411) feat: add textfield component - [`e0e4b79`](https://github.com/AppFlowy-IO/AppFlowy/commit/e0e4b795c8f30eb09c0161c0b2d63aa4f76006bf) feat: continue with password - [`390e3f0`](https://github.com/AppFlowy-IO/AppFlowy/commit/390e3f0965691cc20c7b067a9113c9f41cf97e80) feat: add facotry methods in affilledbutton - [`e2a81f3`](https://github.com/AppFlowy-IO/AppFlowy/commit/e2a81f3dce2327486414f424e9b322d892f980ac) feat: add AFBaseButton, AFFilledButton, AFOutlinedButton - [`17afc89`](https://github.com/AppFlowy-IO/AppFlowy/commit/17afc890579ea6ddc52444bff4eb362f0519013c) feat: add outlined text button - [`a23951f`](https://github.com/AppFlowy-IO/AppFlowy/commit/a23951f570b6f79881bcc551a2a1d92a86c0d8d1) feat: add continue with password button - [`49d2ed5`](https://github.com/AppFlowy-IO/AppFlowy/commit/49d2ed57a6f447c06c6f2d0517f2d7311a89c63c) feat: add third party sign in buttons - [`0ff03ab`](https://github.com/AppFlowy-IO/AppFlowy/commit/0ff03ababb69128b4c7b59229ac49f4196b7991c) feat: add ghost text/icon button ### 📊 Changes **128 files changed** (+6656 additions, -440 deletions) <details> <summary>View changed files</summary> 📝 `frontend/appflowy_flutter/ios/Podfile.lock` (+23 -23) 📝 `frontend/appflowy_flutter/lib/startup/tasks/app_widget.dart` (+29 -23) 📝 `frontend/appflowy_flutter/lib/startup/tasks/appflowy_cloud_task.dart` (+58 -0) 📝 `frontend/appflowy_flutter/lib/user/application/auth/af_cloud_auth_service.dart` (+11 -0) 📝 `frontend/appflowy_flutter/lib/user/application/auth/af_cloud_mock_auth_service.dart` (+8 -0) 📝 `frontend/appflowy_flutter/lib/user/application/auth/auth_service.dart` (+12 -1) 📝 `frontend/appflowy_flutter/lib/user/application/auth/backend_auth_service.dart` (+8 -0) 📝 `frontend/appflowy_flutter/lib/user/application/sign_in_bloc.dart` (+51 -6) 📝 `frontend/appflowy_flutter/lib/user/application/user_service.dart` (+9 -0) 📝 `frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/desktop_sign_in_screen.dart` (+48 -24) 📝 `frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/mobile_sign_in_screen.dart` (+1 -1) ➕ `frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/widgets/anonymous_sign_in_button/anonymous_sign_in_button.dart` (+16 -0) ➕ `frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/widgets/continue_with/continue_with_email.dart` (+21 -0) ➕ `frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/widgets/continue_with/continue_with_email_and_password.dart` (+99 -0) ➕ `frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/widgets/continue_with/continue_with_magic_link_or_passcode.dart` (+153 -0) ➕ `frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/widgets/continue_with/continue_with_password.dart` (+21 -0) ➕ `frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/widgets/logo/logo.dart` (+20 -0) ➖ `frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/widgets/magic_link_sign_in_buttons.dart` (+0 -131) 📝 `frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/widgets/sign_in_agreement.dart` (+12 -12) 📝 `frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/widgets/sign_in_anonymous_button.dart` (+19 -88) _...and 80 more files_ </details> ### 📄 Description <!--- Thank you for submitting a pull request to AppFlowy. The team will dedicate their best efforts to reviewing and approving your pull request. If you have any questions about the project or feedback for us, please join our [Discord](https://discord.gg/wdjWUXXhtw). --> <!--- If your pull request adds a new feature, please drag and drop a video into this section to showcase what you've done! If not, you may delete this section. --> ### Feature Preview Introduce the new theme token based on https://www.figma.com/design/aphWa2OgkqyIragpatdk7a/Design-System?node-id=1409-703&m=dev <!--- List at least one issue here that this PR addresses. If it fixes the issue, please use the [fixes](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/using-keywords-in-issues-and-pull-requests) keyword to close the issue. For example: fixes https://github.com/AppFlowy-IO/AppFlowy/pull/2106 --> --- <!--- Before you mark this PR ready for review, run through this checklist! --> #### PR Checklist - [ ] My code adheres to [AppFlowy's Conventions](https://docs.appflowy.io/docs/documentation/software-contributions/conventions) - [ ] I've listed at least one issue that this PR fixes in the description above. - [ ] I've added a test(s) to validate changes in this PR, or this PR only contains semantic changes. - [ ] All existing tests are passing. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror 2026-03-23 23:22:18 +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#8034
No description provided.