forked from MapComplete/MapComplete
🚧 First svelte component
This commit is contained in:
parent
1c1df43bf9
commit
203d1b6b34
10 changed files with 809 additions and 668 deletions
27
tailwind.config.cjs
Normal file
27
tailwind.config.cjs
Normal 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`
|
||||
})
|
||||
})
|
||||
}),
|
||||
],
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue