"Detach color variable" button should only detach external color variable and leave inner variable intact

Hi everybody!

BACKSTORY:
I tried using new fill variable tables for Material design approach and created these variable collections: one for color palettes (e.g. primary90 or neutral30) and another for color roles (e.g. Outline Variant or Surface).



I use Color Palette variable in Color Role variable.

What I have noticed is that when I detach Color Role variable from a layer, it also detaches a Color Palette variable that was inside.


IDEA:
I think it would be very cool if the “detach variable” button would detach only outer variable and inner variable would still be attached.