2022-09-08 08:24:17 +02:00
|
|
|
/** @type {import('tailwindcss').Config} */
|
|
|
|
const plugin = require("tailwindcss/plugin");
|
2021-01-27 02:26:57 +01:00
|
|
|
|
2021-01-17 21:01:44 +01:00
|
|
|
module.exports = {
|
2022-09-08 08:24:17 +02:00
|
|
|
content: ["./**/*.html", "./**/*.ts"],
|
|
|
|
theme: {
|
|
|
|
extend: {
|
|
|
|
maxHeight: {
|
|
|
|
"65vh": "65vh",
|
|
|
|
"20vh": "20vh",
|
|
|
|
},
|
2021-01-21 04:48:52 +01:00
|
|
|
},
|
2022-09-08 08:24:17 +02:00
|
|
|
},
|
|
|
|
plugins: [
|
|
|
|
plugin(function ({ addVariant, e }) {
|
|
|
|
addVariant("landscape", ({ modifySelectors, separator }) => {
|
|
|
|
modifySelectors(({ className }) => {
|
|
|
|
return `.${e(`landscape${separator}${className}`)}:landscape`;
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}),
|
|
|
|
],
|
|
|
|
};
|