2022-09-08 08:24:17 +02:00
|
|
|
/** @type {import('tailwindcss').Config} */
|
2023-01-17 18:31:51 +01:00
|
|
|
const plugin = require("tailwindcss/plugin")
|
2024-08-29 23:11:59 +02:00
|
|
|
const flowbitePlugin = require("flowbite/plugin")
|
2021-01-27 02:26:57 +01:00
|
|
|
|
2021-01-17 21:01:44 +01:00
|
|
|
module.exports = {
|
2024-08-29 23:11:59 +02:00
|
|
|
content: ["./**/*.{html,ts,svelte}", './node_modules/flowbite-svelte/**/*.{html,js,svelte,ts}'],
|
|
|
|
|
2022-09-08 08:24:17 +02:00
|
|
|
theme: {
|
|
|
|
extend: {
|
|
|
|
maxHeight: {
|
|
|
|
"65vh": "65vh",
|
|
|
|
"20vh": "20vh",
|
|
|
|
},
|
2023-01-17 18:31:51 +01:00
|
|
|
colors: {
|
|
|
|
subtle: "#dbeafe",
|
|
|
|
unsubtle: "#bfdbfe",
|
2024-08-29 23:11:59 +02:00
|
|
|
// flowbite-svelte
|
|
|
|
primary: {
|
|
|
|
50: '#FFF5F2',
|
|
|
|
100: '#FFF1EE',
|
|
|
|
200: '#FFE4DE',
|
|
|
|
300: '#FFD5CC',
|
|
|
|
400: '#FFBCAD',
|
|
|
|
500: '#FE795D',
|
|
|
|
600: '#EF562F',
|
|
|
|
700: '#EB4F27',
|
|
|
|
800: '#CC4522',
|
|
|
|
900: '#A5371B'
|
|
|
|
}
|
2023-01-17 18:31:51 +01:00
|
|
|
},
|
2021-01-21 04:48:52 +01:00
|
|
|
},
|
2022-09-08 08:24:17 +02:00
|
|
|
},
|
|
|
|
plugins: [
|
2024-08-29 23:11:59 +02:00
|
|
|
flowbitePlugin,
|
2022-09-08 08:24:17 +02:00
|
|
|
plugin(function ({ addVariant, e }) {
|
|
|
|
addVariant("landscape", ({ modifySelectors, separator }) => {
|
|
|
|
modifySelectors(({ className }) => {
|
2023-01-17 18:31:51 +01:00
|
|
|
return `.${e(`landscape${separator}${className}`)}:landscape`
|
|
|
|
})
|
|
|
|
})
|
2022-09-08 08:24:17 +02:00
|
|
|
}),
|
|
|
|
],
|
2023-01-17 18:31:51 +01:00
|
|
|
}
|