<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Gabriel Valdivia</title>
    <description>The latest articles on DEV Community by Gabriel Valdivia (@gabriel_s_valdivia).</description>
    <link>https://dev.to/gabriel_s_valdivia</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F705913%2Fa10cd220-3d9e-46ff-8a46-061337dcf5f8.png</url>
      <title>DEV Community: Gabriel Valdivia</title>
      <link>https://dev.to/gabriel_s_valdivia</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/gabriel_s_valdivia"/>
    <language>en</language>
    <item>
      <title>Typography in Web Design</title>
      <dc:creator>Gabriel Valdivia</dc:creator>
      <pubDate>Sat, 25 Sep 2021 22:59:56 +0000</pubDate>
      <link>https://dev.to/gabriel_s_valdivia/typography-in-web-design-24c0</link>
      <guid>https://dev.to/gabriel_s_valdivia/typography-in-web-design-24c0</guid>
      <description>&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.gabeswebcoding.com%2Fwp-content%2Fuploads%2F2021%2F09%2Fpexels-brett-jordan-5045981.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.gabeswebcoding.com%2Fwp-content%2Fuploads%2F2021%2F09%2Fpexels-brett-jordan-5045981.jpg" alt="Image of Times New Roman font"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Introduction
&lt;/h3&gt;

&lt;p&gt;Let's begin by defining what fonts are. Simply put, fonts are a grouping of typographic characters with similar characteristics. Fonts are defined by their weight or thickness, style or slope, serif edges, and variants. For example, &lt;em&gt;Times New Roman&lt;/em&gt;, pictured above, has a very distinctive style that is commonly used in newspaper articles, research papers, and academic settings. The end of each letter has a squared-off point on each end. Times New Roman can come in different variations. It can be regular, italic, or bold. Other fonts lack the serif ends, while others look much more like handwriting.&lt;/p&gt;

&lt;h3&gt;
  
  
  The Psychology of Fonts
&lt;/h3&gt;

&lt;p&gt;As a web developer or small business owner, you don't need to know the specifications or details of the font family, but you do need to understand that selecting the right fonts for your web project has a powerful psychological effect on your visitor. &lt;a href="https://pubmed.ncbi.nlm.nih.gov/18459353/" rel="noopener noreferrer"&gt;Research&lt;/a&gt; has shown that font type has implications for marketing, advertising, and persuasion. Beyond the power to convince, using the right font pairs will guide, delight, and inform your visitors. Let's dig into actionable things you can do to leverage your use of fonts.&lt;/p&gt;

&lt;p&gt;The first decision you'll want to make is how your fonts affect your visitors. You'll want to consider which font families are right for your needs. For example, Serif fonts, pictured below, tend to lend seriousness and weight, while sans-serif fonts tend to be more open and friendly. Consider the following when choosing your fonts:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.gabeswebcoding.com%2Fwp-content%2Fuploads%2F2021%2F09%2FSerif-Banner.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.gabeswebcoding.com%2Fwp-content%2Fuploads%2F2021%2F09%2FSerif-Banner.png" alt="Banner of company logos using serif fonts"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Serif Fonts:&lt;/strong&gt; Convey a sense of stability and formality. They send a message to the reader that the company is stable. They are typically used by financial institutions, law firms, insurance companies, and consultants. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.gabeswebcoding.com%2Fwp-content%2Fuploads%2F2021%2F09%2FSans-Serif-Banner.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.gabeswebcoding.com%2Fwp-content%2Fuploads%2F2021%2F09%2FSans-Serif-Banner.png" alt="Image of company logos using sans-serif fonts such as Spotify, Target, Netflix, Facebook, and Google"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Sans-Serif Fonts:&lt;/strong&gt; Are a cleaner more modern typographic font family. They lack the serif ends characteristic of serif fonts. Sans-serif fonts are known for their openness and inclusive nature. When paired with serif headlines they tend to lend websites with a balance of authority and openness.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.gabeswebcoding.com%2Fwp-content%2Fuploads%2F2021%2F09%2FSript-Fonts.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.gabeswebcoding.com%2Fwp-content%2Fuploads%2F2021%2F09%2FSript-Fonts.png" alt="Image of company logos using script fonts such as Chupa Chups, Carl's Jr, Kellog's, Ford, and Instagram"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Script Fonts:&lt;/strong&gt; Can range from fun &amp;amp; amusing to formal &amp;amp; creative and in some cases script fonts when limited to a logo or signature denote credibility.&lt;/p&gt;

