-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Closed
Description
Sometimes I just want the text to be a little smaller than it's parent. Since Tailwind uses rem as default, it's not that usual to do that.
So my feature request is to create text-smaller-* and text-bigger-*, initially with 3 sizes for each (to be honest I don't think the 50% is so necessary on both cases, but...)
extend: {
fontSize: {
'smaller-10': '0.9em', // 10% smaller
'smaller-25': '0.75em', // 25% smaller
'smaller-50': '0.5em', // 50% smaller
'bigger-10' : '1.1em', // 10% bigger
'bigger-25' : '1.25em', // 25% bigger
'bigger-50' : '1.5em', // 50% bigger
},
}Metadata
Metadata
Assignees
Labels
No labels