jerguero-cs/tailwind.config.js

46 lines
1.2 KiB
JavaScript
Raw Normal View History

2024-08-23 23:20:48 +00:00
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./Pages/**/*.cshtml"],
2024-08-24 00:25:42 +00:00
corePlugins: {
container: false
},
2024-08-23 23:20:48 +00:00
theme: {
2024-08-24 00:25:42 +00:00
extend: {
fontFamily: {
'serif': ["serif"],
},
colors: {
"c-primary": "var(--c-primary)",
"c-on-primary": "var(--c-on-primary)",
"c-bg": "var(--c-bg)",
"c-bg-2": "var(--c-bg-2)",
"c-on-bg": "var(--c-on-bg)",
"c-primary": "var(--c-primary)",
},
},
2024-08-23 23:20:48 +00:00
},
2024-08-24 00:25:42 +00:00
plugins: [
function ({ addComponents }) {
addComponents({
'.container': {
maxWidth: '95%',
margin: "auto",
'@screen sm': {
maxWidth: '640px',
},
'@screen md': {
maxWidth: '768px',
},
'@screen lg': {
maxWidth: '1024px',
},
'@screen xl': {
maxWidth: '1280px',
},
}
})
}
],
2024-08-23 23:20:48 +00:00
}