department-of-veterans-affairs / va.gov-team

Public resources for building on and in support of VA.gov. Visit complete Knowledge Hub:
https://depo-platform-documentation.scrollhelp.site/index.html
281 stars 202 forks source link

Global Breakpoint & grid changes #75695

Closed caw310 closed 4 months ago

caw310 commented 8 months ago

Description

Original RFC

This initiative tracks the progress of sunsetting Formation in favor of the new CSS Library which will house all of the styles (element selectors, utility classes, variables, tokens, etc) VA.gov imports and uses. There are 4 high level steps in this migration:

  1. Set up CSS Library so it's maintained separately from the component library.
  2. Migrate global base styles from Formation to CSS Library
  3. Migrate application utility class usage
  4. Archive Formation

High Level User Story/ies As a VFS team member, I want the VA design system breakpoint and grid to be up-to-date so that my apps are using the USWDS breakpoint and grid specifications.

Hypothesis or Bet If we update the typography globally, all apps will be using the USWDS font so all VFS team apps are using the USWDS breakpoint and grid specifications so there is consistency across VA.gov.

OKR Quarterly Operations and Maintenance Delivery - (Q1) FY Q2 2024

Definition of done What must be true in order for you to consider this epic complete? We have updated to USWDS breakpoint and grid specifications.

humancompanion-usds commented 5 months ago

We've deployed the change to introduce the 640px breakpoint. We did some analysis and decided we also want to introduce the 880px breakpoint, which we'll do in June (likely 6/19). Down the road we'll evaluate adding the 1440px breakpoint (26% of users have a screen that large). We have not set a date for deprecated the 768px breakpoint and that will likely be in FY24 Q4.

humancompanion-usds commented 5 months ago

While we introduced the 640px breakpoint in CSS library I was remiss in not adding that it is not yet in vets-website.

Breakpoints: Tablet (640px) breakpoint added - Thursday May 30th

caw310 commented 4 months ago

Update for Q2

humancompanion-usds commented 4 months ago

@caw310 - Please file new issues for the remaining work and then close this one given that we did what we intended to initially do here. Thanks.

caw310 commented 4 months ago

Closing initiative as the breakpoint and grid changes are done.

caw310 commented 4 months ago

Referencing the new initiative to add 880px and 1400px breakpoints. https://github.com/department-of-veterans-affairs/va.gov-team/issues/85612