diff --git a/lib/tailwindConfigUtils.js b/lib/tailwindConfigUtils.js index 0c7a073..7e4012c 100644 --- a/lib/tailwindConfigUtils.js +++ b/lib/tailwindConfigUtils.js @@ -55,6 +55,9 @@ const replaceWithOverrides = (theme) => { function findAndReplaceRecursively (target, find, replaceWith) { if (typeof target !== 'object') { + if (typeof target === 'string') { + return target.replace(find, replaceWith) + } if (target === find) return replaceWith return target }