Guest User

Untitled

a guest
May 20th, 2018
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.86 KB | None | 0 0
  1. # Design notes
  2.  
  3. Principals:
  4.  
  5. 1. Content
  6. 2. Size & Spacing
  7. 3. Colour
  8. 4. Type
  9. 5. Motion
  10.  
  11. > Paragraphs in quotes are implementation notes, specific to web.
  12.  
  13. ## Content
  14.  
  15. Content dictates all other design considerations.
  16.  
  17. Using semantic markup will allow you to create content first and allow that
  18. to influence subsequent guidelines.
  19.  
  20. When authoring content it is recommended to break up large sections of text with images.
  21. Even if not directly relevant to the context,
  22. images and illustrations can act as visual guidance to a user who is quickly scrolling through the content.
  23.  
  24. ## Spacing
  25.  
  26. The use of grids and columns provides uniformity. Invisibile grid lines can help frame and group similar content
  27. without appearing imposing or constrictive (just look at the gist editor - all the elements line up against
  28. an invisible line each side of the screen).
  29.  
  30. > In Component-based design, 'grid margins' can be specified as padding on the parent element,
  31. > allowing child components to be re-usable.
  32.  
  33. A basic grid system uses columns & rows, gutters and margins:
  34.  
  35. - Margins are the spacing to the left and right, top and bottom of a container (e.g. padding)
  36. - Rows and columns contain the actual content. Such content can span many or all of the columns or rows.
  37. - Gutters are the uniform gaps between rows and columns. Gutters provide the spacing between content within a grid.
  38.  
  39. The size of margins and gutters is dictated by the type of content; similar content can use small gutters
  40. (e.g. a photo gallery), whilst dissimilar content should use larger gutters (e.g. two distinct calls to action).
  41.  
  42. > `rem` is the font size of the Root Element - typically 16px by default for most browsers.
  43. > Stick to multiples of REM for web content, e.g. `0.5rem`, `1rem`, `2rem`, `4rem`.
  44. > Setting base font size to 62.5% forces `1rem` to equal `16px` on most browsers, whilst retaining accessible scaling.
  45. > Assume that all child elements by default have no margin or padding of their own.
  46.  
  47. Spacing should compliment the content, not restrict it.
  48.  
  49. Size should be dictated by the relative importance of the content, but spacing should always be consistent for any logical section.
  50.  
  51. ## Colour
  52.  
  53. Colour is a language and comes steeped with meaning in various cultures. Less is more; one or two colours makes for a clean design.
  54. Conversely, a "busy" palette can detract from content.
  55.  
  56. Colours should be available in a variety of hues (variations) to ensure it doesn't over-power the content in any given scenario.
  57. Variations can be employed to delimit sections.
  58.  
  59. Avoid cutting between themed colours to high-contrast elements if you can avoid it.
  60. For example, on a dark coloured screen, a text input can be seethrough with white text and
  61. a white border instead of the default white background, black text.
  62. This is a good approach for fading less-important features such as a search bar.
  63.  
  64. ## Type
  65.  
  66. Type should be weighted with concern to both importance and interaction.
  67. Any spacing around text, regardless of size, should conform to the rest of the spacing strategy.
  68.  
  69. Consider small-caps for buttons and interaction, strong text for key or mutable data, italic for asides and captions.
  70.  
  71. ## Motion
  72.  
  73. Whilst not mandatory for UX, motion can complement a good design by making it more appealing and hilighting key aspects of a UI.
  74.  
  75. Motion should be employed if there are events in the UI that would otherwise cause a "snap" or "pop".
  76. For example when a page's content is dynamically rendered a few seconds after the chrome renders, it is
  77. a more pleasing behavior to have it fade in (or slide in) gently instead of exploding instantly onto the screen.
  78.  
  79. Motion should restrict it's self to only one dimension and be consistent amongst all related elements.
  80.  
  81. _Motion feels most natural when `ease-in` or `ease-in-out` transition timings_
  82.  
  83. Hover animations are redundant on touch-screen devices, but can be useful in limited circumstances to attract the attention of a call-to-action.
Add Comment
Please, Sign In to add comment