by 01brett · 5y ago · 0 comments
The Tailwind docs get into it a bit as you can see here: https://tailwindcss.com/docs/configuration#theme
Here is the spacing section in my config where I've extended the default with interstitial values. What's really cool is these propagate to all the spacing utilities (padding, margin, margin between, etc)
spacing: {
0.75: '0.1875rem',
1.25: '0.3125rem',
1.75: '0.4375rem',
2.25: '0.5625rem',
2.75: '0.6875rem',
3.25: '0.8125rem',
4.5: '1.125rem',
4.75: '1.1875rem',
}No comments yet.