10

Cool Tips for Better Dark Mode Design

 3 years ago
source link: https://uxplanet.org/dark-mode-masterclass-d746227bac8f
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Cool Tips for Better Dark Mode Design

Dark mode masterclass

1*49xdSJsrzLRs_rc2j3pWag.png?q=20
dark-mode-masterclass-d746227bac8f
Image by author

We interact with apps and read websites all day and night. In some cases, white screens of the digital solutions may be inconvenient for our eyes. That’s why more and more designers pay attention to make their creations in two themes — light and dark.

Dark mode has got specific rules that we should follow to make it natural for the users. This story contains all of them, so you can create a theme that brings positive experience.

Pros of Dark mode :

  • It reduces eye strain.
  • Dark mode saves energy on high energy-consuming screens like — OLED, AMOLED, etc.
  • Battery efficient.
  • Enhance accessibility for users.
  • Create an impression of luxury.
  • It looks stunning

Cons of Dark mode :

  • In bright light conditions, it sucks, causes more eye strain.
1*RHCJB0-JNDVzTdsz7QzcPw.png?q=20
dark-mode-masterclass-d746227bac8f
Needs Improvement (Image by author)

This is a bad example of dark UI screen. We are going to follow some cool tips to improve and make better dark UI screen.

1. Avoid 100% Black Background (Up to you)

This is the common mistake we all made. We should use a very dark tone to the background. I prefer to use dark grey — rather than black.

But sometimes black is fine.

I personally use for dark mode these colors — #0e0a1b & #04020f.

1*IGoaEGe22RvK00eJGgexQw.png?q=20
dark-mode-masterclass-d746227bac8f
Not too much dark

2. Avoid 100% white as well

Avoid using #FFFFFF in your dark mode UIs. It causes really large contrast with the background, so its better to use light versions for example #F6F6F6 or #FAFAFA etc. Its better for the eyes.

1*-4V89TPTUwDO5oLydEnb7w.png?q=20
dark-mode-masterclass-d746227bac8f
Hard to notice but better practice

3. Contrast & Accessibility

There are specific guidelines for dark themes to be applied if you would like to make the solution more accessible. The most important one is the following: the contrast level between body text and the background should be at least 15.8:1.

Its easier to forget about contrast when working on both light and dark themes. Always double check contrast ratio to make sure UIs are accessible.

1*Pi0UMn3bVqpH5xDmj5bZWw.png?q=20
dark-mode-masterclass-d746227bac8f
Contrast is key

4. Avoid shadows

Avoid using white shadows to elevate stuff, it looks bad. Instead create elevation system based on different opacities of white or other colors.

In light User Interfaces, we tend to use subtle shadows to communicate depth. However shadows are not so visible on the majority of dark mode elements. This is why they should be used less frequently. There is another way to communicate hierarchy.

1*8pnZsgkTraJB6CtiMeHzRA.png?q=20
dark-mode-masterclass-d746227bac8f
Avoid using white shadows

5. Desaturate colors

Dark modes should avoid using saturated colors. The first reason for this is accessibility — saturated colors do not pass WCAG’s standard of at least 4.5:1 for body text against the dark background.

Saturated colors may also cause eye strain, causing optical vibrations against the background.

1*Xo9ieijJNZp1Bgeh8USxDQ.png?q=20
dark-mode-masterclass-d746227bac8f
Better to eyes

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK