Skip to content

Commit

Permalink
add spacing 11
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinMalfait committed Nov 6, 2020
1 parent 700866c commit 7f05204
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions stubs/defaultConfig.stub.js
Expand Up @@ -45,6 +45,7 @@ module.exports = {
8: '2rem',
9: '2.25rem',
10: '2.5rem',
11: '2.75rem',
12: '3rem',
14: '3.5rem',
16: '4rem',
Expand Down

3 comments on commit 7f05204

@huphtur
Copy link

@huphtur huphtur commented on 7f05204 Nov 6, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The famous these go to eleven scene from Spinal Tap.

Sorry, couldn't resist. Happy Friday!

@4m1n0s
Copy link

@4m1n0s 4m1n0s commented on 7f05204 Nov 7, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as tailwind start to use (dot .) in spacing why this is not like that?

easy to remember.

spacing: {
      px: '1px',
      0: '0',
      0.125: '0.125rem',
      0.25: '0.25rem',
      0.375: '0.375rem',
      0.5: '0.5rem',
      0.625: '0.625rem',
      0.75: '0.75rem',
      0.875: '0.875rem',
      1: '1rem',
      1.25: '1.25rem',
      1.5: '1.5rem',
      1.75: '1.75rem',
      2: '2rem',
      2.25: '2.25rem',
      2.5: '2.5rem',
},

@adamwathan
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@iAmine that would be a really big breaking change. If I could do it over again I'd just use pixel values, like h-12 is .75rem (which is 12px by default).

Please sign in to comment.