Rename list-reset to list-none, remove padding declaration
This commit is contained in:
parent
fd3dc6e9c4
commit
137159aaa9
5 changed files with 26 additions and 37 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import preflight from './plugins/preflight'
|
||||
import listStyle from './plugins/listStyle'
|
||||
import listStyleType from './plugins/listStyleType'
|
||||
import appearance from './plugins/appearance'
|
||||
import backgroundAttachment from './plugins/backgroundAttachment'
|
||||
import backgroundColor from './plugins/backgroundColor'
|
||||
|
|
@ -66,7 +66,7 @@ import configurePlugins from './util/configurePlugins'
|
|||
export default function({ corePlugins: corePluginConfig }) {
|
||||
return configurePlugins(corePluginConfig, {
|
||||
preflight,
|
||||
listStyle,
|
||||
listStyleType,
|
||||
appearance,
|
||||
backgroundAttachment,
|
||||
backgroundColor,
|
||||
|
|
|
|||
|
|
@ -2,12 +2,11 @@ export default function() {
|
|||
return function({ addUtilities, config }) {
|
||||
addUtilities(
|
||||
{
|
||||
'.list-reset': {
|
||||
'list-style': 'none',
|
||||
padding: '0',
|
||||
'.list-none': {
|
||||
'list-style-type': 'none',
|
||||
},
|
||||
},
|
||||
config('variants.listStyle')
|
||||
config('variants.listStyleType')
|
||||
)
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue