AntCMS/tailwind.config.js

35 lines
960 B
JavaScript
Raw Normal View History

2023-01-07 10:18:16 +00:00
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/Themes/Default/Templates/*.{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
}