AntCMS/tailwind.config.js

35 lines
965 B
JavaScript
Raw Permalink Normal View History

2023-01-07 10:18:16 +00:00
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/Themes/Default/Templates/*.{twig,html,js}"],
2023-01-07 10:18:16 +00:00
theme: {
2023-01-08 05:48:49 +00:00
extend: {
typography ({ theme }) {
return {
DEFAULT: {
css: {
'code::before': {
content: 'none',
},
'code::after': {
content: 'none'
},
code: {
backgroundColor: theme('colors.zinc.700'),
color: theme('colors.zinc.100'),
paddingLeft: theme('spacing[1.5]'),
paddingRight: theme('spacing[1.5]'),
paddingTop: theme('spacing.1'),
paddingBottom: theme('spacing.1'),
borderRadius: theme('borderRadius.DEFAULT'),
},
}
},
}
}
},
2023-01-07 10:18:16 +00:00
},
plugins: [
require('@tailwindcss/typography'),
require('@tailwindcss/forms'),
2023-01-07 10:18:16 +00:00
],
2023-01-08 05:48:49 +00:00
}