🦹♂️ Twin blends the magic of Tailwind with the flexibility of css-in-js (emotion, styled-components, solid-styled-components, stitches and goober) at build time.
This PR adds support for arrays used for fontSize values:
module.exports = {
theme: {
fontSize: {
sm: ['14px', '20px'], // if second value is a string then it will be used as the lineHeight
base: ['16px', {
lineHeight: '24px', // if second value is a object it will be merged
}],
}
}
}
This PR adds support for arrays used for fontSize values:
This behaviour is now synced with tailwind font size values.