araozu.dev/tailwind.config.mjs

35 lines
878 B
JavaScript
Raw Normal View History

2024-04-23 22:06:30 +00:00
/** @type {import('tailwindcss').Config} */
export default {
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
theme: {
extend: {
colors: {
'c-bg': 'var(--c-bg)',
'c-on-bg': 'var(--c-on-bg)',
2024-05-01 11:50:59 +00:00
'c-bg-2': 'var(--c-bg-2)',
2024-04-23 22:06:30 +00:00
},
},
},
2024-05-04 13:20:29 +00:00
plugins: [
function ({ addComponents }) {
addComponents({
'.container': {
width: '98%',
'@screen sm': {
maxWidth: '640px',
},
'@screen md': {
maxWidth: '768px',
},
'@screen lg': {
maxWidth: '1024px',
},
'@screen xl': {
maxWidth: '1400px',
},
},
})
}
],
2024-04-23 22:06:30 +00:00
}