eeg_internal/tailwind.config.js

39 lines
947 B
JavaScript
Raw Permalink Normal View History

2024-02-10 00:18:21 +00:00
/** @type {import('tailwindcss').Config} */
module.exports = {
2024-02-15 21:33:46 +00:00
corePlugins: {
container: false
},
2024-02-10 00:18:21 +00:00
content: [
"./src/**/*.{html,rs}",
],
theme: {
2024-02-10 01:37:11 +00:00
extend: {
colors: {
"c-bg": "var(--c-bg)",
"c-on-bg": "var(--c-on-bg)",
}
},
2024-02-10 00:18:21 +00:00
},
2024-02-15 21:33:46 +00:00
plugins: [
function ({ addComponents }) {
addComponents({
'.container': {
width: '95%',
'@screen sm': {
maxWidth: '640px',
},
'@screen md': {
maxWidth: '768px',
},
'@screen lg': {
maxWidth: '1024px',
},
'@screen xl': {
maxWidth: '1280px',
},
}
})
}
],
2024-02-10 00:18:21 +00:00
}