octopusthink / nautilus

Inclusive, open-source design system and React component library.
https://nautilus.octopusthink.com
MIT License
2 stars 0 forks source link

Add site sizing variables to theme #247

Closed sarahmonster closed 3 years ago

sarahmonster commented 3 years ago

I seem to keep adding this to repos (octopusthink.com, getmicdrop.com, turniptimer.com), so it might make sense for us to add to Nautilus as well:

  // Extra site config type stuff.
  site: {
    mobilePadding: '1.6rem',
    tabletPadding: '3.2rem',
    desktopPadding: '6.4rem',
    maxContentWidth: '64rem',
    maxSiteWidth: '120rem',
  },

This would be useful for lots of different components as well, so worth including as part of our native theme as we start building up larger components (Panels #248, for instance!)

sarahmonster commented 3 years ago

Duplicate of #194; whoops.