mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
Rename list-reset to list-none, remove padding declaration
This commit is contained in:
parent
fd3dc6e9c4
commit
137159aaa9
@ -569,9 +569,8 @@ samp {
|
||||
}
|
||||
}
|
||||
|
||||
.list-reset {
|
||||
list-style: none !important;
|
||||
padding: 0 !important;
|
||||
.list-none {
|
||||
list-style-type: none !important;
|
||||
}
|
||||
|
||||
.appearance-none {
|
||||
@ -6602,9 +6601,8 @@ samp {
|
||||
}
|
||||
|
||||
@media (min-width: 640px) {
|
||||
.sm\:list-reset {
|
||||
list-style: none !important;
|
||||
padding: 0 !important;
|
||||
.sm\:list-none {
|
||||
list-style-type: none !important;
|
||||
}
|
||||
|
||||
.sm\:appearance-none {
|
||||
@ -12612,9 +12610,8 @@ samp {
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.md\:list-reset {
|
||||
list-style: none !important;
|
||||
padding: 0 !important;
|
||||
.md\:list-none {
|
||||
list-style-type: none !important;
|
||||
}
|
||||
|
||||
.md\:appearance-none {
|
||||
@ -18622,9 +18619,8 @@ samp {
|
||||
}
|
||||
|
||||
@media (min-width: 1024px) {
|
||||
.lg\:list-reset {
|
||||
list-style: none !important;
|
||||
padding: 0 !important;
|
||||
.lg\:list-none {
|
||||
list-style-type: none !important;
|
||||
}
|
||||
|
||||
.lg\:appearance-none {
|
||||
@ -24632,9 +24628,8 @@ samp {
|
||||
}
|
||||
|
||||
@media (min-width: 1280px) {
|
||||
.xl\:list-reset {
|
||||
list-style: none !important;
|
||||
padding: 0 !important;
|
||||
.xl\:list-none {
|
||||
list-style-type: none !important;
|
||||
}
|
||||
|
||||
.xl\:appearance-none {
|
||||
|
||||
@ -569,9 +569,8 @@ samp {
|
||||
}
|
||||
}
|
||||
|
||||
.list-reset {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
.list-none {
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
.appearance-none {
|
||||
@ -6602,9 +6601,8 @@ samp {
|
||||
}
|
||||
|
||||
@media (min-width: 640px) {
|
||||
.sm\:list-reset {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
.sm\:list-none {
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
.sm\:appearance-none {
|
||||
@ -12612,9 +12610,8 @@ samp {
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.md\:list-reset {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
.md\:list-none {
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
.md\:appearance-none {
|
||||
@ -18622,9 +18619,8 @@ samp {
|
||||
}
|
||||
|
||||
@media (min-width: 1024px) {
|
||||
.lg\:list-reset {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
.lg\:list-none {
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
.lg\:appearance-none {
|
||||
@ -24632,9 +24628,8 @@ samp {
|
||||
}
|
||||
|
||||
@media (min-width: 1280px) {
|
||||
.xl\:list-reset {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
.xl\:list-none {
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
.xl\:appearance-none {
|
||||
|
||||
@ -33,7 +33,7 @@ module.exports = {
|
||||
fontWeight: ['responsive', 'hover', 'focus'],
|
||||
height: ['responsive'],
|
||||
lineHeight: ['responsive'],
|
||||
listStyle: ['responsive'],
|
||||
listStyleType: ['responsive'],
|
||||
margin: ['responsive'],
|
||||
maxHeight: ['responsive'],
|
||||
maxWidth: ['responsive'],
|
||||
|
||||
@ -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…
x
Reference in New Issue
Block a user