Variables not showing in file

I’ve created some variables, but one of them is not appearing when I search for it to try and use it inside a gradient.

You can see here that I have created the --color-good-light variable.

However when I try to search for it inside the same design file, it doesn’t appear

Screenshot 2024-05-22 at 11.09.06

Not sure what I am doing wrong?