XCLUB-COOL STUFF AROUND YOU

 找回密码
 Register
查看: 86|回复: 2
打印 上一主题 下一主题

[ TECH ] Google's Dark Theme Guidance for Material Design

[复制链接]

3469

主题

5万

帖子

5万

积分

Sapphire Diamond LV41

Daily Check-in2019sign star1sign star2sign star3sign star4post star1post star2post star3post star4post star5X'Club badge exclusive for IndiaXclub Kol

跳转到指定楼层
#1
发表于 2019-05-09 20:09:05 来自手机 | 只看该作者 |只看大图 回帖奖励 |倒序浏览 |阅读模式
[div align="center"][a href="https://c.mi.com/forum.php?mod=viewthread&tid=2143219&aid=4203956&from=album&page=1"][img id="aimg_4203956" width="776" height="387" src="https://u01.appmifile.com/images/2019/05/08/3879d5ec-f014-462c-b877-a052282f3a54.jpeg" alt="images.jpeg" title="images.jpeg"][/a][/div][div align="left"][div align="left"][br][/div][div align="left"]During the I/O keynote, Google has finally made Dark Theme for Android 10 Q official. We've seen that change coming, but thus far, we didn't receive a word on the best practices for implementing dark themes in apps. This has changed now, as Google updated the Material Design guidelines with information on this.[br][/div][div align="center"][br][/div][div align="left"]Let's start with what interests many of you the most: No, Google doesn't encourage the usage of pure black but instead recommends using gray – different shades of gray for varying levels of elevation within views that is.[/div][div align="left"]The company justifies this with readability and accessibility reasons and writes: "Dark gray surfaces can express a wider range of color, elevation, and depth, because it’s easier to see shadows on gray (instead of black).[/div][br][div align="left"]Dark gray surfaces also reduce eye strain, as light text on a dark gray surface has less contrast than light text on a black surface." This is in line with previous research and known design paradigms, and the fact that you shouldn't use slightly transparent typography over 100 percent white helps with eye strain as well.[br][br][/div][div align="center"][a href="https://c.mi.com/forum.php?mod=viewthread&tid=2143219&aid=4203977&from=album&page=1"][img id="aimg_4203977" width="768" height="768" src="https://u01.appmifile.com/images/2019/05/08/b42ce069-b84f-4563-bf57-157f025d67a7.png" alt="mio-design_assets_1d89p5411vfAZDCJvhf5WlgVE1TVgkTQY_darktheme-adjustedcolor-seco.png" title="mio-design_assets_1d89p5411vfAZDCJvhf5WlgVE1TVgkTQY_darktheme-adjustedcolor-seco.png"][/a][/div][div align="center"][div align="left"][div align="center"]An example on how to find the perfect colors in an app and how they should be used in views[/div][/div][/div][br][div align="left"]Naturally, colors should be used sparingly in dark mode as not to make it obsolete. Thus, primary and secondary colors should be pastels and not saturated, since that wouldn't play nice with readability on dark backgrounds. Brand colors are excepted from this rule, although logos and such should be used sparingly in the first place. Only small interface elements should be colored in the first place, and developers should be careful about painting huge areas as not to emit too much brightness.[br][br][/div][div align="left"]While you can technically set your device to dark theme the moment you take it out of the box or update to Android Q and never look back, Google says that the White Theme remains the default that should be supported by all apps. Of course, per guidelines, you should always be able to opt specific apps out of or into dark mode through a switch within apps' settings.[/div][br][div align="center"][a href="https://c.mi.com/forum.php?mod=viewthread&tid=2143219&aid=4203978&from=album&page=1"][img id="aimg_4203978" width="774" height="480" src="https://u01.appmifile.com/images/2019/05/08/482bf780-92fa-4f2b-8ac7-52e9ebfce462.png" alt="Screenshot-2019-05-08-at-11.26.24.png" title="Screenshot-2019-05-08-at-11.26.24.png"][/a][/div][br][div align="left"]For the most part, the recently updated Google apps follow these guidelines. There are some older parts of Google News that are completely black, but these seem to stem from the days when the app still was Play News Stand. Backgrounds in Google Photo's picture viewer are completely black, too, but that has always been the case.[br][br][br][a href="https://www.androidpolice.com/2019/05/08/google-shares-dark-theme-guidance-for-material-design/" target="_blank"]Source[/a][/div][/div]
回复

使用道具 举报

5051

主题

3万

帖子

3万

积分

Jade Diamond LV37

Tech Fans2020Happy children's dayEid PartyACTIVE STARXClub Best Look20MPrimary beta testerXCLUB TOP FAN 2019post star1post star2post star3post star4post star5sign star1sign star2sign star3sign star4X'Club badge exclusive for Indiasign star5

#2
发表于 2019-05-09 20:20:54 来自手机 | 只看该作者
Good share bro but same post
回复

使用道具 举报

3469

主题

5万

帖子

5万

积分

Sapphire Diamond LV41

Daily Check-in2019sign star1sign star2sign star3sign star4post star1post star2post star3post star4post star5X'Club badge exclusive for IndiaXclub Kol

#3
 楼主| 发表于 2019-05-09 20:21:17 来自手机 | 只看该作者
Which bro?
回复

使用道具 举报

高级模式
B Color Link Quote Code Smilies |上传

本版积分规则

Infinix Official Website|Infinix official mall|infinix Note 4|XCLUB-COOL STUFF AROUND YOU

GMT+8, 2025-06-26 11:47 , Processed in 0.038111 second(s), 20 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表