23.01.2018 Views

MICROSOFT_PRESS_EBOOK_PROGRAMMING_WINDOWS_8_APPS_WITH_HTML_CSS_AND_JAVASCRIPT_PDF

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

FIGURE 6-2 The same app as Figure 6-1 reimagined with one possible application of Windows app design, where<br />

most of the chrome has disappeared, leaving much more space for content. An alternate design could emphasize<br />

images much more than text.<br />

Even where typography is concerned, Windows app design encourages the use of distinct font sizes,<br />

again called the typographic ramp, to establish a sense of hierarchy. The default WinJS<br />

stylesheets—ui-light.css and ui-dark.css—provide four fixed sizes where each level is proportionally<br />

larger than the previous (42pt = 80px, 20pt = 40px, etc.), as shown in Figure 6-3. These proportions<br />

allow users to easily establish an understanding of content structure with just a glance. Again, it’s a<br />

matter of encouraging habit and muscle memory, and Microsoft’s research has shown that beyond this<br />

size granularity, users are generally unable to differentiate where a piece of content fits in a hierarchy.<br />

Figure 6-3 The typographic ramp of Windows Store app design, shown in both the ui-dark.css (left) and ui-light.css<br />

(right) stylesheets.<br />

236

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!