Does createVar() work in createTheme()? #1348
Replies: 2 comments
-
This is just a quirk of how CSS custom properties work. When defining This can be clearly seen in Chrome devtools: Firefox actually displays this incorrectly. It thinks that the defined |
Beta Was this translation helpful? Give feedback.
-
Seems the user resolved this a while ago. https://discord.com/channels/885877446098964512/1214606893197299822/1214977235249791009 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I have this situation when I'm creating a theme,
I've got this theme where I'm using a createVar() inside createTheme().
when I assignInline the padding_top and padding_bottom the value is not updated and I still see the same fallback value
the createTheme is added to the class name attr on the parent element and the padding top and bottom are updated using assignInlineVars.
I see the variables are updated but when I'm using paddingXY the block doesn't updates with that values.
Beta Was this translation helpful? Give feedback.
All reactions