Giter Site home page Giter Site logo

web-design-ux-ui-cheatsheet's Introduction

WEB DESIGN UX/UI CHEATSHEET

Based on Refactoring UI

Design personality:

  • Font
  • Color
  • Button border radius
  • Language (formal, informal)

Define beforehand, pick from while building:

  • Color palette
  • Font sizes: Stick to px or rem
  • White space (margin / padding): Use a relative (non linear) scale
  • Shadow scale (function of z factor --height with respect to the viewer)

Font

Text

  • Paragraph width around 20-35em (avoi too long lines)
  • Line height depends on font size and paragraph width. Finding the next line when reading is easy
  • Links: no need to make them all blue, bold them or underline on hover if not part of main user flow
  • When to tinker with letter-spacing?
    • Narrower headlines
    • Improve all caps legibility

Color

  • Use HSL color scale
  • Increase saturation for lighter and darker colors
  • From dark to light, change the hue, not just the brightness and saturation
  • Don't use pure grey, use a very desaturated color
  • Design should work in grayscale

3D:

  • Shadows: for modals, inset / outset shapes
  • Leverage overlapping elements
  • Avoid image clashing with overlaying text:
    • Add dark overlay
    • Lower image contrast
    • Colorize image
    • Add text shadow and lower a bit image contrast

Icons:

  • Do not use same versions for different scales: redraw

Aesthetics:

  • Custom elements: checkboxes, radio buttons, links, quotes, icon bullet lists...
  • Colorful borders in one side
  • Fewer borders: separating elements is better accomplished with shadows, bg colors and spacing
  • Dropdowns, tables, selection by radio buttons... shouldn't look boring. They can be beautiful
  • Colored backgrounds, patterns, textures

Responsive

  • Design mobile first
  • Large elements shrink more than small elements

Visual hierarchy:

  • Hierarchy factors:
    • Position
    • Size
    • Weight
    • Contrast
    • Color
    • Shape
  • To emphasize something, you can also de-emphasize other elements
  • Balance weight of icons VS text with contrast

web-design-ux-ui-cheatsheet's People

Contributors

luismartinezs avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.