如何在UI设计中制作完美阴影
重點(diǎn) (Top highlight)
Shadows are everywhere in modern UI Designs. They are one of the most essential part of the UI elements right behind the fill, stroke, and cornder radius. 😉
現(xiàn)代UI設(shè)計(jì)中到處都有陰影。 它們是UI元素中最重要的部分之一,緊隨填充,筆觸和Cornder半徑之后。 😉
Completely flat design is no longer a significant trend. With this short tutorial, you will learn how to create stunning shadows for your cards, buttons, or whatever UI control you want.
完全扁平化的設(shè)計(jì)已不再是一個(gè)重要趨勢(shì)。 通過這個(gè)簡(jiǎn)短的教程, 您將學(xué)習(xí)如何為卡片,按鈕或所需的任何UI控件創(chuàng)建驚人的陰影 。
So, grab the mug of your favorite coffee, and let me show you 6 easy steps for impressive shadows!
因此,拿起您最喜歡的咖啡的杯子,讓我向您展示6個(gè)簡(jiǎn)單的步驟即可獲得令人印象深刻的陰影!
1.不要使用陰影默認(rèn)值 (1. Do not use shadow defaults)
It does not matter if you use Sketch, Figma, or Adobe XD. All default shadow presents from design tools are awful. Do not use them! If you want to make them look clean and modern, you always have to modify their appearance.
使用Sketch,Figma或Adobe XD都沒有關(guān)系。 設(shè)計(jì)工具提供的所有默認(rèn)陰影效果都很糟糕。 不要使用它們! 如果要使它們看起來干凈現(xiàn)代,則必須始終修改其外觀。
Defaults, bleh…默認(rèn)值,令人沮喪…2.使陰影看起來柔和 (2. Make Shadows Look Soft)
Most of the nice shadows are the soft ones. To enhance their look — lower opacity (10–30%) and set the higher level of blur (16px-40px). Now look at your shadow — this setup instantly improved its appearance.
大多數(shù)漂亮的陰影是柔和的陰影。 要增強(qiáng)外觀-降低不透明度(10–30%),并設(shè)置更高的模糊度(16px-40px)。 現(xiàn)在查看您的陰影-此設(shè)置可立即改善其外觀。
This is nicer…更好…3.考慮將陰影創(chuàng)建為帶有模糊的圖層 (3. Consider Creating Shadows As a Layer with Blur)
Standard shadow style is easier to implement, but if you would like to stand out, try to make a separate layer with a blur as a shadow. Thanks to this technique, you will gain more control over the shadow position and its size.
標(biāo)準(zhǔn)陰影樣式更易于實(shí)現(xiàn),但是如果您想脫穎而出,請(qǐng)嘗試使用模糊作為陰影來制作單獨(dú)的圖層。 借助此技術(shù),您將可以更好地控制陰影位置及其大小。
I know… developers may hate this technique, but you may help them with this site! 😎
我知道……開發(fā)人員可能討厭這種技術(shù),但是您可以在此站點(diǎn)上為他們提供幫助 ! 😎
Did you know that trick?你知道那個(gè)把戲嗎?4.使陰影顏色更自然 (4. Make shadow color more natural)
100% pure grey never looks good (except pure black-white theme). Look, the real-world shadows always got a subtle color. Add the tone of your UIs neutral color to the shadow, and it will look much better.
100%純灰色永遠(yuǎn)看起來都不錯(cuò)(純黑白主題除外)。 看,真實(shí)世界的陰影總是帶有微妙的顏色。 將您的UI中性色調(diào)添加到陰影中,它將看起來更好。
And just a little dose of color…還有一點(diǎn)點(diǎn)顏色……5.使材料顏色為陰影 (5. Make Material Colors As Shadow)
Look at some materials from the real-world, especially semi-transparent ones. Their shadows inherit the color of the object. You may use these tones to create the illustration of that type of material. It will look fresh!
看一下真實(shí)世界中的一些材料,尤其是半透明的材料。 它們的陰影繼承了對(duì)象的顏色。 您可以使用這些色調(diào)創(chuàng)建該類型材料的圖示。 看起來很新鮮!
6.從現(xiàn)實(shí)世界中激發(fā)自己 (6. Inspire yourself from the real world)
The example from the above is just a beginning. Observehow other objects and materials interact with the lighting. See how they cast shadows — colors, blurs, angle. Remarkable results start with a spark of inspiration.
以上示例只是一個(gè)開始。 觀察其他物體和材料如何與照明交互。 了解他們?nèi)绾瓮渡潢幱?顏色,模糊,角度。 出色的結(jié)果始于靈感的火花。
總結(jié)一下。 (To conclude.)
This 6 easy to apply steps will move your shadows to the next level. When you apply the simple tricks, repeat, and adjust them to your projects, you will notice how the quality of your work enhances.
這6個(gè)易于應(yīng)用的步驟將使您的陰影更上一層樓。 當(dāng)您應(yīng)用簡(jiǎn)單的技巧 ,重復(fù)這些技巧并將其調(diào)整到您的項(xiàng)目中時(shí),您會(huì)注意到工作質(zhì)量如何提高。
If you found the tutorial useful, share it to let your friends know how to make their UI better!
如果您覺得本教程有用,請(qǐng)與他人分享,以使您的朋友知道如何改善他們的UI!
This article is an extension of my blog post ??, which has its origin in the Instagram tutorial 📷.
本文是我的博客文章 ??的擴(kuò)展,其起源于Instagram教程 📷。
Thanks for reading!
謝謝閱讀!
翻譯自: https://blog.prototypr.io/how-to-make-perfect-shadows-in-ui-design-2773e32074da
總結(jié)
以上是生活随笔為你收集整理的如何在UI设计中制作完美阴影的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: mybatis学习(41):使用逆向工程
- 下一篇: mongodb 群集图_群集和重叠条形图