Skip to content

Commit 813b6b7

Browse files
committed
fix tailwind config error
1 parent d4b760f commit 813b6b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/tailwind.config.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ module.exports = {
3939
};
4040

4141
// This plugin adds each Tailwind color as a global CSS variable, e.g. var(--gray-200).
42-
function addVariablesForColors({ addBase, theme }: any) {
42+
function addVariablesForColors({ addBase, theme }) {
4343
let allColors = flattenColorPalette(theme("colors"));
4444
let newVars = Object.fromEntries(
4545
Object.entries(allColors).map(([key, val]) => [`--${key}`, val])
@@ -48,4 +48,4 @@ function addVariablesForColors({ addBase, theme }: any) {
4848
addBase({
4949
":root": newVars,
5050
});
51-
}
51+
}

0 commit comments

Comments
 (0)