mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-07 14:18:47 +00:00
Fix: re-add tailwind css safelist (#4999)
This commit is contained in:
parent
9545757bb9
commit
5ea46881ee
2 changed files with 49 additions and 44 deletions
|
@ -33,48 +33,4 @@ module.exports = {
|
|||
},
|
||||
},
|
||||
plugins: [tailwindForms, tailwindScrollbars],
|
||||
// always include these in build as classes are dynamically constructed
|
||||
safelist: [
|
||||
"backdrop-blur",
|
||||
"backdrop-blur-sm",
|
||||
"backdrop-blur-md",
|
||||
"backdrop-blur-xl",
|
||||
"backdrop-saturate-0",
|
||||
"backdrop-saturate-50",
|
||||
"backdrop-saturate-100",
|
||||
"backdrop-saturate-150",
|
||||
"backdrop-saturate-200",
|
||||
"backdrop-brightness-0",
|
||||
"backdrop-brightness-50",
|
||||
"backdrop-brightness-75",
|
||||
"backdrop-brightness-90",
|
||||
"backdrop-brightness-95",
|
||||
"backdrop-brightness-100",
|
||||
"backdrop-brightness-105",
|
||||
"backdrop-brightness-110",
|
||||
"backdrop-brightness-125",
|
||||
"backdrop-brightness-150",
|
||||
"backdrop-brightness-200",
|
||||
"grid-cols-1",
|
||||
"md:grid-cols-1",
|
||||
"md:grid-cols-2",
|
||||
"lg:grid-cols-1",
|
||||
"lg:grid-cols-2",
|
||||
"lg:grid-cols-3",
|
||||
"lg:grid-cols-4",
|
||||
"lg:grid-cols-5",
|
||||
"lg:grid-cols-6",
|
||||
"lg:grid-cols-7",
|
||||
"lg:grid-cols-8",
|
||||
// for status
|
||||
"bg-white",
|
||||
"bg-black",
|
||||
"dark:bg-white",
|
||||
"bg-orange-400",
|
||||
"dark:bg-orange-400",
|
||||
{
|
||||
pattern: /h-([0-96])/,
|
||||
variants: ["sm", "md", "lg", "xl", "2xl"],
|
||||
},
|
||||
],
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue