proksh / atomize

Design System for developers build on styled-components & React JS.
https://atomizecode.com/
Other
1.74k stars 340 forks source link

Custom theme setup container width is incorrect on documentation. #62

Open buraksaraloglu opened 3 years ago

buraksaraloglu commented 3 years ago

Hi, on the documentation (Doc Link), example code for customizing container widths is like this:

const theme = { grid: { containerWidth: { xs: "540px", sm: "720px", md: "960px", lg: "1156px", xl: "1156px" }, gutterWidth: "12px", } };

but instead, it should be containerMaxWidth. Otherwise, it doesn't work.

const theme = { grid: { containerMaxWidth: { xs: "540px", sm: "720px", md: "960px", lg: "1156px", xl: "1156px" }, gutterWidth: "12px", } };