2023-06-25 12:59:18 +00:00
|
|
|
/** @type {import('tailwindcss').Config} */
|
2024-04-23 15:16:51 +00:00
|
|
|
export default {
|
2024-05-29 02:12:04 +00:00
|
|
|
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,ts,tsx}'],
|
2024-04-23 15:16:51 +00:00
|
|
|
theme: {
|
|
|
|
extend: {
|
2023-11-04 12:17:32 +00:00
|
|
|
colors: {
|
2024-06-20 22:29:30 +00:00
|
|
|
"c-thp": "var(--c-thp)",
|
2023-11-04 12:17:32 +00:00
|
|
|
"c-bg": "var(--c-bg)",
|
|
|
|
"c-text": "var(--c-text)",
|
2024-03-28 01:55:35 +00:00
|
|
|
"c-text-2": "var(--c-text-2)",
|
2023-11-04 12:17:32 +00:00
|
|
|
"c-purple": "var(--c-purple)",
|
2024-08-26 16:05:21 +00:00
|
|
|
"c-border-1": "var(--c-border-1)",
|
2023-11-04 12:17:32 +00:00
|
|
|
"c-purple-light": "var(--c-purple-light)",
|
|
|
|
"c-box-shadow": "var(--c-box-shadow)",
|
|
|
|
"c-ping": "var(--c-pink)",
|
|
|
|
"c-background-2": "var(--c-background-2)",
|
|
|
|
"c-primary": "var(--c-primary)",
|
|
|
|
"c-secondary": "var(--c-secondary)",
|
|
|
|
"c-nav-bg": "var(--c-nav-bg)",
|
|
|
|
}
|
|
|
|
},
|
|
|
|
fontFamily: {
|
2024-08-06 21:26:09 +00:00
|
|
|
"mono": "var(--font-code)",
|
|
|
|
"display": "var(--font-display)",
|
|
|
|
"body": "var(--font-body)",
|
2023-11-04 12:17:32 +00:00
|
|
|
},
|
2024-04-23 15:16:51 +00:00
|
|
|
},
|
|
|
|
corePlugins: {
|
2024-02-20 10:17:21 +00:00
|
|
|
container: false
|
|
|
|
},
|
2024-01-14 00:08:57 +00:00
|
|
|
plugins: [
|
|
|
|
function ({ addComponents }) {
|
|
|
|
addComponents({
|
|
|
|
'.container': {
|
2024-02-20 10:17:21 +00:00
|
|
|
width: '98%',
|
2024-01-14 00:08:57 +00:00
|
|
|
'@screen sm': {
|
|
|
|
maxWidth: '640px',
|
|
|
|
},
|
|
|
|
'@screen md': {
|
|
|
|
maxWidth: '768px',
|
|
|
|
},
|
|
|
|
'@screen lg': {
|
|
|
|
maxWidth: '1024px',
|
|
|
|
},
|
|
|
|
'@screen xl': {
|
2024-03-28 01:55:35 +00:00
|
|
|
maxWidth: '1400px',
|
2024-01-14 00:08:57 +00:00
|
|
|
},
|
2024-04-23 21:25:10 +00:00
|
|
|
},
|
|
|
|
'.small-container': {
|
|
|
|
width: '98%',
|
|
|
|
'@screen sm': {
|
|
|
|
maxWidth: '640px',
|
|
|
|
},
|
|
|
|
'@screen md': {
|
|
|
|
maxWidth: '768px',
|
|
|
|
},
|
|
|
|
'@screen lg': {
|
|
|
|
maxWidth: 'inherit',
|
|
|
|
},
|
2024-01-14 00:08:57 +00:00
|
|
|
}
|
|
|
|
})
|
|
|
|
}
|
|
|
|
],
|
2023-06-25 12:59:18 +00:00
|
|
|
}
|