Would be great if I could reference other styles within a new style

I have a set of primitive colors. I would be great if I could reference those primitives in say a white theme and dark theme. What would this be called, nested style attributes?

Please vote for this idea here: Use styles in other styles.