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 af10d59 commit 4a6ded3Copy full SHA for 4a6ded3
packages/system/src/style.ts
@@ -64,7 +64,7 @@ export const themeGetter = <T = any>({
64
if (!string(value) && !num(value) && value !== true) {
65
return res as CSSScalar
66
}
67
- const cacheKey = `${value}-${defaultValue}`
+ const cacheKey = `${typeof value}-${value}-${defaultValue}`
68
const cache = getCache<CSSScalar>(props.theme, `__themeGetter${id}`)
69
if (cache.has(cacheKey)) return cache.get(cacheKey)
70
0 commit comments