&lt;h3&gt;
  
  
  Fonts Readability &amp;amp; Contrast
&lt;/h3&gt;

&lt;p&gt;Fonts should be easy to read. Making fonts easy to read means considering some factors. Keep in mind that your selected font family will look differently at similar font sizes. For example, 38 pixels on the Open Sans font family will look smaller than on another thicker font families. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.gabeswebcoding.com%2Fwp-content%2Fuploads%2F2021%2F09%2FFont-Compare.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.gabeswebcoding.com%2Fwp-content%2Fuploads%2F2021%2F09%2FFont-Compare.png" alt="Comparison of Open Sans &amp;amp; Barlow fonts at 38, 28, and 16 pixels in size"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  Size
&lt;/h4&gt;

&lt;p&gt;&lt;strong&gt;Paragraph font Size:&lt;/strong&gt; The first consideration might be &lt;a href="https://developer.mozilla.org/en-US/docs/Web/CSS/font-size" rel="noopener noreferrer"&gt;font size&lt;/a&gt;, how big will your font be? On the web, we are limited by screen sizes and the various settings your site visitors will have on their monitors or other device screens. The most common font size for paragraphs might be 16 - 18 pixels. However, on small phone screens, that font size might cause the font to look unnaturally large and cause your sentences to break into new lines in a place where you might not expect. For smaller screens, developers often reduce the font size by a couple of pixels. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Heading font sizes:&lt;/strong&gt; Headings almost always need to be adjusted several pixels in size across tablets and mobile sizes. For example, a heading with a font size of 38 pixels on desktop monitors will almost certainly be too large for an iPhone or Android screen. The font size would need to be reduced by several pixels on tablet size and several more on mobile devices.  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Consistency in font sizes:&lt;/strong&gt; It's important to stick to set font sizes in headings and paragraphs. For headings, you might determine a logical font and size. Make sure all the headings across your site are consistent in terms of font-family and size. The same goes for paragraphs, subheadings.&lt;/p&gt;

&lt;h4&gt;
  
  
  Contrast
&lt;/h4&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.gabeswebcoding.com%2Fwp-content%2Fuploads%2F2021%2F09%2FFont-Contrast-2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.gabeswebcoding.com%2Fwp-content%2Fuploads%2F2021%2F09%2FFont-Contrast-2.png" alt="Image showing color swatches with letters on them. The colors a blend of letter color parings that hurt the eyes and others that don't"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You'll want to be kind to your readers' eyes. Make sure that you are either sticking to a font color that is dark on a light background or light on a dark background. Avoid colors that tend to hurt the eyes, such as text on a red background. Don't forsake those visitors with "&lt;a href="http://web-accessibility.carnegiemuseums.org/design/color/" rel="noopener noreferrer"&gt;low vision or color deficiencies&lt;/a&gt;." &lt;/p&gt;

&lt;p&gt;Use an &lt;a href="https://contrastchecker.com/" rel="noopener noreferrer"&gt;online tool&lt;/a&gt; to check for color contrast. Not only will your site be inclusive of everyone, but you'll also end up avoiding poor aesthetic choices in the process.&lt;/p&gt;

&lt;h3&gt;
  
  
  Font Family Pairings
&lt;/h3&gt;

&lt;h3&gt;
  
  
  &lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.gabeswebcoding.com%2Fwp-content%2Fuploads%2F2021%2F09%2FFont-Parings.png" alt="Examples of font pairings that look great together"&gt;
&lt;/h3&gt;

&lt;p&gt;Choosing the right font pairing brings together everything we've discussed, and it can have a powerful psychological effect, too. More importantly, pairing fonts is an important element of design on any website. You don't have to be a design guru to pair great fonts. Consider your website's industry or purpose, don't lose sight of readability, font size, and contrast. With that small amount of knowledge, navigate to one of the many websites that have done the hard work for you. Pick a font &lt;a href="https://www.fontpair.co/all" rel="noopener noreferrer"&gt;pairing website&lt;/a&gt;, visit &lt;a href="https://fonts.google.com/" rel="noopener noreferrer"&gt;Google Fonts&lt;/a&gt; choose a font pair combination that suits your needs.&lt;/p&gt;

&lt;h3&gt;
  
  
  Conclusion
&lt;/h3&gt;

&lt;p&gt;My goal was to help guide developers and small business owners by providing the most relevant font considerations. In short, consider the psychological effect your font will have on its intended audience. Make your site readable by considering how font size and contrast affect the reader. Spruce up the design by pairing your fonts effectively. And keep your font sizes, colors, and pairings consistent.  &lt;/p&gt;

