Closed jessicashanshanhuang closed 1 week ago
looking at the following:
Guide to Creating Responsive Grids
breakpoints refer to the specific points where a website layout changes. They trigger when certain criteria (e.g. specific screen size dimensions) are met, and help to ensure that content is displayed correctly no matter how the user is accessing it
Materials Design Understanding layout
questions/notes:
current breakpoints from ae-streetscape
, they're derived from chakra ui:
current approach: using the Guide to Creating Responsive Grids a general outline to create a the grid system and following USWDS responsive grid for decision making for grid & breakpoint system
creating grids with figma
wip desktop grid:
columns:
rows:
wip tablet and mobile grids:
comes with predetermined commonly used breakpoints, which i assume is what ae is currently using
something to look into the future for testing breakpoints is figma's responsive prototyper that was just release from config 2024
const breakpoints = {
base: '0em', // 0px
sm: '30em', // ~480px. em is a relative unit and is dependant on the font size.
md: '48em', // ~768px
lg: '62em', // ~992px
xl: '80em', // ~1280px
'2xl': '96em', // ~1536px
}
[!NOTE] seems like there is no current direct method to work with breakpoints in house, most figma plugins for breakpoints are paid
figma recommends 8-point grid, though it seems more suited for mobile design primarily but still useful for responsive web design
working on using grids on the landing page, refer to changelog in file.
Updated elements using grid as well as some typography elements:
ae-streetscape
updating edde redesign using new desktop grid with margins
Working on implementing the new figma grids and breakpoints library for the new DS, Streetscape.
to-do:
currently: adding documentation to library file