[GH-ISSUE #3235] [Task] Normalize SVGs in Flutter #1426

Closed
opened 2026-03-23 20:49:03 +00:00 by mirror · 1 comment
Owner

Originally created by @Xazin on GitHub (Aug 18, 2023).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/3235

Originally assigned to: @Xazin on GitHub.

Description

Currently, by our design spec, we have icons of different sizes.

The issues we currently face are:

  • SVGs are made up of vectors, thus size does not matter, the SVGs are dynamically sized on-demand
  • The SVGs have different margin/padding, as some of them have this "drawn", instead of just being the actual size of the SVG.
  • Duplicates exist and it can be confusing for the developer to choose

What is required to complete this task:

  • Our icons in our design specification should only exist once, and all icons should be eg. 16x16px.
  • Our icons should not have any margin or padding hardcoded in their files
  • Each SVG should conform to a limited set of rules (eg. 16x16, zero padding, etc.)

Impact

It will benefit all groups which deal with AppFlowy, users, maintainers, contributors, and designers.

Additional Context

No response

Originally created by @Xazin on GitHub (Aug 18, 2023). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/3235 Originally assigned to: @Xazin on GitHub. ### Description Currently, by our design spec, we have icons of different sizes. **The issues we currently face are:** - SVGs are made up of vectors, thus size does not matter, the SVGs are dynamically sized on-demand - The SVGs have different margin/padding, as some of them have this "drawn", instead of just being the actual size of the SVG. - Duplicates exist and it can be confusing for the developer to choose **What is required to complete this task:** - Our icons in our design specification should only exist once, and all icons should be eg. 16x16px. - Our icons should not have any margin or padding hardcoded in their files - Each SVG should conform to a limited set of rules (eg. 16x16, zero padding, etc.) ### Impact It will benefit all groups which deal with AppFlowy, users, maintainers, contributors, and designers. ### Additional Context _No response_
Author
Owner

@a-wallen commented on GitHub (Aug 21, 2023):

Thanks for creating this 👍

<!-- gh-comment-id:1686955404 --> @a-wallen commented on GitHub (Aug 21, 2023): Thanks for creating this 👍
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#1426
No description provided.