&lt;p&gt;Citations:&lt;/p&gt;

&lt;p&gt;[2]: &lt;strong&gt;Emotional and persuasive perception of fonts&lt;/strong&gt;  Juni S, Gross JS. Emotional and persuasive  perception of fonts. Percept Mot Skills. 2008 Feb;106(1):35-42. doi:  10.2466/pms.106.1.35-42. PMID: 18459353.&lt;/p&gt;

&lt;p&gt;[3]: *&lt;em&gt;The picture superiority effect: support for the distinctiveness model  *&lt;/em&gt;   Mintzer MZ, Snodgrass JG. The picture  superiority effect: support for the distinctiveness model. Am J Psychol. 1999 Spring;112(1):113-46. PMID: 10696280.&lt;/p&gt;

&lt;p&gt;[4]: Illustrations used throughout this post by &lt;strong&gt;Pablo Stanley&lt;/strong&gt; via Figma&lt;/p&gt;

</description>
      <category>design</category>
      <category>fonts</category>
      <category>typography</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Color schemes in web design</title>
      <dc:creator>Gabriel Valdivia</dc:creator>
      <pubDate>Tue, 14 Sep 2021 14:01:30 +0000</pubDate>
      <link>https://dev.to/gabriel_s_valdivia/color-schemes-in-web-design-4dmi</link>
      <guid>https://dev.to/gabriel_s_valdivia/color-schemes-in-web-design-4dmi</guid>
      <description>&lt;p&gt;&lt;strong&gt;What is a color scheme?&lt;/strong&gt; A color scheme is simply a pairing of colors composed of primary colors, secondary colors, and accent colors. Usually, just 3 colors that when paired together work well. Let's discuss each of those in more detail.&lt;/p&gt;

&lt;p&gt;The &lt;em&gt;primary color&lt;/em&gt; is your main color, and it is used for large sections of continuous color. &lt;em&gt;Secondary colors&lt;/em&gt; are used less frequently, and your &lt;em&gt;accent color&lt;/em&gt; is used even less frequently. Think of the &lt;a href="https://uxdesign.cc/how-the-60-30-10-rule-saved-the-day-934e1ee3fdd8"&gt;60/30/10&lt;/a&gt; rule. Your primary color is used 60% of the time, your secondary 30% of the time, and your accent color 10%. Think frequently, less frequently, and rarely.&lt;/p&gt;

&lt;p&gt;Colors have meaning and are related to&lt;a href="https://www.color-meanings.com/color-meanings-in-business/"&gt; different industries&lt;/a&gt;. For example, blue is used in education and health care industries, while red is used in restaurants. Lastly, research indicates that color has an effect on our&lt;a href="https://www.psychologytoday.com/us/blog/habits-not-hacks/201408/color-psychology-how-colors-influence-the-mind"&gt; psychology&lt;/a&gt;. Make sure your website colors are relevant and have the right effect on visitors.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How color is misused&lt;/strong&gt;? Common mistakes that most people make when choosing colors for your site are:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Using colors that don't pair well&lt;/li&gt;
&lt;li&gt;Poor contrast&lt;/li&gt;
&lt;li&gt;Glaring to look at&lt;/li&gt;
&lt;li&gt;Colors clash with your logo's colors&lt;/li&gt;
&lt;li&gt;Not having a consistent color scheme&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Here's how you can improve&lt;/strong&gt;. Pick colors that go well with your chosen field or industry. Make sure your colors match. Limit yourself to a primary color, a secondary color, and an accent color. You can of course use different hues when needed, but be consistent in your application of these colors. You can use an&lt;a href="https://mycolor.space/"&gt; online service&lt;/a&gt; to select color pairings that go well together. Ensure the colors have sufficient contrast between your text, headings, links, and the background colors. Make sure your paragraph color matches your color scheme. I'm not saying use red or purple for your paragraph, but avoid plain black as your body font color - it's boring.&lt;/p&gt;

&lt;p&gt;This short take on colors in web design is part of a series covering color, typography, visual hierarchy, use of white space, layout choices, and images in web design.&lt;/p&gt;

&lt;p&gt;Cover Illustration: &lt;a href="https://downloadillustrations.com/"&gt;Doodles by Pablo Stanley&lt;/a&gt;&lt;/p&gt;

</description>
      <category>design</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
