mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
Rename fontWeights to fontWeight
This commit is contained in:
parent
856fdbc3dd
commit
af65b45a4c
@ -22,7 +22,7 @@ module.exports = {
|
||||
flexbox: ['responsive'],
|
||||
float: ['responsive'],
|
||||
fontFamily: ['responsive'],
|
||||
fontWeights: ['responsive', 'hover', 'focus'],
|
||||
fontWeight: ['responsive', 'hover', 'focus'],
|
||||
height: ['responsive'],
|
||||
leading: ['responsive'],
|
||||
lists: ['responsive'],
|
||||
|
||||
@ -131,7 +131,7 @@ module.exports = function() {
|
||||
'4xl': '2.25rem', // 36px
|
||||
'5xl': '3rem', // 48px
|
||||
},
|
||||
fontWeights: {
|
||||
fontWeight: {
|
||||
hairline: 100,
|
||||
thin: 200,
|
||||
light: 300,
|
||||
|
||||
1
plugins/fontWeight.js
Normal file
1
plugins/fontWeight.js
Normal file
@ -0,0 +1 @@
|
||||
module.exports = require('../lib/plugins/fontWeight').default
|
||||
@ -1 +0,0 @@
|
||||
module.exports = require('../lib/plugins/fontWeights').default
|
||||
@ -16,7 +16,7 @@ import display from './plugins/display'
|
||||
import flexbox from './plugins/flexbox'
|
||||
import float from './plugins/float'
|
||||
import fontFamily from './plugins/fontFamily'
|
||||
import fontWeights from './plugins/fontWeights'
|
||||
import fontWeight from './plugins/fontWeight'
|
||||
import height from './plugins/height'
|
||||
import leading from './plugins/leading'
|
||||
import margin from './plugins/margin'
|
||||
@ -87,7 +87,7 @@ export default function(config) {
|
||||
flexbox,
|
||||
float,
|
||||
fontFamily,
|
||||
fontWeights,
|
||||
fontWeight,
|
||||
height,
|
||||
leading,
|
||||
margin,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user