💄 remove wrapping from code and blockquotes and added background color to code

This commit is contained in:
Nuno Coração
2023-01-05 18:41:10 +00:00
parent 42953a8341
commit 8a91f00435
2 changed files with 41 additions and 8 deletions

View File

@@ -117,6 +117,25 @@ module.exports = {
padding: "0.1rem 0.2rem",
borderRadius: "0.12rem",
},
code:{
backgroundColor: theme("colors.neutral.200 / 1"),
paddingTop: "2px",
paddingBottom: "2px",
paddingLeft: "3px",
paddingRight: "3px",
},
'code::before': {
display: 'none'
},
'code::after': {
display: 'none'
},
'p::before': {
display: 'none'
},
'p::after': {
display: 'none'
},
},
},
invert: {
@@ -131,6 +150,9 @@ module.exports = {
mark: {
backgroundColor: theme("colors.secondary.400 / 1"),
},
code:{
backgroundColor: theme("colors.neutral.600 / 1"),
},
},
},
}),