🚧 First svelte component

This commit is contained in:
wjtje 2023-01-17 18:31:51 +01:00 committed by Pieter Vander Vennet
parent 1c1df43bf9
commit 203d1b6b34
10 changed files with 809 additions and 668 deletions

27
tailwind.config.cjs Normal file
View file

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