jerguero-rs/tailwind.config.js

84 lines
2.0 KiB
JavaScript
Raw Normal View History

2024-02-25 23:29:46 +00:00
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./src/**/*.{rs,html}",
"./static/**/*.html",
],
2024-03-10 21:40:54 +00:00
corePlugins: {
container: false
},
2024-02-25 23:29:46 +00:00
theme: {
2024-03-10 21:40:54 +00:00
extend: {
fontFamily: {
2024-05-22 22:13:47 +00:00
'serif': ["serif"],
2024-05-21 21:33:18 +00:00
},
colors: {
2024-05-22 00:46:48 +00:00
"c-primary": "var(--c-primary)",
2024-06-22 00:48:27 +00:00
"c-on-primary": "var(--c-on-primary)",
2024-05-22 00:46:48 +00:00
"c-bg": "var(--c-bg)",
2024-05-22 22:13:47 +00:00
"c-bg-2": "var(--c-bg-2)",
2024-05-22 00:46:48 +00:00
"c-on-bg": "var(--c-on-bg)",
2024-05-22 22:13:47 +00:00
"c-primary": "var(--c-primary)",
2024-05-21 21:33:18 +00:00
},
2024-03-10 21:40:54 +00:00
},
2024-02-25 23:29:46 +00:00
},
2024-03-10 21:40:54 +00:00
plugins: [
function ({ addComponents }) {
addComponents({
'.container': {
maxWidth: '95%',
margin: "auto",
'@screen sm': {
maxWidth: '640px',
},
'@screen md': {
maxWidth: '768px',
},
'@screen lg': {
maxWidth: '1024px',
},
'@screen xl': {
maxWidth: '1280px',
},
}
})
}
],
2024-02-25 23:29:46 +00:00
daisyui: {
2024-03-10 20:24:47 +00:00
themes: [
"light",
"dark",
"cupcake",
"bumblebee",
"emerald",
"corporate",
"synthwave",
"retro",
"cyberpunk",
"valentine",
"halloween",
"garden",
"forest",
"aqua",
"lofi",
"pastel",
"fantasy",
"wireframe",
"black",
"luxury",
"dracula",
"cmyk",
"autumn",
"business",
"acid",
"lemonade",
"night",
"coffee",
"winter",
"dim",
"nord",
"sunset",
]
2024-02-25 23:29:46 +00:00
}
}