thp-lang.org/tailwind.config.js

51 lines
1.5 KiB
JavaScript
Raw Normal View History

2023-06-25 12:59:18 +00:00
/** @type {import('tailwindcss').Config} */
module.exports = {
2023-11-04 12:17:32 +00:00
content: ["./static/**/*.html"],
theme: {
extend: {
colors: {
"c-bg": "var(--c-bg)",
"c-text": "var(--c-text)",
"c-purple": "var(--c-purple)",
"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: {
"mono": ["'Fira Code'", "Inconsolata", "Iosevka", "monospace"],
"display": ["'Josefin Sans'", "'Fugaz One'", "sans-serif"],
2024-01-14 00:08:57 +00:00
"body": ["'Fira Sans'", "Inter", "sans-serif"],
2023-11-04 12:17:32 +00:00
},
2023-06-25 12:59:18 +00:00
},
2024-02-20 10:17:21 +00:00
corePlugins: {
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': {
maxWidth: '1280px',
},
}
})
}
],
2023-06-25 12:59:18 +00:00
}