hugo-theme/tailwind.config.js
2024-10-21 13:47:30 +02:00

42 lines
1.1 KiB
JavaScript

/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: 'class',
content: [
"./themes/**/layouts/**/*.html",
"./layouts/**/*.html"
],
theme: {
extend: {
typography: {
quoteless: {
css: {
'blockquote p:first-of-type::before': { content: 'none' },
'blockquote p:first-of-type::after': { content: 'none' },
'code::before': { content: 'none' },
'code::after': { content: 'none' },
'> ul > li > input:first-child': {
marginTop: 0,
},
'> ul > li > input:last-child': {
marginBottom: 0,
},
'> ol > li > input:first-child': {
marginTop: 0,
},
'> ol > li > input:last-child': {
marginBottom: 0,
},
'.gist .highlight tbody tr': {
borderWidth: 0,
},
},
},
},
},
},
plugins: [
require('@tailwindcss/typography'),
require('@tailwindcss/forms'),
],
}