Skip to content
Snippets Groups Projects
Commit 3093955d authored by Christoph Lehmann's avatar Christoph Lehmann Committed by Dmitri Naumov
Browse files

[web] Style change: show no backticks in inline code

parent 7a28d7f6
No related branches found
No related tags found
No related merge requests found
......@@ -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]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment