Skip to content

Commit

Permalink
add responsive as a default variant for capHeight and lineGap utilities
Browse files Browse the repository at this point in the history
  • Loading branch information
themosaad committed Nov 4, 2020
1 parent b24c142 commit 41f2ace
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,10 @@ module.exports = plugin(
fontSize: false,
lineHeight: false,
},
variants: {
capHeight: ['responsive'],
lineGap: ['responsive'],
},
theme: {
capHeight: {
2: ['0.5rem', { lineGap: '0.5rem' }],
Expand Down

1 comment on commit 41f2ace

@vercel
Copy link

@vercel vercel bot commented on 41f2ace Nov 4, 2020

Choose a reason for hiding this comment

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

Please sign in to comment.