mapcomplete/tailwind.config.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
543 B
JavaScript
Raw Normal View History

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