AntCMS/tailwind.config.js
Belle Aerni 457cce525b
Basic plugin support + admin plugin (#5)
* Started writing plugin support

* Started work on the Admin plugin

* Added page list regeneration option

* Started work on the config editor

* Rebased

* Admin plugin can now edit the config

* Ability to edit pages + verify config before saving

* Make PHPStan happy :)

* Implemented authentication
2023-01-08 08:54:54 -08:00

35 lines
No EOL
960 B
JavaScript

/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/Themes/Default/Templates/*.{html,js}"],
theme: {
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'),
},
}
},
}
}
},
},
plugins: [
require('@tailwindcss/typography'),
require('@tailwindcss/forms'),
],
}