openedx / openedx-app-ios

The mobile app for iOS for the Open EdX Platform.
Apache License 2.0
19 stars 13 forks source link

[Design] Button consistency audit #301

Open sdaitzman opened 4 months ago

sdaitzman commented 4 months ago

There is a need to ensure consistency in the design of buttons across the OpenEdX mobile platform. Currently, there are variations in button styles and sizes, which can lead to a confusing user experience. This ticket aims to address this issue by implementing a standardized button design system that can be applied consistently throughout the platform. Here are the general heuristics for these updates:

  1. Full width (not variable width) buttons by default (button width = screen width - margins)
  2. Side by side buttons in step sequences, with their directional icons on the side that matches the direction they point in
  3. Stacked buttons by default for options/choices
  4. By default, non-directional icons should be placed immediately to the left of text inside buttons
  5. Text is centered within buttons (except certain limited exceptions, e.g. social auth buttons have left-aligned text)
  6. Exceptions exist with external dependencies/branding requirements