We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0ece7d commit b32ef05Copy full SHA for b32ef05
src/lib/twConfigParser.js
@@ -2,7 +2,8 @@ import flattenColorPalette from 'tailwindcss/lib/util/flattenColorPalette'
2
import resolveConfig from 'tailwindcss/resolveConfig'
3
4
export default (configStr) => {
5
- return resolveConfig(configStr)
+ const config = eval(configStr)
6
+ return resolveConfig(config)
7
}
8
9
export const transformThemeForCanvas = ({ theme }) => {
0 commit comments