ekzyis/tailwind.config.js
ekzyis fcbd73e27d Serve index.html with caddy
* caddy instead of nginx
* darkmode only
* flake.nix instead of shell.nix
2025-07-20 17:19:29 +02:00

31 lines
557 B
JavaScript

module.exports = {
mode: 'jit',
darkMode: 'selector',
content: ["public/**/*.html"],
theme: {
container: {
center: true,
padding: '1rem'
},
borderWidth: {
'1': '1px'
},
extend: {},
},
plugins: [
function ({ addComponents }) {
addComponents({
'.container': {
'@screen lg': {
maxWidth: '1280px',
},
'@screen xl': {
maxWidth: '1280px',
},
}
})
}
],
}