Open NancyMcCallB opened 2 years ago
@FlyersPh9 : Can we have a touch theme for sizes (larger buttons, etc)?
I think this could be achieved in two different ways:
A custom theme that changes the values of our size variables. It could be toggle via a data attribute.
<html data-iui-touch>...</html>
The pointer
media query could be used to target touch devices.
.iui-button {
font-size: var(--iui-font-size-1);
@media (pointer: coarse) {
font-size: var(--iui-font-size-2);
}
// ...
}
or some combination of both.
Users are beginning to use AppUi apps on tablets. Update interfaces so that touch interaction work for actions that now rely on mouse actions. Also, test in a minimum size/resolution and publish minimum supported resolution.