Skip to content

Commit

Permalink
safelist gap classes in tailwind config
Browse files Browse the repository at this point in the history
  • Loading branch information
dugajean committed Oct 1, 2024
1 parent da848b6 commit 70e6bed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/sections/Main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const Main = () => {
as="main"
gap="8"
printGap="2"
className="w-full md:w-3/4 pb-12 md:py-24 print:py-8 px-12 print:px-6 md:pr-16"
className="w-full md:w-3/4 pb-12 md:py-24 print:py-8 px-12 print:px-6 md:pr-16 text-slate-900"
>
<VFlex gap="4" printGap="2">
<h2>Introduction</h2>
Expand Down
1 change: 1 addition & 0 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ export default {
}
}
},
safelist: [{ pattern: /gap-\d/, variants: ["print"] }],
plugins: []
};

0 comments on commit 70e6bed

Please sign in to comment.