7 practical tips to improve your design

Improve your design with tactics, not talent.

Every web developer, whether he wants it or not, comes a time when he has to do visual design.

Perhaps your company does not have a full-time designer and you need to create a new user interface yourself. Or maybe you are using a side project and want it to look better than another site with Bootstrap

The easiest way is to raise your hands up and say: “I can never make him beautiful – I’m not an artist!” But in fact, there are tons of tricks that don’t require professional knowledge of graphic design.

Here are seven simple ideas you can use to improve your design.

1. Use font color and weight instead of size to make text stand out

A common mistake when styling UI text is overusing font sizes to highlight text.

“Is this text important? I will make the font larger. “

“Is this text secondary? I will make the font smaller. “

Instead of directing all the heavy operations to one font alone, try using color or weight for the same task

“Is this text important? Make the font weight bigger“.

“Is this text secondary? Make the font weight smaller“.

Try to stick to two or three colors:

  • Dark (but not black) color for body text (e.g. article title)
  • Gray for secondary content (e.g. the date the article was published)
  • A lighter gray for extra content (e.g. specifying copyright in the footer).

wh3mzisuuxowgaqcwlmm

Similarly, two font weights are usually sufficient for the user interface to work:

  • Normal font weight (400 or 500 depending on the font) for most of the text
  • Heavier font (600 or 700) for the text you want to highlight

jmznhcgx6ntn4hdvcpyy

Never use font weight less than 400 for user interface… It may be fine for large titles, but it is very difficult to read at smaller sizes. If you want to use lighter weight for less important text, use a lighter color or smaller font size instead.

2. Don’t use gray text on colored backgrounds

ebmdtaxogmfnae9vf361

Making less important text a light gray is a great way for white backgrounds, but it doesn’t look very good on colored ones.

The point is that when we see gray on white, we actually see reduced contrast.

Bring text color closer to background colorrather than using light gray – this is what actually helps to separate text by importance

i685rcvzpxh3fuaeqb1t

There are two ways to reduce contrast when working with colored backgrounds:

Decrease the opacity of white text

Use white text and lower the opacity. This allows the background color to bleed through the text a little, thus de-emphasizing it, but without disturbing the background.

kyj8wiadh6brk5mzrbxu

Manually pick a color based on the background color

This method works better than lowering the opacity level when the background is an image or drawing, or lowering the opacity makes the text too dull or blurry.

1_d5Ft9yND08hTdmXgFTLQJw

Choose a color that is similar to the hue of the background, and adjust the saturation and brightness as needed.

3. Move shadows

rvuhmnqvydndcqojlksc

Instead of using large values ​​for the blur and stretch radius, add a vertical offset to make the element’s shadows more visible.

It looks more natural because it simulates a light source located on top, as we are used to seeing in the real world.

This also applies to inner shadows, which you can use in modals or data entry windows:

iviojxtijflla9vy0qna

4. Use fewer borders

When you need to create a separation between two elements, try not to access the border property right away.

While borders are a great way to separate two elements from each other, they are not only way. Moreover, if you use too many of them, you can overload the design with elements.

The next time you’re dealing with boundaries, try one of the following:

Use a block shadow

Box shadows are great at making an element stand out like a border, but can be more subtle and perform the same task without distracting attention.

n4k60gqn1q5kmnhlwgb5

Use two different background colors

Applying slightly different background colors to adjacent elements is usually enough to separate them. If you are already using different background colors in addition to the border, try removing it. You may not need it.

1_9j89WYXMqsnb_A1v8heXaw

Add more space

What’s the best way to create separation between elements? Just increase the distance! Placing elements farther apart is a great way to differentiate between groups of elements without introducing a new interface.

fbuxqzzyvoj8mn4wwqlb

5. Do not enlarge the icons, which should be small

kv06xu52aihmfy1wl7re

If you are developing something that can use multiple large icons (for example, the “Features” section on the landing page), you can out of habit take a free icon set, for example, Font Awesome or Zondicons, and increase their size until they meet your needs.

After all, these are vector images, so the quality will not deteriorate with increasing size, right?

Indeed, vector images do not lose quality as the size increases. Nonetheless, icons created at 16-24 pixels will never look professional if you enlarge them 3-4 times their intended size… They lack detail and always seem disproportionately “bulky”.

bnvh687og56xuwd0utfa

If you only have small icons, try placing them in another shape and adding a background color:

mksqn85wocagqwpogamc

This allows you to keep the icon at its intended size while taking up more space.

If your budget allows you, you can also use a premium icon set designed for use at larger sizes, such as Heroicons or Iconic

6. Use accent borders to add variety to your design

c0gagcb8bkziodrb4iiy

If you’re not a graphic designer, how can you make an interface visually appealing without using pretty photos and colorful illustrations?

One simple trick that makes a big difference is to add colored accent borders to parts of your interface that would otherwise look dull.

For example, on the side of the warning message:

kbcwrs0vkqzveperzebu

… or to highlight active navigation elements:

g6apwtwhwnfrmvrodk4m

… or even at the top of the whole layout:

1_YMrMBgjpbuTs_WqdbhymNg

You don’t need to have a graphic design talent to add a colored rectangle to your user interface, but it will help make your site look more “designer”.

Difficulty choosing colors? Try to choose from a limited palette such as Dribbble’s color searchso you don’t get lost in the endless variations of the traditional color picker.

7. Not every button needs a background color

dckb4acepinkpg3trkgp

When a user can take multiple actions on a page, it’s easy to fall into the trap of styling those actions based solely on semantics.

CSS frameworks like Bootstrap encourage this by offering you a semantic menu when you add a new button:

hwyrp6lko3uz30s8vqba

“Is this a positive action? Make the button green“.

“Does this delete data? Make the button red. “

Semantics is an important part of button design, but there is a more important aspect that is usually overlooked – hierarchy

Each action on the page takes a specific place in the pyramid of importance. Most pages have only one really important action, a couple of minor actions, and a few infrequently used least important actions.

When designing these actions it is important to communicate their place in the hierarchy

  • Key actions must be visible… Solid, high-contrast background colors do a great job here.
  • Secondary actions should be clear, but not very noticeable… Styling the outer border of an element or a lower contrast background color are great options.
  • The least important actions should be visible but subtle. Styling these actions like links is usually the best option.

bp9j6u0m4goef1dak6ko

What about deleting actions: shouldn’t they always be red?

Not necessary! If the delete action is not the primary action on the page, it may be better to assign it a secondary or least important button.

kuzboegjbjnb9shwkfuy

Leave large, red, and bold styling for cases where this negative action is actually the main action in the interface, such as in the confirmation dialog:

drqpumz10tpgmgrp6k2o

Source: DailyCODING

Leave a Reply

Your email address will not be published. Required fields are marked *