Not insane at all, but we've handled it a little differently. We put
classes on the body tag with that environment info. So you could write
that as:
@mixin back-button {
.ios & {
}
.android & {
}
}
And the selectors will target the OS correctly. We could create a
device.scss file, but we've tried to keep the compilation step as
simple as possible and do as little OS branching as possible. And
we're also looking forward to deploying apps to mobile web, where we
won't know the os at compile time. Hope this helps.