araozu.dev/tailwind.config.mjs

39 lines
1.1 KiB
JavaScript
Raw Normal View History

2024-04-23 22:06:30 +00:00
/** @type {import('tailwindcss').Config} */
export default {
2024-10-06 02:06:04 +00:00
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)',
'c-bg-2': 'var(--c-bg-2)',
},
2024-05-20 22:47:25 +00:00
fontFamily: {
2024-10-06 02:06:04 +00:00
"etoile": ["var(--font-display)"],
"display": ["var(--font-display)"],
2024-05-20 22:47:25 +00:00
}
2024-10-06 02:06:04 +00:00
},
},
plugins: [
function({ addComponents }) {
2024-05-04 13:20:29 +00:00
addComponents({
'.container': {
width: '98%',
'@screen sm': {
maxWidth: '640px',
},
'@screen md': {
maxWidth: '768px',
},
'@screen lg': {
maxWidth: '1024px',
},
'@screen xl': {
maxWidth: '1400px',
},
},
})
}
2024-10-06 02:06:04 +00:00
],
2024-04-23 22:06:30 +00:00
}