[PR #2194] [MERGED] [feat] add theme for snackbar #5145

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

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/2194
Author: @a-wallen
Created: 4/5/2023
Status: Merged
Merged: 4/7/2023
Merged by: @a-wallen

Base: mainHead: snackbar_theme


📝 Commits (2)

  • 72723be feat: add default snackbar theme
  • bf8bf2b fix: since FlowyText overrides textTheme, supply color to widget

📊 Changes

2 files changed (+32 additions, -25 deletions)

View changed files

📝 frontend/appflowy_flutter/lib/workspace/application/appearance.dart (+31 -25)
📝 frontend/appflowy_flutter/lib/workspace/presentation/settings/widgets/settings_file_customize_location_view.dart (+1 -0)

📄 Description

Adds a theme for SnackBar in AppFlowy. There is no specification in any of the Figma files, so the theme is the same as the SettingsMenuOptions in the left panel of the settings menu.

Feature Preview

Light, Default
image
Dark, Default
image
Light, Dandelion
image
Dark, Dandelion
image
Light, Lavender
image
Dark, Lavender
image

fixes https://github.com/AppFlowy-IO/AppFlowy/issues/2127

PR Checklist

  • My code adheres to the AppFlowy Style Guide
  • 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/2194 **Author:** [@a-wallen](https://github.com/a-wallen) **Created:** 4/5/2023 **Status:** ✅ Merged **Merged:** 4/7/2023 **Merged by:** [@a-wallen](https://github.com/a-wallen) **Base:** `main` ← **Head:** `snackbar_theme` --- ### 📝 Commits (2) - [`72723be`](https://github.com/AppFlowy-IO/AppFlowy/commit/72723be23f9c57b13ea4f4a9ba30ed59cf3ed01a) feat: add default snackbar theme - [`bf8bf2b`](https://github.com/AppFlowy-IO/AppFlowy/commit/bf8bf2b90578d4c9c71d4c00385ec5a7c2275d03) fix: since FlowyText overrides textTheme, supply color to widget ### 📊 Changes **2 files changed** (+32 additions, -25 deletions) <details> <summary>View changed files</summary> 📝 `frontend/appflowy_flutter/lib/workspace/application/appearance.dart` (+31 -25) 📝 `frontend/appflowy_flutter/lib/workspace/presentation/settings/widgets/settings_file_customize_location_view.dart` (+1 -0) </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 questions about the project or feedback, 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. --> Adds a theme for `SnackBar` in AppFlowy. There is no specification in any of the Figma files, so the theme is the same as the `SettingsMenuOptions` in the left panel of the settings menu. ### Feature Preview **Light, Default** ![image](https://user-images.githubusercontent.com/44445638/229986557-00099bbe-16e8-45e3-b0de-c3eb9f7d94e3.png) **Dark, Default** ![image](https://user-images.githubusercontent.com/44445638/229986576-e3480d77-bb45-4e9b-b499-d1bd2b66f9cb.png) **Light, Dandelion** ![image](https://user-images.githubusercontent.com/44445638/229986609-d67dfdba-1903-424a-b5e5-b97eab68cb69.png) **Dark, Dandelion** ![image](https://user-images.githubusercontent.com/44445638/229986851-2364852c-0c93-43e3-8812-7a75ba88c0ae.png) **Light, Lavender** ![image](https://user-images.githubusercontent.com/44445638/229986663-3180d300-0323-4a27-bb47-223221ad6514.png) **Dark, Lavender** ![image](https://user-images.githubusercontent.com/44445638/229986688-91f0aedb-3316-4f93-b9fb-ad46243b4efb.png) <!--- 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 --> fixes https://github.com/AppFlowy-IO/AppFlowy/issues/2127 --- <!--- Before you mark this PR ready for review, run through this checklist! --> #### PR Checklist - [x] My code adheres to the [AppFlowy Style Guide](https://appflowy.gitbook.io/docs/essential-documentation/contribute-to-appflowy/software-contributions/submitting-code/style-guides) - [x] I've listed at least one issue that this PR fixes in the description above. - [x] I've added a test(s) to validate changes in this PR, or this PR only contains semantic changes. - [x] 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 22:17:27 +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#5145
No description provided.