Skip to content

Commit

Permalink
Don't show backticks for text in monospace font (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
conradolandia authored Dec 6, 2024
1 parent fc045a4 commit b46020a
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,17 @@ export default {
typography: (theme) => ({
DEFAULT: {
css: {
'code::before': {
content: '""'
},
'code::after': {
content: '""'
},
code: {
fontSize: "1rem",
fontSize: "1.18rem",
fontWeight: "400"
},
figure: {
border: "1px solid",
backgroundColor: "rgba(0, 0, 0, 0.01)",
Expand All @@ -48,6 +59,14 @@ export default {
}
},
},
lg: {
css: {
code: {
fontSize: "1.18rem",
fontWeight: "400"
},
}
},
md: {
css: {
figure: {
Expand Down

0 comments on commit b46020a

Please sign in to comment.