mapcomplete/tailwind.config.cjs

28 lines
618 B
JavaScript
Raw Normal View History

/** @type {import('tailwindcss').Config} */
2023-01-17 18:31:51 +01:00
const plugin = require("tailwindcss/plugin")
2021-01-27 02:26:57 +01:00
module.exports = {
2023-01-17 18:31:51 +01:00
content: ["./**/*.{html,ts,svelte}"],
theme: {
extend: {
maxHeight: {
"65vh": "65vh",
"20vh": "20vh",
},
2023-01-17 18:31:51 +01:00
colors: {
subtle: "#dbeafe",
unsubtle: "#bfdbfe",
},
},
},
plugins: [
plugin(function ({ addVariant, e }) {
addVariant("landscape", ({ modifySelectors, separator }) => {
modifySelectors(({ className }) => {
2023-01-17 18:31:51 +01:00
return `.${e(`landscape${separator}${className}`)}:landscape`
})
})
}),
],
2023-01-17 18:31:51 +01:00
}