StyleRule Frame::UIStroke::UIGradient does not work

Trying to apply the Color property on a StyleRule with selector Frame::UIStroke::UIGradient fails with the following warning:
Failed to apply StyleRule property 'Color' from 'StyleRule': Unable to cast ColorSequence to Color3

Frame::UIGradient works as expected

Repro.rbxl (60.8 KB)

Hi @catinpsyop thanks for the report! Currently we don’t support nested pseudo instances so Frame::UIStroke::UIGradient isn’t a valid selector. We are currently working on a feature that will remove this limitation, but as of now, we don’t support style rules that target/create pseudo instances under other pseudo instances.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.