ui-components icon indicating copy to clipboard operation
ui-components copied to clipboard

Typography update (2.0)

Open Spark450 opened this issue 2 years ago • 1 comments

Background:

Currently, our margin top and bottom for our type scale has to beadjusted for each use in page context. For example, in developing our website, or developing a service, that means custom styles need to be applied to each text element constantly.

Acceptance Criteria:

Outlined in Figma file here. Review design with @twjeffery when starting.

  • default margin for each text size updated
  • need to allow overrides for alternate spacing values/tokens and/or 0 margin
  • default spacing changes based on text pairs
  • default max width based on character count
  • include mobile sizing for typography
  • text component for development
  • test to determine if this is a breaking change for teams
  • Once this issue has passed code review, inform @twjeffery so that he can coordinate the release of the design documentation.

Spark450 avatar Oct 19 '23 20:10 Spark450

Potentiality: We can extract reset.css and people can use it. Discussed with @twjeffery and @chrisolsen Kind of a theme, also use token variables.

vanessatran-ddi avatar Dec 05 '23 18:12 vanessatran-ddi