Open bcheidemann opened 6 months ago
Context of sometimes working:
If you add this to one of the mdx
files it works:
import { Styles } from "@gemini-ui-astro/styles";
import { DynamicGlow } from "@gemini-ui-astro/components";
import { Grid, Card } from "@gemini-ui-astro/components";
<Styles />
<DynamicGlow />
<Card dynamicGlow>A</Card>
But if you add this it doesn't:
'''astro live
---
import { Styles } from "@gemini-ui-astro/styles";
import { DynamicGlow } from "@gemini-ui-astro/components";
import { Grid, Card } from "@gemini-ui-astro/components";
---
<Styles />
<DynamicGlow />
<Card dynamicGlow>A</Card>
'''
In some contexts, the dynamic glow is not animated in some examples. See the docs on DynamicGlow for an example of this. The custom properties seem to be applied correctly to the element.