Cant access fills

Nope, the error is about the mixed type fill. You need to check if it’s mixed because if it is, you can’t iterate it like an array.

Similar to this: Figma.mixed - #2 by Gleb