Rename textSizes to fontSize
This commit is contained in:
parent
e9f86cc295
commit
ab9277d3eb
6 changed files with 5 additions and 5 deletions
|
|
@ -47,7 +47,7 @@ module.exports = {
|
|||
tableLayout: ['responsive'],
|
||||
textAlign: ['responsive'],
|
||||
textColors: ['responsive', 'hover', 'focus'],
|
||||
textSizes: ['responsive'],
|
||||
fontSize: ['responsive'],
|
||||
textStyle: ['responsive', 'hover', 'focus'],
|
||||
tracking: ['responsive'],
|
||||
userSelect: ['responsive'],
|
||||
|
|
|
|||
|
|
@ -120,7 +120,7 @@ module.exports = function() {
|
|||
],
|
||||
mono: ['Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', 'monospace'],
|
||||
},
|
||||
textSizes: {
|
||||
fontSize: {
|
||||
xs: '.75rem', // 12px
|
||||
sm: '.875rem', // 14px
|
||||
base: '1rem', // 16px
|
||||
|
|
|
|||
1
plugins/fontSize.js
Normal file
1
plugins/fontSize.js
Normal file
|
|
@ -0,0 +1 @@
|
|||
module.exports = require('../lib/plugins/fontSize').default
|
||||
|
|
@ -1 +0,0 @@
|
|||
module.exports = require('../lib/plugins/textSizes').default
|
||||
|
|
@ -40,7 +40,7 @@ import stroke from './plugins/stroke'
|
|||
import tableLayout from './plugins/tableLayout'
|
||||
import textAlign from './plugins/textAlign'
|
||||
import textColors from './plugins/textColors'
|
||||
import textSizes from './plugins/textSizes'
|
||||
import fontSize from './plugins/fontSize'
|
||||
import textStyle from './plugins/textStyle'
|
||||
import tracking from './plugins/tracking'
|
||||
import userSelect from './plugins/userSelect'
|
||||
|
|
@ -111,7 +111,7 @@ export default function(config) {
|
|||
tableLayout,
|
||||
textAlign,
|
||||
textColors,
|
||||
textSizes,
|
||||
fontSize,
|
||||
textStyle,
|
||||
tracking,
|
||||
userSelect,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue