There are some approaches involving CSS media queries that seem to be becoming popular. Support is still pretty spotty, so it isn't the most accurate thing in the world but is somewhat technically possible.
We don't do this now, but it is something we've started looking at. So, to answer your original question, it isn't just a matter of exposing something we already have.