Merge pull request #301 from AlexanderZeilmann/master

fix: use '::' for pseudo-classes & ::marker
This commit is contained in:
Timothy 2021-12-19 21:35:58 +08:00 committed by GitHub
commit e05191f1c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 7 deletions

View file

@ -2,10 +2,14 @@
@tailwind components;
@tailwind utilities;
.task-list-item:before {
.task-list-item::before {
@apply hidden;
}
.task-list-item {
@apply list-none;
}
html {
scroll-behavior: smooth;
}

View file

@ -62,10 +62,10 @@ module.exports = {
paddingBottom: '2px',
borderRadius: '0.25rem',
},
'code:before': {
'code::before': {
content: 'none',
},
'code:after': {
'code::after': {
content: 'none',
},
details: {
@ -77,11 +77,11 @@ module.exports = {
borderRadius: '0.25rem',
},
hr: { borderColor: theme('colors.gray.200') },
'ol li:before': {
'ol li::marker': {
fontWeight: '600',
color: theme('colors.gray.500'),
},
'ul li:before': {
'ul li::marker': {
backgroundColor: theme('colors.gray.500'),
},
strong: { color: theme('colors.gray.600') },
@ -128,11 +128,11 @@ module.exports = {
backgroundColor: theme('colors.gray.800'),
},
hr: { borderColor: theme('colors.gray.700') },
'ol li:before': {
'ol li::marker': {
fontWeight: '600',
color: theme('colors.gray.400'),
},
'ul li:before': {
'ul li::marker': {
backgroundColor: theme('colors.gray.400'),
},
strong: { color: theme('colors.gray.100') },