Skip to content

Commit

Permalink
[web] Style change: show no backticks in inline code
Browse files Browse the repository at this point in the history
  • Loading branch information
chleh authored and endJunction committed Oct 1, 2024
1 parent 7a28d7f commit 3093955
Showing 1 changed file with 27 additions and 8 deletions.
35 changes: 27 additions & 8 deletions web/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,33 @@ module.exports = {
],
theme: {
extend: {
typography: {
DEFAULT: {
css: {
a: {
color: '#104EB2',
}
},
},
typography (theme) {
return {
DEFAULT: {
css: {
a: {
color: '#104EB2',
},
'code::before': {
content: 'none',
},
'code::after': {
content: 'none'
},
code: {
"font-weight": "normal",
borderRadius: theme('borderRadius.DEFAULT'),
paddingLeft: theme('spacing[1]'),
paddingRight: theme('spacing[1]'),
paddingTop: theme('spacing[0.5]'),
paddingBottom: theme('spacing[0.5]'),
},
'a code:hover': {
"font-weight": "bold",
},
},
}
};
},
fontFamily: {
sans: ['Open Sans', ...defaultTheme.fontFamily.sans]
Expand Down

0 comments on commit 3093955

Please sign in to comment.