The difference, however, between Matry and something like xstate is that the actual state is intended to be left to developers, because I’m trying to create an interface that allows designers to just focus on what they need to focus on.
So take something like dark mode. A designer might allow for a Boolean parameter that determines whether a component render in dark or light mode.
But as to whether the browser supports it, or whether the user has that mode set in their system preferences - that’s the developers responsibility.
That doesn’t fully answer your question but it’s a complex topic so hopefully that gives you an idea as to where my thoughts are going.