diff --git a/web/tailwind.config.js b/web/tailwind.config.js index d22f5fd8cbed1b981208ed29ab6d74749cf84034..66cd361827d1e7515a99b0d93e1b595ef242f474 100644 --- a/web/tailwind.config.js +++ b/web/tailwind.config.js @@ -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]