Hi! I’m creating a design system and building a Figma library for it. I can’t seem to find any info on how to handle ‘inverted’ color situations. I don’t mean a system-wide or application-wide dark mode, I just mean when components are placed on darker backgrounds within an otherwise light-mode context.
I’ve seen other design systems include it in their documentation (e.g. use the inverted color variant when a button when placed on a strong background), but I rarely see anyone doing it in Figma, be it in the Variables or the Components.
Is everyone just switching modes on the frame level to handle these cases? Is that bad practice when it comes to collaboration with dev? Should I be making inverted variants for my components? This would basically double the number of variants…help!
I currently have inverted color tokens as part of my light mode token set. But this basically doubles my tokens.