Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EPIC - Mobile Responsiveness + Styling Consistency #303

Open
6 tasks done
Caposto opened this issue Feb 8, 2025 · 0 comments
Open
6 tasks done

EPIC - Mobile Responsiveness + Styling Consistency #303

Caposto opened this issue Feb 8, 2025 · 0 comments

Comments

@Caposto
Copy link
Contributor

Caposto commented Feb 8, 2025

Description

This EPIC contains some basic guidelines for tailwind styling when creating components and making them mobile responsive as well as definition of done for completing this EPIC. For example, it will highlight what text-size classes to use and what padding to use when creating components so that all the pages are consistent

When using breakpoints, I advise to take a mobile first approach where you should try to design with the mobile view in mind prior to the web view as most people are seeing our site from their phone.

Additionally, try to stay away from use the max-<breakpoint> class like max-sm: vs sm:. Default breakpoints, using just <breakpoint>:, handle all cases where the screen is that size OR larger. Thus, classes without any breakpoint prepended work by default for all screens and up, then get overrun by the breakpoint specific classes. This makes sure we have all of our screen sizes covered and maintain consistency with how the rest of the responsiveness in handled throughout the app.

DoD

List of remaining pages to make mobile responsive (as of 2/7/2025):

List of remaining large PRs needed for full mobile responsiveness:

Hoping to have all of these done by 02/13/2025

Tailwind Styling Guidelines

These are mainly in reference to the mobile view changes.

Padding

  • Horizontal
    • px-8 lg:px-40 - recommended to be used around the parent div of component
    • for hero section the parent div should use px-6 md:px-12 lg:px-32
  • Vertical - you can use whatever padding or margin you like here but ensure it is consistent with the spacing between the other components/ sections on the page

Typography

  • Section Heading - text-4xl lg:text-5xl
  • Heading 1 - text-3xl lg:text-4xl
  • Heading 2 - text-2xl
  • default text - text-xl
  • accent / less important text - text-lg

We try not to go any smaller than these sizes to ensure readability and accessibility

@Caposto Caposto converted this from a draft issue Feb 8, 2025
@Caposto Caposto moved this from Backlog to Ready in Blueprint Website Feb 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Ready
Development

No branches or pull requests

2 participants