<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Blog on Miloš Jeremić</title>
    <link>https://milosjeremic.com/blog/</link>
    <description>Recent content in Blog on Miloš Jeremić</description>
    
    <language>en-us</language>
    <lastBuildDate>Thu, 15 May 2025 10:30:00 +0200</lastBuildDate><atom:link href="https://milosjeremic.com/blog/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Enhancing The UI</title>
      <link>https://milosjeremic.com/blog/ui-start/</link>
      <pubDate>Thu, 15 May 2025 10:30:00 +0200</pubDate>
      
      <guid>https://milosjeremic.com/blog/ui-start/</guid>
      <description>&lt;p&gt;Time to spice up the plain text a bit. With typography, spacing, and color now in place, it’s time to introduce a few essential UI elements. The main theme throughout this is probably &lt;em&gt;roundness&lt;/em&gt;, since all of the components got rounded corners.&lt;/p&gt;
&lt;h2 id=&#34;images&#34;&gt;Images&lt;/h2&gt;
&lt;p&gt;In the previous posts, most images had white backgrounds. As such, they don&amp;rsquo;t really look aesthetically pleasing on the new, black background. To better the visual experience, I&amp;rsquo;ve added a border and a background.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;example-img.webp&#34; alt=&#34;Image Example&#34;&gt;&lt;/p&gt;
&lt;h2 id=&#34;icons&#34;&gt;Icons&lt;/h2&gt;
&lt;p&gt;After looking at a few popular icon sets, I decided to go with &lt;a href=&#34;https://ionic.io/ionicons&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;ionicons&lt;/a&gt;, filled variant. Their smooth curves and filled shapes fit well with the rounded aesthetic and complement both the typeface and overall tone of the site.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;example-icn.webp&#34; alt=&#34;Icons Example&#34;&gt;&lt;/p&gt;
&lt;h2 id=&#34;buttons&#34;&gt;Buttons&lt;/h2&gt;
&lt;p&gt;I had some fun with this one! I started with a simple, flat button, but ended up layering a gradient with six shadows. The result feels tactile — almost like pressing a real button.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;example-btn.webp&#34; alt=&#34;Button Example&#34;&gt;&lt;/p&gt;
&lt;h2 id=&#34;archive&#34;&gt;Archive&lt;/h2&gt;
&lt;p&gt;A simple ordered list has served me well so far, but as the list grows, a clearer layout helps readers scan and find specific posts more easily. I also added publish dates for context.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;example-archive.webp&#34; alt=&#34;Archive Example&#34;&gt;&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;A full style guide with all of the design tokens and components is in the works. I’ll update this post once it’s live. Stay tuned.&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>Color: Back in Black</title>
      <link>https://milosjeremic.com/blog/back-in-black/</link>
      <pubDate>Tue, 13 May 2025 12:00:00 +0200</pubDate>
      
      <guid>https://milosjeremic.com/blog/back-in-black/</guid>
      <description>&lt;p&gt;Yes, I&amp;rsquo;m into AC/DC. I also try to respect user preferences as much as I can. If you have light or dark mode enabled in your &lt;span class=&#34;small-caps&#34;&gt;OS&lt;/span&gt;, I&amp;rsquo;d like this website to adhere to your choice.&lt;/p&gt;
&lt;h2 id=&#34;two-theme-or-not-two-theme&#34;&gt;Two Theme or not Two Theme&lt;/h2&gt;
&lt;p&gt;That being said, I&amp;rsquo;ve been giving it some thought: I&amp;rsquo;m still in the beginning of this site&amp;rsquo;s redesign, and while it seems logical to implement theme support from the start, having two scales to test every time I change something could easily create an overhead, distract me from current flow, and delay implementing other features. It could become especially complex with the image/asset management, or if I decide to add shadows to UI elements (which I probably will).&lt;/p&gt;
&lt;p&gt;To avoid constraints and be able to move faster, I&amp;rsquo;ll proceed with keeping both themes in mind, creating a separate &lt;span class=&#34;small-caps&#34;&gt;CSS&lt;/span&gt; file where I&amp;rsquo;ll test them on the go, but one of them won&amp;rsquo;t be visible nor prioritized, for now at least.&lt;/p&gt;
&lt;p&gt;Since I use dark mode almost exclusively across devices, probably my website should be dark, as well?&lt;/p&gt;
&lt;h2 id=&#34;a-new-color-space&#34;&gt;A New Color Space&lt;/h2&gt;
&lt;p&gt;I&amp;rsquo;m going to encode the colors in &lt;span class=&#34;small-caps&#34;&gt;OKLCH&lt;/span&gt;, which is a new color format that came to our browsers with &lt;a href=&#34;https://www.w3.org/TR/css-color-4/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;CSS color 4 specification&lt;/a&gt;, as an alternative to formats such as &lt;span class=&#34;small-caps&#34;&gt;HEX&lt;/span&gt; or &lt;span class=&#34;small-caps&#34;&gt;RGB&lt;/span&gt;. I believe that it will soon become the standard in modern web development.&lt;/p&gt;
&lt;p&gt;It&amp;rsquo;s expressed in &lt;code&gt;oklch(L C H / a)&lt;/code&gt;, with the parameters being as follows:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;L&lt;/code&gt; is &lt;em&gt;perceived&lt;/em&gt; Lightness, and it ranges from 0 (black) to 1 (white)&lt;/li&gt;
&lt;li&gt;&lt;code&gt;C&lt;/code&gt; is Chroma, the &lt;em&gt;amount of color&lt;/em&gt;, from 0 (gray) to most saturated&lt;/li&gt;
&lt;li&gt;&lt;code&gt;H&lt;/code&gt; is Hue angle, and it ranges from 0 to 360&lt;/li&gt;
&lt;li&gt;&lt;code&gt;a&lt;/code&gt; is an optional alpha (transparency) value, ranging from 0 to 1&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Lightness and alpha can be expressed in percentages, as well (0%-100%).&lt;/p&gt;
&lt;p&gt;Here&amp;rsquo;s an example:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#c9d1d9;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-css&#34; data-lang=&#34;css&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;.&lt;span style=&#34;color:#f0883e;font-weight:bold&#34;&gt;div&lt;/span&gt; {
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;	&lt;span style=&#34;color:#ff7b72&#34;&gt;color&lt;/span&gt;: &lt;span style=&#34;color:#d2a8ff;font-weight:bold&#34;&gt;oklch&lt;/span&gt;(&lt;span style=&#34;color:#a5d6ff&#34;&gt;0&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;0&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;0&lt;/span&gt;); &lt;span style=&#34;color:#8b949e;font-style:italic&#34;&gt;/* black */&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;	&lt;span style=&#34;color:#ff7b72&#34;&gt;color&lt;/span&gt;: &lt;span style=&#34;color:#d2a8ff;font-weight:bold&#34;&gt;oklch&lt;/span&gt;(&lt;span style=&#34;color:#a5d6ff&#34;&gt;1&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;0&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;0&lt;/span&gt;); &lt;span style=&#34;color:#8b949e;font-style:italic&#34;&gt;/* white */&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;	&lt;span style=&#34;color:#ff7b72&#34;&gt;color&lt;/span&gt;: &lt;span style=&#34;color:#d2a8ff;font-weight:bold&#34;&gt;oklch&lt;/span&gt;(&lt;span style=&#34;color:#a5d6ff&#34;&gt;0.5&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;0.2&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;30&lt;/span&gt; &lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;/&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;50&lt;/span&gt;&lt;span style=&#34;color:#ff7b72&#34;&gt;%&lt;/span&gt;); &lt;span style=&#34;color:#8b949e;font-style:italic&#34;&gt;/* transparent red */&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;What are the benefits of &lt;span class=&#34;small-caps&#34;&gt;OKLCH&lt;/span&gt; over &lt;span class=&#34;small-caps&#34;&gt;RGB&lt;/span&gt; or &lt;span class=&#34;small-caps&#34;&gt;HSL&lt;/span&gt;?&lt;/p&gt;
&lt;p&gt;&lt;span class=&#34;small-caps&#34;&gt;RGB&lt;/span&gt; stands for &amp;ldquo;Red, Green, Blue&amp;rdquo; (Hex being &lt;span class=&#34;small-caps&#34;&gt;RGB&lt;/span&gt; in hexadecimal form), and the three numbers don&amp;rsquo;t relate to how we perceive the colors, you can not tweak them intuitively.&lt;/p&gt;
&lt;p&gt;&lt;span class=&#34;small-caps&#34;&gt;HSL&lt;/span&gt; tries to better that by relying on Hue, Saturation, and Lightness. While being more readable, it&amp;rsquo;s still not truly perceptual. For example, we perceive yellow saturated at 80% as far more vivid than blue at 80%.&lt;/p&gt;
&lt;p&gt;The biggest advantage of &lt;span class=&#34;small-caps&#34;&gt;OKLCH&lt;/span&gt; is perceptual uniformity, meaning that its values correspond to how we actually see the color. Tweaking any parameter results in a predictable and uniform change, while that same tweak in &lt;span class=&#34;small-caps&#34;&gt;HSL&lt;/span&gt; or &lt;span class=&#34;small-caps&#34;&gt;RGB&lt;/span&gt; might result in an unpredicted jump or barely any visible difference. That means that you can freely tweak one of the parameters, without caring about the other two.&lt;/p&gt;
&lt;p&gt;It also supports a wider color gamut, but I won&amp;rsquo;t get much into detail. If you&amp;rsquo;re interested in the subject, I recommend further reading:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://evilmartians.com/chronicles/oklch-in-css-why-quit-rgb-hsl&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;OKLCH in CSS: why we moved from RGB and HSL&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.smashingmagazine.com/2023/08/oklch-color-spaces-gamuts-css/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;Falling For Oklch: A Love Story Of Color Spaces, Gamuts, And CSS&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://chriscoyier.net/2023/05/25/two-things-that-are-not-great-about-oklch/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;Two Things That are Not Great About OKLCH&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;So, &lt;span class=&#34;small-caps&#34;&gt;OKLCH&lt;/span&gt; is more human readable, provides for better accessibility, and is easier to generate palettes with.&lt;/p&gt;
&lt;h2 id=&#34;color-palette&#34;&gt;Color Palette&lt;/h2&gt;
&lt;p&gt;I&amp;rsquo;ll start with a simple 12-step palette, like this:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#c9d1d9;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-css&#34; data-lang=&#34;css&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;:&lt;span style=&#34;color:#d2a8ff;font-weight:bold&#34;&gt;root&lt;/span&gt; {
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#79c0ff&#34;&gt;--color-monochrome-01&lt;/span&gt;: &lt;span style=&#34;color:#d2a8ff;font-weight:bold&#34;&gt;oklch&lt;/span&gt;(&lt;span style=&#34;color:#a5d6ff&#34;&gt;0.16&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;0&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;0&lt;/span&gt;);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#79c0ff&#34;&gt;--color-monochrome-02&lt;/span&gt;: &lt;span style=&#34;color:#d2a8ff;font-weight:bold&#34;&gt;oklch&lt;/span&gt;(&lt;span style=&#34;color:#a5d6ff&#34;&gt;0.2&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;0&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;0&lt;/span&gt;);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#79c0ff&#34;&gt;--color-monochrome-03&lt;/span&gt;: &lt;span style=&#34;color:#d2a8ff;font-weight:bold&#34;&gt;oklch&lt;/span&gt;(&lt;span style=&#34;color:#a5d6ff&#34;&gt;0.24&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;0&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;0&lt;/span&gt;);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#79c0ff&#34;&gt;--color-monochrome-04&lt;/span&gt;: &lt;span style=&#34;color:#d2a8ff;font-weight:bold&#34;&gt;oklch&lt;/span&gt;(&lt;span style=&#34;color:#a5d6ff&#34;&gt;0.28&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;0&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;0&lt;/span&gt;);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#79c0ff&#34;&gt;--color-monochrome-05&lt;/span&gt;: &lt;span style=&#34;color:#d2a8ff;font-weight:bold&#34;&gt;oklch&lt;/span&gt;(&lt;span style=&#34;color:#a5d6ff&#34;&gt;0.32&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;0&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;0&lt;/span&gt;);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#79c0ff&#34;&gt;--color-monochrome-06&lt;/span&gt;: &lt;span style=&#34;color:#d2a8ff;font-weight:bold&#34;&gt;oklch&lt;/span&gt;(&lt;span style=&#34;color:#a5d6ff&#34;&gt;0.4&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;0&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;0&lt;/span&gt;);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#79c0ff&#34;&gt;--color-monochrome-07&lt;/span&gt;: &lt;span style=&#34;color:#d2a8ff;font-weight:bold&#34;&gt;oklch&lt;/span&gt;(&lt;span style=&#34;color:#a5d6ff&#34;&gt;0.48&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;0&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;0&lt;/span&gt;);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#79c0ff&#34;&gt;--color-monochrome-08&lt;/span&gt;: &lt;span style=&#34;color:#d2a8ff;font-weight:bold&#34;&gt;oklch&lt;/span&gt;(&lt;span style=&#34;color:#a5d6ff&#34;&gt;0.56&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;0&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;0&lt;/span&gt;);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#79c0ff&#34;&gt;--color-monochrome-09&lt;/span&gt;: &lt;span style=&#34;color:#d2a8ff;font-weight:bold&#34;&gt;oklch&lt;/span&gt;(&lt;span style=&#34;color:#a5d6ff&#34;&gt;0.64&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;0&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;0&lt;/span&gt;);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#79c0ff&#34;&gt;--color-monochrome-10&lt;/span&gt;: &lt;span style=&#34;color:#d2a8ff;font-weight:bold&#34;&gt;oklch&lt;/span&gt;(&lt;span style=&#34;color:#a5d6ff&#34;&gt;0.72&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;0&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;0&lt;/span&gt;);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#79c0ff&#34;&gt;--color-monochrome-11&lt;/span&gt;: &lt;span style=&#34;color:#d2a8ff;font-weight:bold&#34;&gt;oklch&lt;/span&gt;(&lt;span style=&#34;color:#a5d6ff&#34;&gt;0.8&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;0&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;0&lt;/span&gt;);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#79c0ff&#34;&gt;--color-monochrome-12&lt;/span&gt;: &lt;span style=&#34;color:#d2a8ff;font-weight:bold&#34;&gt;oklch&lt;/span&gt;(&lt;span style=&#34;color:#a5d6ff&#34;&gt;0.96&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;0&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;0&lt;/span&gt;);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Now, as much as I like a pure grayscale, it can sometimes appear slightly greenish on displays due to how human vision processes different wavelengths. To avoid that, I&amp;rsquo;ll be aiming the hue value at a slightly bluish tint, and increase chroma a bit:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#c9d1d9;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-css&#34; data-lang=&#34;css&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;:&lt;span style=&#34;color:#d2a8ff;font-weight:bold&#34;&gt;root&lt;/span&gt; {
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#79c0ff&#34;&gt;--color-monochrome-01&lt;/span&gt;: &lt;span style=&#34;color:#d2a8ff;font-weight:bold&#34;&gt;oklch&lt;/span&gt;(&lt;span style=&#34;color:#a5d6ff&#34;&gt;0.16&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;0.004&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;256&lt;/span&gt;);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#79c0ff&#34;&gt;--color-monochrome-02&lt;/span&gt;: &lt;span style=&#34;color:#d2a8ff;font-weight:bold&#34;&gt;oklch&lt;/span&gt;(&lt;span style=&#34;color:#a5d6ff&#34;&gt;0.2&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;0.004&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;256&lt;/span&gt;);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#79c0ff&#34;&gt;--color-monochrome-03&lt;/span&gt;: &lt;span style=&#34;color:#d2a8ff;font-weight:bold&#34;&gt;oklch&lt;/span&gt;(&lt;span style=&#34;color:#a5d6ff&#34;&gt;0.24&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;0.004&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;256&lt;/span&gt;);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#79c0ff&#34;&gt;--color-monochrome-04&lt;/span&gt;: &lt;span style=&#34;color:#d2a8ff;font-weight:bold&#34;&gt;oklch&lt;/span&gt;(&lt;span style=&#34;color:#a5d6ff&#34;&gt;0.28&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;0.004&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;256&lt;/span&gt;);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#79c0ff&#34;&gt;--color-monochrome-05&lt;/span&gt;: &lt;span style=&#34;color:#d2a8ff;font-weight:bold&#34;&gt;oklch&lt;/span&gt;(&lt;span style=&#34;color:#a5d6ff&#34;&gt;0.32&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;0.004&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;256&lt;/span&gt;);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#79c0ff&#34;&gt;--color-monochrome-06&lt;/span&gt;: &lt;span style=&#34;color:#d2a8ff;font-weight:bold&#34;&gt;oklch&lt;/span&gt;(&lt;span style=&#34;color:#a5d6ff&#34;&gt;0.4&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;0.004&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;256&lt;/span&gt;);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#79c0ff&#34;&gt;--color-monochrome-07&lt;/span&gt;: &lt;span style=&#34;color:#d2a8ff;font-weight:bold&#34;&gt;oklch&lt;/span&gt;(&lt;span style=&#34;color:#a5d6ff&#34;&gt;0.48&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;0.004&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;256&lt;/span&gt;);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#79c0ff&#34;&gt;--color-monochrome-08&lt;/span&gt;: &lt;span style=&#34;color:#d2a8ff;font-weight:bold&#34;&gt;oklch&lt;/span&gt;(&lt;span style=&#34;color:#a5d6ff&#34;&gt;0.56&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;0.004&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;256&lt;/span&gt;);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#79c0ff&#34;&gt;--color-monochrome-09&lt;/span&gt;: &lt;span style=&#34;color:#d2a8ff;font-weight:bold&#34;&gt;oklch&lt;/span&gt;(&lt;span style=&#34;color:#a5d6ff&#34;&gt;0.64&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;0.004&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;256&lt;/span&gt;);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#79c0ff&#34;&gt;--color-monochrome-10&lt;/span&gt;: &lt;span style=&#34;color:#d2a8ff;font-weight:bold&#34;&gt;oklch&lt;/span&gt;(&lt;span style=&#34;color:#a5d6ff&#34;&gt;0.72&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;0.004&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;256&lt;/span&gt;);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#79c0ff&#34;&gt;--color-monochrome-11&lt;/span&gt;: &lt;span style=&#34;color:#d2a8ff;font-weight:bold&#34;&gt;oklch&lt;/span&gt;(&lt;span style=&#34;color:#a5d6ff&#34;&gt;0.8&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;0.004&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;256&lt;/span&gt;);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#79c0ff&#34;&gt;--color-monochrome-12&lt;/span&gt;: &lt;span style=&#34;color:#d2a8ff;font-weight:bold&#34;&gt;oklch&lt;/span&gt;(&lt;span style=&#34;color:#a5d6ff&#34;&gt;0.96&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;0.004&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;256&lt;/span&gt;);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The minimal tint helps maintain more consistent appearance across different displays and makes the palette feel more refined, while maintaining the appearance of being &amp;ldquo;neutral&amp;rdquo;. This is how it looks like:&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;color-palette.webp&#34; alt=&#34;Color Palette&#34;&gt;&lt;/p&gt;
&lt;p&gt;Notice how easy it was to achieve this with &lt;span class=&#34;small-caps&#34;&gt;OKLCH&lt;/span&gt;?&lt;/p&gt;
&lt;h2 id=&#34;color-usage&#34;&gt;Color Usage&lt;/h2&gt;
&lt;p&gt;This might differ in the future, but in principle I&amp;rsquo;ll be using color steps this way:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;1-3 for backgrounds&lt;/li&gt;
&lt;li&gt;3-6 for borders&lt;/li&gt;
&lt;li&gt;7-12 for text and icons&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#c9d1d9;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-css&#34; data-lang=&#34;css&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;:&lt;span style=&#34;color:#d2a8ff;font-weight:bold&#34;&gt;root&lt;/span&gt; {
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#79c0ff&#34;&gt;--color-bg&lt;/span&gt;: &lt;span style=&#34;color:#d2a8ff;font-weight:bold&#34;&gt;var&lt;/span&gt;(&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;--&lt;/span&gt;&lt;span style=&#34;color:#79c0ff&#34;&gt;color&lt;/span&gt;&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;-&lt;/span&gt;monochrome&lt;span style=&#34;color:#a5d6ff&#34;&gt;-01&lt;/span&gt;);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#79c0ff&#34;&gt;--color-surface-1&lt;/span&gt;: &lt;span style=&#34;color:#d2a8ff;font-weight:bold&#34;&gt;var&lt;/span&gt;(&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;--&lt;/span&gt;&lt;span style=&#34;color:#79c0ff&#34;&gt;color&lt;/span&gt;&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;-&lt;/span&gt;monochrome&lt;span style=&#34;color:#a5d6ff&#34;&gt;-02&lt;/span&gt;);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#79c0ff&#34;&gt;--color-surface-2&lt;/span&gt;: &lt;span style=&#34;color:#d2a8ff;font-weight:bold&#34;&gt;var&lt;/span&gt;(&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;--&lt;/span&gt;&lt;span style=&#34;color:#79c0ff&#34;&gt;color&lt;/span&gt;&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;-&lt;/span&gt;monochrome&lt;span style=&#34;color:#a5d6ff&#34;&gt;-03&lt;/span&gt;);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#79c0ff&#34;&gt;--color-border-subtle&lt;/span&gt;: &lt;span style=&#34;color:#d2a8ff;font-weight:bold&#34;&gt;var&lt;/span&gt;(&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;--&lt;/span&gt;&lt;span style=&#34;color:#79c0ff&#34;&gt;color&lt;/span&gt;&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;-&lt;/span&gt;monochrome&lt;span style=&#34;color:#a5d6ff&#34;&gt;-04&lt;/span&gt;);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#79c0ff&#34;&gt;--color-border-default&lt;/span&gt;: &lt;span style=&#34;color:#d2a8ff;font-weight:bold&#34;&gt;var&lt;/span&gt;(&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;--&lt;/span&gt;&lt;span style=&#34;color:#79c0ff&#34;&gt;color&lt;/span&gt;&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;-&lt;/span&gt;monochrome&lt;span style=&#34;color:#a5d6ff&#34;&gt;-05&lt;/span&gt;);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#79c0ff&#34;&gt;--color-border-strong&lt;/span&gt;: &lt;span style=&#34;color:#d2a8ff;font-weight:bold&#34;&gt;var&lt;/span&gt;(&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;--&lt;/span&gt;&lt;span style=&#34;color:#79c0ff&#34;&gt;color&lt;/span&gt;&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;-&lt;/span&gt;monochrome&lt;span style=&#34;color:#a5d6ff&#34;&gt;-06&lt;/span&gt;);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#79c0ff&#34;&gt;--color-text-disabled&lt;/span&gt;: &lt;span style=&#34;color:#d2a8ff;font-weight:bold&#34;&gt;var&lt;/span&gt;(&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;--&lt;/span&gt;&lt;span style=&#34;color:#79c0ff&#34;&gt;color&lt;/span&gt;&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;-&lt;/span&gt;monochrome&lt;span style=&#34;color:#a5d6ff&#34;&gt;-07&lt;/span&gt;);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#79c0ff&#34;&gt;--color-text-muted&lt;/span&gt;: &lt;span style=&#34;color:#d2a8ff;font-weight:bold&#34;&gt;var&lt;/span&gt;(&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;--&lt;/span&gt;&lt;span style=&#34;color:#79c0ff&#34;&gt;color&lt;/span&gt;&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;-&lt;/span&gt;monochrome&lt;span style=&#34;color:#a5d6ff&#34;&gt;-08&lt;/span&gt;);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#79c0ff&#34;&gt;--color-text-default&lt;/span&gt;: &lt;span style=&#34;color:#d2a8ff;font-weight:bold&#34;&gt;var&lt;/span&gt;(&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;--&lt;/span&gt;&lt;span style=&#34;color:#79c0ff&#34;&gt;color&lt;/span&gt;&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;-&lt;/span&gt;monochrome&lt;span style=&#34;color:#a5d6ff&#34;&gt;-09&lt;/span&gt;);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#79c0ff&#34;&gt;--color-text-emphasis&lt;/span&gt;: &lt;span style=&#34;color:#d2a8ff;font-weight:bold&#34;&gt;var&lt;/span&gt;(&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;--&lt;/span&gt;&lt;span style=&#34;color:#79c0ff&#34;&gt;color&lt;/span&gt;&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;-&lt;/span&gt;monochrome&lt;span style=&#34;color:#a5d6ff&#34;&gt;-10&lt;/span&gt;);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#79c0ff&#34;&gt;--color-text-strong&lt;/span&gt;: &lt;span style=&#34;color:#d2a8ff;font-weight:bold&#34;&gt;var&lt;/span&gt;(&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;--&lt;/span&gt;&lt;span style=&#34;color:#79c0ff&#34;&gt;color&lt;/span&gt;&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;-&lt;/span&gt;monochrome&lt;span style=&#34;color:#a5d6ff&#34;&gt;-11&lt;/span&gt;);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#79c0ff&#34;&gt;--color-text-highlight&lt;/span&gt;: &lt;span style=&#34;color:#d2a8ff;font-weight:bold&#34;&gt;var&lt;/span&gt;(&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;--&lt;/span&gt;&lt;span style=&#34;color:#79c0ff&#34;&gt;color&lt;/span&gt;&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;-&lt;/span&gt;monochrome&lt;span style=&#34;color:#a5d6ff&#34;&gt;-12&lt;/span&gt;);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Is twelve steps too much for such a simple site? Probably. I could live without 10 and 11, for sure. But, for now, since I&amp;rsquo;m not sure where I&amp;rsquo;m going with it, the flexibility of a nuanced scale provides some peace of mind. I&amp;rsquo;ll aim to subtract as I go.&lt;/p&gt;
&lt;h2 id=&#34;dark-mode-on&#34;&gt;Dark Mode: On!&lt;/h2&gt;
&lt;p&gt;With this, here&amp;rsquo;s where the site stands at the time of writing:&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;website-2025-05-13.webp&#34; alt=&#34;milosjeremic.com&#34;&gt;&lt;/p&gt;
&lt;p&gt;What do you say, is it time to &lt;a href=&#34;https://milosjeremic.com/blog/ui-start/&#34;&gt;spice-up the UI&lt;/a&gt; next?&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>Constructing the Grid</title>
      <link>https://milosjeremic.com/blog/constructing-grid/</link>
      <pubDate>Sat, 10 May 2025 08:25:00 +0200</pubDate>
      
      <guid>https://milosjeremic.com/blog/constructing-grid/</guid>
      <description>&lt;blockquote&gt;
  
  
  
  &lt;p&gt;A grid is like an underwear, you wear it but it&amp;rsquo;s not to be exposed.&lt;/p&gt;
  
  
  &lt;cite&gt;
    
    Massimo Vignelli
    
  &lt;/cite&gt;
&lt;/blockquote&gt;

&lt;p&gt;The grid is one of the most essential tools in any designer&amp;rsquo;s toolbox. It ties the content together — providing rhythm and visual coherence. I&amp;rsquo;ll try to keep this one very beginner-friendly.&lt;/p&gt;
&lt;h2 id=&#34;grid-from-typography&#34;&gt;Grid From Typography&lt;/h2&gt;
&lt;p&gt;For this website, I&amp;rsquo;ll be using a method that I learned a long time ago: I&amp;rsquo;ll try to let the content itself shape the grid, not the other way around.&lt;/p&gt;
&lt;h3 id=&#34;iteration-1-starting-with-the-baseline&#34;&gt;Iteration 1: Starting with the Baseline&lt;/h3&gt;
&lt;p&gt;I have set font sizes and line heights in the &lt;a href=&#34;https://milosjeremic.com/blog/type-scale-blues/&#34;&gt;Type Scale Blues&lt;/a&gt;. The root font-size is 16px, and the corresponding line-height is 24px. Pretty usual. Let&amp;rsquo;s see that:&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;1-paragraph.webp&#34; alt=&#34;Paragraph&#34;&gt;&lt;/p&gt;
&lt;p&gt;OK, now, for this kind of text to be actually readable, I&amp;rsquo;m aiming for every line to have somewhere between 55-75 characters. Let&amp;rsquo;s do 65:&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;2-line_length.webp&#34; alt=&#34;Line Length&#34;&gt;&lt;/p&gt;
&lt;p&gt;A 24px line-height has already defined the horizontal grid, which will keep the vertical rhythm. Let&amp;rsquo;s make that visible:&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;3-horizontal_grid.webp&#34; alt=&#34;Horizontal Grid&#34;&gt;&lt;/p&gt;
&lt;p&gt;Time to put up a vertical grid. Asking a few questions:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;How many columns?&lt;/strong&gt; I don&amp;rsquo;t know, but let&amp;rsquo;s say that I&amp;rsquo;ll want to split it so I can have two boxes of content stacked vertically, or maybe three. I doubt that I&amp;rsquo;ll do four, it&amp;rsquo;ll be too small. In order to be able to split the content in 2 or 3 columns, I&amp;rsquo;ll need a minimum of 6-col grid, since it&amp;rsquo;s the smallest number divisible by both 2 and 3.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Will it be centered?&lt;/strong&gt; Although I find the current look interesting, yes, I&amp;rsquo;m going to center the content.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;What&amp;rsquo;s the gutter size going to be?&lt;/strong&gt; Now, this is the key point of &lt;em&gt;grid from typography&lt;/em&gt;. The baseline is 24px, so let&amp;rsquo;s set the gutters at 24px too.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;What about the column size?&lt;/strong&gt; I&amp;rsquo;ll start with 24px too, and then add 24px on top of that. Keep adding until the total grid width comes close to the target line-length from earlier. Like this:&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img src=&#34;4-vertical-6col.webp&#34; alt=&#34;Vertical Rhythm 6 col construction&#34;&gt;&lt;/p&gt;
&lt;p&gt;Now let me just adjust the size of the text-box to fit the grid nicely:&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;5-vertical_rhythm-6col.webp&#34; alt=&#34;Vertical Rhythm 6 col&#34;&gt;&lt;/p&gt;
&lt;h3 id=&#34;iteration-2-expanding-the-grid&#34;&gt;Iteration 2: Expanding the Grid&lt;/h3&gt;
&lt;p&gt;But wait, what if I wish to let the images break out of the text column? The width of 552px might be too small for some images to show detail. What if I wish to do 4 vertical boxes? Or 6? The content on this site isn&amp;rsquo;t purely textual.&lt;/p&gt;
&lt;p&gt;Let&amp;rsquo;s turn those 6 columns into 12. No, that&amp;rsquo;s too wide. Well, for now, at least (1128px is perfectly fine for desktops). Time to subtract! Bring the columns down by 24px, and I&amp;rsquo;ve got something that feels right:&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;6-vertical_rhythm-12col.webp&#34; alt=&#34;Vertical Rhythm 12 col&#34;&gt;&lt;/p&gt;
&lt;p&gt;That&amp;rsquo;s it! Time to align the content and see how it goes:&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;7-content_align.webp&#34; alt=&#34;Align Content on Grid&#34;&gt;&lt;/p&gt;
&lt;h3 id=&#34;iteration-3-fine-tuning-spacing&#34;&gt;Iteration 3: Fine-Tuning Spacing&lt;/h3&gt;
&lt;p&gt;Notice how the list items are too close together? And pulling them apart will make them too far away from each other? That&amp;rsquo;s totally fine, because I can split 24px/2 and get 12px — a more nuanced grid to work with, that won&amp;rsquo;t break anything. Maybe even better, I&amp;rsquo;ll split 24px/3 and get an 8px grid, which will still keep the existing vertical rhythm intact, giving me even more nuance for the content to work with.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;8-px_grid.webp&#34; alt=&#34;8px Grid&#34;&gt;&lt;/p&gt;
&lt;p&gt;If you&amp;rsquo;re a designer, you&amp;rsquo;ll know the 8px grid really well. It&amp;rsquo;s the most common grid to work with, so I feel comfortable where I am right now.&lt;/p&gt;
&lt;p&gt;Here&amp;rsquo;s the content on its own, without the grid:&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;9-final.webp&#34; alt=&#34;milosjeremic.com&#34;&gt;&lt;/p&gt;
&lt;p&gt;What about the mobile? Well, for now, I&amp;rsquo;m keeping everything in 1 column, and coding it mobile-first, so the grid will be used at larger viewport sizes only. When there&amp;rsquo;s a need for refinement, I&amp;rsquo;ll take a different approach.&lt;/p&gt;
&lt;h2 id=&#34;takeaways&#34;&gt;Takeaways&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Setting the grid from typography has its advantages: when you set horizontal rhythm from the vertical one, spacing will be consistent in both directions, so if you size a square or a circle to a width of the columns, it&amp;rsquo;ll always get on the 24px baseline, as well.&lt;/li&gt;
&lt;li&gt;You can play with this further and split the base column unit, too. You may end up with something like 64px columns and 32px gutters (from 8), and it&amp;rsquo;ll still work.&lt;/li&gt;
&lt;li&gt;The grids are here to guide and help. Not to constrain. Breaking out from the grid is completely fine.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Ten days in — do I finally have a nice, minimal, functional website? Seems so. But still got a long way to go.&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>Typography III: Styling</title>
      <link>https://milosjeremic.com/blog/typography-styling/</link>
      <pubDate>Fri, 09 May 2025 23:34:45 +0200</pubDate>
      
      <guid>https://milosjeremic.com/blog/typography-styling/</guid>
      <description>&lt;p&gt;&lt;em&gt;Previously, I&amp;rsquo;ve &lt;a href=&#34;https://milosjeremic.com/blog/typeface-selection/&#34;&gt;chosen the fonts&lt;/a&gt; and set an &lt;a href=&#34;https://milosjeremic.com/blog/type-scale-blues/&#34;&gt;unconventional type scale&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;In this post, I&amp;rsquo;ll be going a bit beyond the letterforms and spacings, trying to make this chunk of text finally readable. I&amp;rsquo;m going to make use of OpenType features, and style the default &lt;span class=&#34;small-caps&#34;&gt;HTML&lt;/span&gt; elements. It might get a bit technical, but you&amp;rsquo;ll see a few simple &lt;span class=&#34;small-caps&#34;&gt;CSS&lt;/span&gt; declarations going a long way.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Table of Contents&lt;/strong&gt;
&lt;nav id=&#34;TableOfContents&#34;&gt;
  &lt;ul&gt;
    &lt;li&gt;&lt;a href=&#34;#line-length&#34;&gt;Line Length&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&#34;#contrast&#34;&gt;Contrast&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&#34;#font-smoothing&#34;&gt;Font Smoothing&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&#34;#line-height--tracking&#34;&gt;Line-Height &amp;amp; Tracking&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&#34;#kerning&#34;&gt;Kerning&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&#34;#ligatures&#34;&gt;Ligatures&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&#34;#old-style-numerals&#34;&gt;Old-Style Numerals&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&#34;#small-caps&#34;&gt;Small Caps&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&#34;#ordinals&#34;&gt;Ordinals&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&#34;#stylistic-alternates&#34;&gt;Stylistic Alternates&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&#34;#links&#34;&gt;Links&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&#34;#bullet-list-dots&#34;&gt;Bullet List Dots&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&#34;#blockquotes&#34;&gt;Blockquotes&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&#34;#table&#34;&gt;Table&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&#34;#horizontal-rule&#34;&gt;Horizontal Rule&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&#34;#pre-formatted-text--code&#34;&gt;Pre-Formatted Text &amp;amp; Code&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&#34;#emojis-sure-&#34;&gt;Emojis? Sure! 🤘😁&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&#34;#fleuron&#34;&gt;Fleuron&lt;/a&gt;&lt;/li&gt;
  &lt;/ul&gt;
&lt;/nav&gt;
&lt;/p&gt;
&lt;p&gt;Take a look at this text:&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;type-stripped.webp&#34; alt=&#34;No Typography Styling&#34;&gt;&lt;/p&gt;
&lt;p&gt;Now look at the one below. Which one do you prefer reading? Can you spot all of the type nuances? Hint: There are 15 of them.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;type-styled.webp&#34; alt=&#34;Type nuances example, side by side&#34;&gt;&lt;/p&gt;
&lt;p&gt;If not, let me guide you:&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;type-explained.webp&#34; alt=&#34;Type nuances description&#34;&gt;&lt;/p&gt;
&lt;p&gt;This may be an exaggeration on a small piece of imaginary text, but little nuances like these add up to make the reading experience more pleasurable. Without further ado, first things first&amp;hellip;&lt;/p&gt;
&lt;h2 id=&#34;line-length&#34;&gt;Line Length&lt;/h2&gt;
&lt;p&gt;Let&amp;rsquo;s set a proper line length! The benchmark for this kind of text should be in between 55–75 characters per line. I&amp;rsquo;ll provide some whitespace, as well:&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;compare-line_length.webp&#34; alt=&#34;Compare: Line Length&#34;&gt;&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#c9d1d9;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-css&#34; data-lang=&#34;css&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;#&lt;span style=&#34;color:#ff7b72&#34;&gt;page&lt;/span&gt; {
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;	&lt;span style=&#34;color:#ff7b72&#34;&gt;max-width&lt;/span&gt;: &lt;span style=&#34;color:#a5d6ff&#34;&gt;34.5&lt;/span&gt;&lt;span style=&#34;color:#ff7b72&#34;&gt;rem&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;	&lt;span style=&#34;color:#ff7b72&#34;&gt;margin&lt;/span&gt;: &lt;span style=&#34;color:#a5d6ff&#34;&gt;1.5&lt;/span&gt;&lt;span style=&#34;color:#ff7b72&#34;&gt;rem&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;@&lt;span style=&#34;color:#ff7b72&#34;&gt;media&lt;/span&gt; &lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;(&lt;/span&gt;&lt;span style=&#34;color:#7ee787&#34;&gt;min-width&lt;/span&gt;&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#7ee787&#34;&gt;640px&lt;/span&gt;&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;)&lt;/span&gt; {
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;	#&lt;span style=&#34;color:#ff7b72&#34;&gt;page&lt;/span&gt; {
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;		&lt;span style=&#34;color:#ff7b72&#34;&gt;margin&lt;/span&gt;: &lt;span style=&#34;color:#a5d6ff&#34;&gt;4&lt;/span&gt;&lt;span style=&#34;color:#ff7b72&#34;&gt;rem&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;	}
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Woah. Now I can breathe.&lt;/p&gt;
&lt;h2 id=&#34;contrast&#34;&gt;Contrast&lt;/h2&gt;
&lt;p&gt;Going ahead of myself here by dealing with color up front, but I can&amp;rsquo;t stand looking at the same contrast levels between titles and body text against the background anymore. Let&amp;rsquo;s make it much easier on the eyes.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;compare-contrast.webp&#34; alt=&#34;Compare: Contrast&#34;&gt;&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#c9d1d9;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-css&#34; data-lang=&#34;css&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;:&lt;span style=&#34;color:#d2a8ff;font-weight:bold&#34;&gt;root&lt;/span&gt; {
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;	&lt;span style=&#34;color:#79c0ff&#34;&gt;--color-bg&lt;/span&gt;: &lt;span style=&#34;color:#a5d6ff&#34;&gt;#fafafa&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;	&lt;span style=&#34;color:#79c0ff&#34;&gt;--color-text-highlight&lt;/span&gt;: &lt;span style=&#34;color:#a5d6ff&#34;&gt;#121212&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;	&lt;span style=&#34;color:#79c0ff&#34;&gt;--color-text-default&lt;/span&gt;: &lt;span style=&#34;color:#a5d6ff&#34;&gt;#454545&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#7ee787&#34;&gt;html&lt;/span&gt;&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#7ee787&#34;&gt;body&lt;/span&gt; {
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;	&lt;span style=&#34;color:#ff7b72&#34;&gt;background&lt;/span&gt;: &lt;span style=&#34;color:#d2a8ff;font-weight:bold&#34;&gt;var&lt;/span&gt;(&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;--&lt;/span&gt;&lt;span style=&#34;color:#79c0ff&#34;&gt;color&lt;/span&gt;&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;-&lt;/span&gt;bg);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;	&lt;span style=&#34;color:#ff7b72&#34;&gt;color&lt;/span&gt;: &lt;span style=&#34;color:#d2a8ff;font-weight:bold&#34;&gt;var&lt;/span&gt;(&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;--&lt;/span&gt;&lt;span style=&#34;color:#79c0ff&#34;&gt;color&lt;/span&gt;&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;-&lt;/span&gt;&lt;span style=&#34;color:#79c0ff&#34;&gt;text&lt;/span&gt;&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;-&lt;/span&gt;&lt;span style=&#34;color:#79c0ff&#34;&gt;default&lt;/span&gt;);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#7ee787&#34;&gt;h1&lt;/span&gt;&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#7ee787&#34;&gt;h2&lt;/span&gt;&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#7ee787&#34;&gt;h3&lt;/span&gt;&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#7ee787&#34;&gt;h4&lt;/span&gt;&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#7ee787&#34;&gt;h5&lt;/span&gt;&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#7ee787&#34;&gt;h6&lt;/span&gt; {
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#ff7b72&#34;&gt;color&lt;/span&gt;: &lt;span style=&#34;color:#d2a8ff;font-weight:bold&#34;&gt;var&lt;/span&gt;(&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;--&lt;/span&gt;&lt;span style=&#34;color:#79c0ff&#34;&gt;color&lt;/span&gt;&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;-&lt;/span&gt;&lt;span style=&#34;color:#79c0ff&#34;&gt;text&lt;/span&gt;&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;-&lt;/span&gt;highlight);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id=&#34;font-smoothing&#34;&gt;Font Smoothing&lt;/h2&gt;
&lt;p&gt;I&amp;rsquo;ll use custom font smoothing to make sure that the letters look as good as they can on the screen:&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;compare-smoothing.webp&#34; alt=&#34;Compare: Font Smoothing&#34;&gt;&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#c9d1d9;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-css&#34; data-lang=&#34;css&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#7ee787&#34;&gt;html&lt;/span&gt;&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#7ee787&#34;&gt;body&lt;/span&gt; {
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;	&lt;span style=&#34;color:#79c0ff&#34;&gt;-webkit-&lt;/span&gt;font-smoothing: antialiased;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;	&lt;span style=&#34;color:#79c0ff&#34;&gt;-moz-&lt;/span&gt;osx-font-smoothing: grayscale;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id=&#34;line-height--tracking&#34;&gt;Line-Height &amp;amp; Tracking&lt;/h2&gt;
&lt;p&gt;Line heights were &lt;a href=&#34;https://milosjeremic.com/blog/type-scale-blues/&#34;&gt;already specified&lt;/a&gt;, but I&amp;rsquo;ll introduce a bit tighter tracking for body text. It&amp;rsquo;s by no means necessary with this font, it might even be considered a bad typography choice, since this font is optimized by default, but I just like the overall feel better when I narrow it down a bit.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;compare-tracking.webp&#34; alt=&#34;Compare: Tracking&#34;&gt;&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#c9d1d9;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-css&#34; data-lang=&#34;css&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#7ee787&#34;&gt;p&lt;/span&gt;&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#7ee787&#34;&gt;li&lt;/span&gt; {
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;	&lt;span style=&#34;color:#ff7b72&#34;&gt;letter-spacing&lt;/span&gt;: &lt;span style=&#34;color:#a5d6ff&#34;&gt;-0.01&lt;/span&gt;&lt;span style=&#34;color:#ff7b72&#34;&gt;rem&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id=&#34;kerning&#34;&gt;Kerning&lt;/h2&gt;
&lt;p&gt;I&amp;rsquo;ll use &lt;code&gt;optimizeLegibility&lt;/code&gt; on headings for proper kerning. With this, browser emphasizes legibility over rendering speed, so I won&amp;rsquo;t use it on body text to avoid performance issues. macOS handles this by default, but the difference will be more dramatic on other OSs.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;text-wrap&lt;/code&gt; is a relatively new &lt;span class=&#34;small-caps&#34;&gt;CSS&lt;/span&gt; feature, and it wraps text in a way that balances the number of characters on each line, which helps to prevent orphans. Counting characters to balance them across multiple lines is computationally expensive, so this will be used on headings only, as well.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;compare-kerning.webp&#34; alt=&#34;Compare: Kerning&#34;&gt;
&lt;img src=&#34;compare-balance.webp&#34; alt=&#34;Compare: Balance&#34;&gt;&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#c9d1d9;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-css&#34; data-lang=&#34;css&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#7ee787&#34;&gt;h1&lt;/span&gt;&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#7ee787&#34;&gt;h2&lt;/span&gt;&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#7ee787&#34;&gt;h3&lt;/span&gt;&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#7ee787&#34;&gt;h4&lt;/span&gt;&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#7ee787&#34;&gt;h5&lt;/span&gt;&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#7ee787&#34;&gt;h6&lt;/span&gt; {
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;	text-rendering: &lt;span style=&#34;color:#79c0ff&#34;&gt;optimizeLegibility&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;	&lt;span style=&#34;color:#ff7b72&#34;&gt;text-wrap&lt;/span&gt;: &lt;span style=&#34;color:#79c0ff&#34;&gt;balance&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id=&#34;ligatures&#34;&gt;Ligatures&lt;/h2&gt;
&lt;p&gt;Take a closer look at these: fi, fl, ff, ffi, ffl — do you see how letters are combined to form a single glyph? That&amp;rsquo;s called a &lt;em&gt;ligature&lt;/em&gt;, and it provides a more harmonious reading experience. Let&amp;rsquo;s make sure they&amp;rsquo;re on:&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;compare-ligatures.webp&#34; alt=&#34;Compare: Ligatures&#34;&gt;&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#c9d1d9;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-css&#34; data-lang=&#34;css&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#7ee787&#34;&gt;p&lt;/span&gt;&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#7ee787&#34;&gt;li&lt;/span&gt; {
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;	&lt;span style=&#34;color:#ff7b72&#34;&gt;font-feature-settings&lt;/span&gt;: &lt;span style=&#34;color:#a5d6ff&#34;&gt;&amp;#34;liga&amp;#34;&lt;/span&gt;, &lt;span style=&#34;color:#a5d6ff&#34;&gt;&amp;#34;clig&amp;#34;&lt;/span&gt;, &lt;span style=&#34;color:#a5d6ff&#34;&gt;&amp;#34;calt&amp;#34;&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id=&#34;old-style-numerals&#34;&gt;Old-Style Numerals&lt;/h2&gt;
&lt;p&gt;As opposed to lining figures (&lt;code&gt;lnum&lt;/code&gt;), this stylistic variation creates a more organic flow with lowercase letters, and is particularly effective in body text, providing a better rhythm and less disruptive reading experience.&lt;/p&gt;
&lt;p&gt;Of course, they&amp;rsquo;re not to be used with, let&amp;rsquo;s say, tables — but we&amp;rsquo;ll get there.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;compare-onum.webp&#34; alt=&#34;Compare: Old-Style Numerals&#34;&gt;&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#c9d1d9;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-css&#34; data-lang=&#34;css&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#7ee787&#34;&gt;p&lt;/span&gt;&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#7ee787&#34;&gt;li&lt;/span&gt; {
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;	&lt;span style=&#34;color:#ff7b72&#34;&gt;font-feature-settings&lt;/span&gt;: &lt;span style=&#34;color:#a5d6ff&#34;&gt;&amp;#34;onum&amp;#34;&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id=&#34;small-caps&#34;&gt;Small Caps&lt;/h2&gt;
&lt;p&gt;True small caps are uppercase letters designed at roughly the x-height of lowercase letters, not just scaled-down capitals. They maintain the weight and proportions appropriate to their size. Often used for acronyms and abbreviations within body text.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;compare-smcp.webp&#34; alt=&#34;Compare: Small Caps&#34;&gt;&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#c9d1d9;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-css&#34; data-lang=&#34;css&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;.&lt;span style=&#34;color:#f0883e;font-weight:bold&#34;&gt;small-caps&lt;/span&gt; {
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#ff7b72&#34;&gt;font-variant-caps&lt;/span&gt;: &lt;span style=&#34;color:#79c0ff&#34;&gt;all-small-caps&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#ff7b72&#34;&gt;font-feature-settings&lt;/span&gt;: &lt;span style=&#34;color:#a5d6ff&#34;&gt;&amp;#34;c2sc&amp;#34;&lt;/span&gt;, &lt;span style=&#34;color:#a5d6ff&#34;&gt;&amp;#34;smcp&amp;#34;&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id=&#34;ordinals&#34;&gt;Ordinals&lt;/h2&gt;
&lt;p&gt;&lt;img src=&#34;compare-ordinals.webp&#34; alt=&#34;Compare: Ordinals&#34;&gt;&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#c9d1d9;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-css&#34; data-lang=&#34;css&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;.&lt;span style=&#34;color:#f0883e;font-weight:bold&#34;&gt;ordinal&lt;/span&gt; {
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#ff7b72&#34;&gt;font-variant-numeric&lt;/span&gt;: ordinal;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#ff7b72&#34;&gt;font-feature-settings&lt;/span&gt;: &lt;span style=&#34;color:#a5d6ff&#34;&gt;&amp;#34;ordn&amp;#34;&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id=&#34;stylistic-alternates&#34;&gt;Stylistic Alternates&lt;/h2&gt;
&lt;p&gt;This feature replaces default character glyphs with stylistic alternates. You&amp;rsquo;ll see an extensive use of this in the § &lt;a href=&#34;#pre-formatted-text--code&#34;&gt;Pre-formatted Text &amp;amp; Code&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;For headings and texts, I mostly like the defaults. I will only use &amp;ldquo;1&amp;rdquo; without serif in titles, and a slashed &amp;ldquo;0&amp;rdquo; for body text:&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;compare-alternates.webp&#34; alt=&#34;Compare: Stylistic Alternates&#34;&gt;&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#c9d1d9;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-css&#34; data-lang=&#34;css&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#7ee787&#34;&gt;h1&lt;/span&gt;&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#7ee787&#34;&gt;h2&lt;/span&gt;&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#7ee787&#34;&gt;h3&lt;/span&gt; {
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#ff7b72&#34;&gt;font-feature-settings&lt;/span&gt;: &lt;span style=&#34;color:#a5d6ff&#34;&gt;&amp;#39;ss02&amp;#39;&lt;/span&gt; &lt;span style=&#34;color:#79c0ff&#34;&gt;on&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#7ee787&#34;&gt;p&lt;/span&gt;&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#7ee787&#34;&gt;li&lt;/span&gt; {
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#ff7b72&#34;&gt;font-variant-numeric&lt;/span&gt;: slashed-zero;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id=&#34;links&#34;&gt;Links&lt;/h2&gt;
&lt;p&gt;I&amp;rsquo;ll set a custom underline for links. Once again, can&amp;rsquo;t really show you this on macOS, because its defaults are good, but the difference will be more visible on other OSs. Still, here&amp;rsquo;s the comparison:&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;compare-links.webp&#34; alt=&#34;Compare: Links&#34;&gt;&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#c9d1d9;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-css&#34; data-lang=&#34;css&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#7ee787&#34;&gt;a&lt;/span&gt; {
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#ff7b72&#34;&gt;text-decoration&lt;/span&gt;: &lt;span style=&#34;color:#79c0ff&#34;&gt;underline&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  text-decoration-thickness: &lt;span style=&#34;color:#a5d6ff&#34;&gt;1&lt;/span&gt;&lt;span style=&#34;color:#ff7b72&#34;&gt;px&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  text-underline-offset: &lt;span style=&#34;color:#a5d6ff&#34;&gt;1&lt;/span&gt;&lt;span style=&#34;color:#ff7b72&#34;&gt;px&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id=&#34;bullet-list-dots&#34;&gt;Bullet List Dots&lt;/h2&gt;
&lt;p&gt;An unordered (bulleted) list can have big, ugly bullet dots. Let&amp;rsquo;s fix that:&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;compare-bullets.webp&#34; alt=&#34;Compare: Bullets&#34;&gt;&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#c9d1d9;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-css&#34; data-lang=&#34;css&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#7ee787&#34;&gt;ul&lt;/span&gt; {
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#ff7b72&#34;&gt;list-style-type&lt;/span&gt;: &lt;span style=&#34;color:#a5d6ff&#34;&gt;&amp;#34;\2022\a0\a0&amp;#34;&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id=&#34;blockquotes&#34;&gt;Blockquotes&lt;/h2&gt;
&lt;blockquote&gt;
  
  
  
  &lt;p&gt;Just look at this quote. It&amp;rsquo;s beautiful.&lt;/p&gt;
  
  
  &lt;cite&gt;
    
    Confucius
    
  &lt;/cite&gt;
&lt;/blockquote&gt;

&lt;p&gt;It&amp;rsquo;s mostly styled with use of pseudo-elements:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#c9d1d9;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-css&#34; data-lang=&#34;css&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#7ee787&#34;&gt;blockquote&lt;/span&gt; {
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#ff7b72&#34;&gt;position&lt;/span&gt;: &lt;span style=&#34;color:#79c0ff&#34;&gt;relative&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#ff7b72&#34;&gt;margin&lt;/span&gt;: &lt;span style=&#34;color:#a5d6ff&#34;&gt;3&lt;/span&gt;&lt;span style=&#34;color:#ff7b72&#34;&gt;rem&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;0&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;2.25&lt;/span&gt;&lt;span style=&#34;color:#ff7b72&#34;&gt;rem&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#ff7b72&#34;&gt;padding-left&lt;/span&gt;: &lt;span style=&#34;color:#a5d6ff&#34;&gt;2.25&lt;/span&gt;&lt;span style=&#34;color:#ff7b72&#34;&gt;rem&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#7ee787&#34;&gt;blockquote&lt;/span&gt;:&lt;span style=&#34;color:#d2a8ff;font-weight:bold&#34;&gt;before&lt;/span&gt; {
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#ff7b72&#34;&gt;content&lt;/span&gt;: &lt;span style=&#34;color:#a5d6ff&#34;&gt;&amp;#34;\201C&amp;#34;&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#ff7b72&#34;&gt;position&lt;/span&gt;: &lt;span style=&#34;color:#79c0ff&#34;&gt;absolute&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#ff7b72&#34;&gt;z-index&lt;/span&gt;: &lt;span style=&#34;color:#a5d6ff&#34;&gt;-1&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#ff7b72&#34;&gt;top&lt;/span&gt;: &lt;span style=&#34;color:#a5d6ff&#34;&gt;-1.25&lt;/span&gt;&lt;span style=&#34;color:#ff7b72&#34;&gt;rem&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#ff7b72&#34;&gt;left&lt;/span&gt;: &lt;span style=&#34;color:#a5d6ff&#34;&gt;-0.25&lt;/span&gt;&lt;span style=&#34;color:#ff7b72&#34;&gt;rem&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#ff7b72&#34;&gt;font-size&lt;/span&gt;: &lt;span style=&#34;color:#a5d6ff&#34;&gt;8&lt;/span&gt;&lt;span style=&#34;color:#ff7b72&#34;&gt;rem&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#ff7b72&#34;&gt;line-height&lt;/span&gt;: &lt;span style=&#34;color:#a5d6ff&#34;&gt;1&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#ff7b72&#34;&gt;color&lt;/span&gt;: &lt;span style=&#34;color:#a5d6ff&#34;&gt;#eee&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#7ee787&#34;&gt;blockquote&lt;/span&gt; &lt;span style=&#34;color:#7ee787&#34;&gt;p&lt;/span&gt; {
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#ff7b72&#34;&gt;font-size&lt;/span&gt;: &lt;span style=&#34;color:#d2a8ff;font-weight:bold&#34;&gt;var&lt;/span&gt;(&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;--&lt;/span&gt;font&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;-&lt;/span&gt;size&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;-&lt;/span&gt;lg);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#ff7b72&#34;&gt;font-style&lt;/span&gt;: &lt;span style=&#34;color:#79c0ff&#34;&gt;italic&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#ff7b72&#34;&gt;line-height&lt;/span&gt;: &lt;span style=&#34;color:#a5d6ff&#34;&gt;1.4583333333&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#ff7b72&#34;&gt;opacity&lt;/span&gt;: &lt;span style=&#34;color:#a5d6ff&#34;&gt;0.75&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#7ee787&#34;&gt;blockquote&lt;/span&gt; &lt;span style=&#34;color:#7ee787&#34;&gt;p&lt;/span&gt;:&lt;span style=&#34;color:#d2a8ff;font-weight:bold&#34;&gt;last-of-type&lt;/span&gt; {
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#ff7b72&#34;&gt;margin&lt;/span&gt;: &lt;span style=&#34;color:#a5d6ff&#34;&gt;0&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#7ee787&#34;&gt;blockquote&lt;/span&gt; &lt;span style=&#34;color:#7ee787&#34;&gt;cite&lt;/span&gt; {
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#ff7b72&#34;&gt;display&lt;/span&gt;: &lt;span style=&#34;color:#79c0ff&#34;&gt;block&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#ff7b72&#34;&gt;margin-top&lt;/span&gt;: &lt;span style=&#34;color:#a5d6ff&#34;&gt;0.75&lt;/span&gt;&lt;span style=&#34;color:#ff7b72&#34;&gt;rem&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#7ee787&#34;&gt;blockquote&lt;/span&gt; &lt;span style=&#34;color:#7ee787&#34;&gt;cite&lt;/span&gt;::&lt;span style=&#34;color:#d2a8ff;font-weight:bold&#34;&gt;before&lt;/span&gt; {
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#ff7b72&#34;&gt;content&lt;/span&gt;: &lt;span style=&#34;color:#a5d6ff&#34;&gt;&amp;#34;\2014&amp;#34;&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id=&#34;table&#34;&gt;Table&lt;/h2&gt;
&lt;p&gt;Just some minimal table styling, background color for odd rows and paddings on table cells. Oh, and allowing horizontal scroll on mobile devices. Don&amp;rsquo;t forget the lining numerals, as well! Here it is:&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Style&lt;/th&gt;
&lt;th&gt;Example&lt;/th&gt;
&lt;th&gt;Usage&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Hyphen (-)&lt;/td&gt;
&lt;td&gt;sugar-free&lt;/td&gt;
&lt;td&gt;For compound words and syllable breaks&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;En dash (–)&lt;/td&gt;
&lt;td&gt;9–5 workday&lt;/td&gt;
&lt;td&gt;For ranges, scores, and relationships&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Em dash (—)&lt;/td&gt;
&lt;td&gt;The cake—it was delicious&lt;/td&gt;
&lt;td&gt;For breaks in thought, attribution, emphasis&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#c9d1d9;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-css&#34; data-lang=&#34;css&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#7ee787&#34;&gt;table&lt;/span&gt; {
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#ff7b72&#34;&gt;width&lt;/span&gt;: &lt;span style=&#34;color:#a5d6ff&#34;&gt;100&lt;/span&gt;&lt;span style=&#34;color:#ff7b72&#34;&gt;%&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#ff7b72&#34;&gt;min-width&lt;/span&gt;: &lt;span style=&#34;color:#a5d6ff&#34;&gt;34.5&lt;/span&gt;&lt;span style=&#34;color:#ff7b72&#34;&gt;rem&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#ff7b72&#34;&gt;margin&lt;/span&gt;: &lt;span style=&#34;color:#a5d6ff&#34;&gt;0&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;0&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;1.5&lt;/span&gt;&lt;span style=&#34;color:#ff7b72&#34;&gt;rem&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#ff7b72&#34;&gt;font-size&lt;/span&gt;: &lt;span style=&#34;color:#d2a8ff;font-weight:bold&#34;&gt;var&lt;/span&gt;(&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;--&lt;/span&gt;font&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;-&lt;/span&gt;size&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;-&lt;/span&gt;sm);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#ff7b72&#34;&gt;font-variant-numeric&lt;/span&gt;: lining-nums tabular-nums;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#ff7b72&#34;&gt;overflow-x&lt;/span&gt;: &lt;span style=&#34;color:#79c0ff&#34;&gt;auto&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#7ee787&#34;&gt;table&lt;/span&gt; &lt;span style=&#34;color:#7ee787&#34;&gt;tbody&lt;/span&gt; &lt;span style=&#34;color:#7ee787&#34;&gt;tr&lt;/span&gt;:&lt;span style=&#34;color:#d2a8ff;font-weight:bold&#34;&gt;nth-child&lt;/span&gt;&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;(&lt;/span&gt;&lt;span style=&#34;color:#7ee787&#34;&gt;odd&lt;/span&gt;&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;)&lt;/span&gt; {
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#ff7b72&#34;&gt;background&lt;/span&gt;: &lt;span style=&#34;color:#a5d6ff&#34;&gt;#eee&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#7ee787&#34;&gt;table&lt;/span&gt; &lt;span style=&#34;color:#7ee787&#34;&gt;th&lt;/span&gt; {
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#ff7b72&#34;&gt;padding&lt;/span&gt;: &lt;span style=&#34;color:#a5d6ff&#34;&gt;0.5&lt;/span&gt;&lt;span style=&#34;color:#ff7b72&#34;&gt;rem&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;1&lt;/span&gt;&lt;span style=&#34;color:#ff7b72&#34;&gt;rem&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#ff7b72&#34;&gt;color&lt;/span&gt;: &lt;span style=&#34;color:#d2a8ff;font-weight:bold&#34;&gt;var&lt;/span&gt;(&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;--&lt;/span&gt;&lt;span style=&#34;color:#79c0ff&#34;&gt;color&lt;/span&gt;&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;-&lt;/span&gt;&lt;span style=&#34;color:#79c0ff&#34;&gt;text&lt;/span&gt;&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;-&lt;/span&gt;highlight);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#7ee787&#34;&gt;table&lt;/span&gt; &lt;span style=&#34;color:#7ee787&#34;&gt;td&lt;/span&gt; {
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#ff7b72&#34;&gt;padding&lt;/span&gt;: &lt;span style=&#34;color:#a5d6ff&#34;&gt;0.5&lt;/span&gt;&lt;span style=&#34;color:#ff7b72&#34;&gt;rem&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;1&lt;/span&gt;&lt;span style=&#34;color:#ff7b72&#34;&gt;rem&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#ff7b72&#34;&gt;color&lt;/span&gt;: &lt;span style=&#34;color:#d2a8ff;font-weight:bold&#34;&gt;var&lt;/span&gt;(&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;--&lt;/span&gt;&lt;span style=&#34;color:#79c0ff&#34;&gt;color&lt;/span&gt;&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;-&lt;/span&gt;&lt;span style=&#34;color:#79c0ff&#34;&gt;text&lt;/span&gt;&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;-&lt;/span&gt;&lt;span style=&#34;color:#79c0ff&#34;&gt;default&lt;/span&gt;);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id=&#34;horizontal-rule&#34;&gt;Horizontal Rule&lt;/h2&gt;
&lt;p&gt;A purely stylistic choice, but I went with a dotted &lt;code&gt;hr&lt;/code&gt;. Here&amp;rsquo;s how I styled it:&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;compare-hr.webp&#34; alt=&#34;Compare: Horizontal Rule&#34;&gt;&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#c9d1d9;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-css&#34; data-lang=&#34;css&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#7ee787&#34;&gt;hr&lt;/span&gt; {
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;	&lt;span style=&#34;color:#ff7b72&#34;&gt;margin&lt;/span&gt;: calc(&lt;span style=&#34;color:#a5d6ff&#34;&gt;2.5&lt;/span&gt;&lt;span style=&#34;color:#ff7b72&#34;&gt;rem&lt;/span&gt; &lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;-&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;1&lt;/span&gt;&lt;span style=&#34;color:#ff7b72&#34;&gt;px&lt;/span&gt;) &lt;span style=&#34;color:#a5d6ff&#34;&gt;0&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;2.5&lt;/span&gt;&lt;span style=&#34;color:#ff7b72&#34;&gt;rem&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;	&lt;span style=&#34;color:#ff7b72&#34;&gt;background&lt;/span&gt;: repeating-linear-gradient(
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;		&lt;span style=&#34;color:#79c0ff&#34;&gt;to&lt;/span&gt; &lt;span style=&#34;color:#79c0ff&#34;&gt;right&lt;/span&gt;,
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;		&lt;span style=&#34;color:#a5d6ff&#34;&gt;#000&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;0&lt;/span&gt;,
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;		&lt;span style=&#34;color:#a5d6ff&#34;&gt;#000&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;1&lt;/span&gt;&lt;span style=&#34;color:#ff7b72&#34;&gt;px&lt;/span&gt;,
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;		&lt;span style=&#34;color:#79c0ff&#34;&gt;transparent&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;1&lt;/span&gt;&lt;span style=&#34;color:#ff7b72&#34;&gt;px&lt;/span&gt;,
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;		&lt;span style=&#34;color:#79c0ff&#34;&gt;transparent&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;4&lt;/span&gt;&lt;span style=&#34;color:#ff7b72&#34;&gt;px&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;	);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id=&#34;pre-formatted-text--code&#34;&gt;Pre-Formatted Text &amp;amp; Code&lt;/h2&gt;
&lt;p&gt;I&amp;rsquo;m using hugo&amp;rsquo;s in-built support for these formats, with the &lt;em&gt;github&lt;/em&gt; syntax theme. This post is really code-heavy, so you can&amp;rsquo;t really miss these. Still, I wanted to bring the monospaced font closer to the body font, so let me show you how I&amp;rsquo;ve made use of &lt;em&gt;JetBrains Mono&amp;rsquo;s&lt;/em&gt; stylistic alternates:&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;compare-code.webp&#34; alt=&#34;Compare: Pre &amp;amp; Code&#34;&gt;&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#c9d1d9;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-css&#34; data-lang=&#34;css&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#7ee787&#34;&gt;pre&lt;/span&gt;&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#7ee787&#34;&gt;pre&lt;/span&gt; &lt;span style=&#34;color:#7ee787&#34;&gt;code&lt;/span&gt; {
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#ff7b72&#34;&gt;font-size&lt;/span&gt;: &lt;span style=&#34;color:#d2a8ff;font-weight:bold&#34;&gt;var&lt;/span&gt;(&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;--&lt;/span&gt;font&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;-&lt;/span&gt;size&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;-&lt;/span&gt;xs);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#ff7b72&#34;&gt;line-height&lt;/span&gt;: &lt;span style=&#34;color:#a5d6ff&#34;&gt;1.6666666667&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#7ee787&#34;&gt;pre&lt;/span&gt;&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#7ee787&#34;&gt;code&lt;/span&gt; {
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#ff7b72&#34;&gt;font-family&lt;/span&gt;: &lt;span style=&#34;color:#d2a8ff;font-weight:bold&#34;&gt;var&lt;/span&gt;(&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;--&lt;/span&gt;font&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;-&lt;/span&gt;mono);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#ff7b72&#34;&gt;font-feature-settings&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#a5d6ff&#34;&gt;&amp;#34;cv03&amp;#34;&lt;/span&gt; &lt;span style=&#34;color:#79c0ff&#34;&gt;on&lt;/span&gt;, &lt;span style=&#34;color:#8b949e;font-style:italic&#34;&gt;/* alternate g */&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#a5d6ff&#34;&gt;&amp;#34;cv11&amp;#34;&lt;/span&gt; &lt;span style=&#34;color:#79c0ff&#34;&gt;on&lt;/span&gt;, &lt;span style=&#34;color:#8b949e;font-style:italic&#34;&gt;/* alternate y */&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#a5d6ff&#34;&gt;&amp;#34;cv12&amp;#34;&lt;/span&gt; &lt;span style=&#34;color:#79c0ff&#34;&gt;on&lt;/span&gt;, &lt;span style=&#34;color:#8b949e;font-style:italic&#34;&gt;/* alternate u */&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#a5d6ff&#34;&gt;&amp;#34;cv14&amp;#34;&lt;/span&gt; &lt;span style=&#34;color:#79c0ff&#34;&gt;on&lt;/span&gt;, &lt;span style=&#34;color:#8b949e;font-style:italic&#34;&gt;/* alternate $ */&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#a5d6ff&#34;&gt;&amp;#34;cv18&amp;#34;&lt;/span&gt; &lt;span style=&#34;color:#79c0ff&#34;&gt;on&lt;/span&gt;, &lt;span style=&#34;color:#8b949e;font-style:italic&#34;&gt;/* alternate 2, 6, and 9 */&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#a5d6ff&#34;&gt;&amp;#34;cv20&amp;#34;&lt;/span&gt; &lt;span style=&#34;color:#79c0ff&#34;&gt;on&lt;/span&gt;; &lt;span style=&#34;color:#8b949e;font-style:italic&#34;&gt;/* alternate 5 */&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#ff7b72&#34;&gt;font-weight&lt;/span&gt;: &lt;span style=&#34;color:#a5d6ff&#34;&gt;500&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#7ee787&#34;&gt;pre&lt;/span&gt; {
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#ff7b72&#34;&gt;overflow-x&lt;/span&gt;: &lt;span style=&#34;color:#79c0ff&#34;&gt;auto&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#79c0ff&#34;&gt;-webkit-&lt;/span&gt;overflow-scrolling: touch;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#ff7b72&#34;&gt;margin&lt;/span&gt;: &lt;span style=&#34;color:#a5d6ff&#34;&gt;0&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;0&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;1.5&lt;/span&gt;&lt;span style=&#34;color:#ff7b72&#34;&gt;rem&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#ff7b72&#34;&gt;padding&lt;/span&gt;: &lt;span style=&#34;color:#a5d6ff&#34;&gt;1.5&lt;/span&gt;&lt;span style=&#34;color:#ff7b72&#34;&gt;rem&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#ff7b72&#34;&gt;border-radius&lt;/span&gt;: &lt;span style=&#34;color:#a5d6ff&#34;&gt;8&lt;/span&gt;&lt;span style=&#34;color:#ff7b72&#34;&gt;px&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#7ee787&#34;&gt;p&lt;/span&gt; &lt;span style=&#34;color:#7ee787&#34;&gt;code&lt;/span&gt; {
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#ff7b72&#34;&gt;padding&lt;/span&gt;: &lt;span style=&#34;color:#a5d6ff&#34;&gt;0&lt;/span&gt; &lt;span style=&#34;color:#a5d6ff&#34;&gt;0.25&lt;/span&gt;&lt;span style=&#34;color:#ff7b72&#34;&gt;rem&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#ff7b72&#34;&gt;background&lt;/span&gt;: &lt;span style=&#34;color:#a5d6ff&#34;&gt;#eaeaea&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#ff7b72&#34;&gt;border-radius&lt;/span&gt;: &lt;span style=&#34;color:#a5d6ff&#34;&gt;4&lt;/span&gt;&lt;span style=&#34;color:#ff7b72&#34;&gt;px&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#ff7b72&#34;&gt;font-size&lt;/span&gt;: &lt;span style=&#34;color:#d2a8ff;font-weight:bold&#34;&gt;var&lt;/span&gt;(&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;--&lt;/span&gt;font&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;-&lt;/span&gt;size&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;-&lt;/span&gt;sm);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#ff7b72&#34;&gt;line-height&lt;/span&gt;: &lt;span style=&#34;color:#a5d6ff&#34;&gt;1.6666666667&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id=&#34;emojis-sure-&#34;&gt;Emojis? Sure! 🤘😁&lt;/h2&gt;
&lt;p&gt;Hugo has a built-in emoji support. I don&amp;rsquo;t use them much, but hey, I&amp;rsquo;m keeping my options open. Just open a &lt;code&gt;hugo.toml&lt;/code&gt; config file and add:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#c9d1d9;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-toml&#34; data-lang=&#34;toml&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;enableEmoji = &lt;span style=&#34;color:#79c0ff&#34;&gt;true&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id=&#34;fleuron&#34;&gt;Fleuron&lt;/h2&gt;
&lt;p&gt;A small touch — I added a &lt;a href=&#34;https://en.wikipedia.org/wiki/Fleuron_%28typography%29&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;fleuron&lt;/a&gt; at the end of each post. Lovin&amp;rsquo; it.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#c9d1d9;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-html&#34; data-lang=&#34;html&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&amp;lt;&lt;span style=&#34;color:#7ee787&#34;&gt;span&lt;/span&gt; class&lt;span style=&#34;color:#ff7b72;font-weight:bold&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#a5d6ff&#34;&gt;&amp;#34;fleuron&amp;#34;&lt;/span&gt;&amp;gt;&lt;span style=&#34;color:#ffa657&#34;&gt;&amp;amp;#10087;&lt;/span&gt;&amp;lt;/&lt;span style=&#34;color:#7ee787&#34;&gt;span&lt;/span&gt;&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;hr&gt;
&lt;p&gt;With this, I think that I&amp;rsquo;ve done enough to make this site more readable. Here&amp;rsquo;s how the homepage looks like right now:&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;website-2025-05-08.webp&#34; alt=&#34;milosjeremic.com&#34;&gt;&lt;/p&gt;
&lt;p&gt;There are a few more nuances I&amp;rsquo;m thinking about, but I&amp;rsquo;ll focus on more important things next: &lt;a href=&#34;https://milosjeremic.com/blog/constructing-grid/&#34;&gt;grids&lt;/a&gt;, then &lt;a href=&#34;https://milosjeremic.com/blog/back-in-black/&#34;&gt;color&lt;/a&gt;.&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>Typography II: Type Scale Blues</title>
      <link>https://milosjeremic.com/blog/type-scale-blues/</link>
      <pubDate>Wed, 07 May 2025 17:48:20 +0200</pubDate>
      
      <guid>https://milosjeremic.com/blog/type-scale-blues/</guid>
      <description>&lt;p&gt;&lt;em&gt;Previously, in &lt;a href=&#34;https://milosjeremic.com/blog/typeface-selection/&#34;&gt;Typography I: Typeface Selection&lt;/a&gt;: Interestingly, FF Real is featured on a poster in my moodboard that says “Design will save the world. Just after Rock&amp;amp;Roll does.” – and I often tend to grab a guitar to play some blues and rock music while taking a break from the design work. Maybe, subconsciously, that’s why it speaks to me?&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;I always found myself amused working with the type scales. There&amp;rsquo;s a fascinating relationship between typographic scales and music – they both rely on mathematical ratios to create harmony.&lt;/p&gt;
&lt;p&gt;I’ll start with what looks good on mobile and consider bumping it up for larger screens once the layout is in place. That means starting with the browser default: 16px as the root.&lt;/p&gt;
&lt;p&gt;But wait, what if I try to implement the blues scale, and use the intervals from minor blues pentatonic for setting the type? The blues scale in music is a six-note scale often used in guitar solos. It&amp;rsquo;s raw, expressive, and slightly irregular, thanks to the addition of a &lt;em&gt;blue note&lt;/em&gt;. That&amp;rsquo;s the one that makes you go &amp;ldquo;uugh&amp;rdquo;. You don’t just hear it — you feel it. I thought: what if text could groove too?&lt;/p&gt;
&lt;p&gt;Yes — instead of chasing a perfect scale, let&amp;rsquo;s chase one with a soul! Here’s how the musical intervals translated into font sizes:&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Musical Note&lt;/th&gt;
&lt;th&gt;Size (px)&lt;/th&gt;
&lt;th&gt;Ratio&lt;/th&gt;
&lt;th&gt;Interval&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;td&gt;12.0&lt;/td&gt;
&lt;td&gt;0.75&lt;/td&gt;
&lt;td&gt;Perfect fifth below&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;♭7&lt;/td&gt;
&lt;td&gt;14.4&lt;/td&gt;
&lt;td&gt;0.9&lt;/td&gt;
&lt;td&gt;Minor seventh below&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Root&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;16.0&lt;/td&gt;
&lt;td&gt;1.0&lt;/td&gt;
&lt;td&gt;Base&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;♭3&lt;/td&gt;
&lt;td&gt;19.2&lt;/td&gt;
&lt;td&gt;1.2&lt;/td&gt;
&lt;td&gt;Minor third&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;td&gt;21.3&lt;/td&gt;
&lt;td&gt;1.333&lt;/td&gt;
&lt;td&gt;Perfect fourth&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;♭5&lt;/td&gt;
&lt;td&gt;22.4&lt;/td&gt;
&lt;td&gt;1.4&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Blue note&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;td&gt;24.0&lt;/td&gt;
&lt;td&gt;1.5&lt;/td&gt;
&lt;td&gt;Perfect fifth&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;♭7&lt;/td&gt;
&lt;td&gt;28.8&lt;/td&gt;
&lt;td&gt;1.8&lt;/td&gt;
&lt;td&gt;Minor seventh&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Root&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;32.0&lt;/td&gt;
&lt;td&gt;2.0&lt;/td&gt;
&lt;td&gt;Octave&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;♭3&lt;/td&gt;
&lt;td&gt;38.4&lt;/td&gt;
&lt;td&gt;2.4&lt;/td&gt;
&lt;td&gt;Minor third&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;td&gt;42.7&lt;/td&gt;
&lt;td&gt;2.667&lt;/td&gt;
&lt;td&gt;Perfect fourth&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;♭5&lt;/td&gt;
&lt;td&gt;44.8&lt;/td&gt;
&lt;td&gt;2.8&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Blue note&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;td&gt;48.0&lt;/td&gt;
&lt;td&gt;3.0&lt;/td&gt;
&lt;td&gt;Perfect fifth&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;♭7&lt;/td&gt;
&lt;td&gt;57.6&lt;/td&gt;
&lt;td&gt;3.6&lt;/td&gt;
&lt;td&gt;Minor seventh&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Root&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;64.0&lt;/td&gt;
&lt;td&gt;4.0&lt;/td&gt;
&lt;td&gt;Double octave&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;From there, I excluded the sizes too close to a blue note, and put together two subscales, one for the titles, and one for the body text. I lined them up on a nuanced 4px grid, for a fine vertical rhythm. Here they are, combined:&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;type-scale-blues.webp&#34; alt=&#34;Type Scale Blues&#34;&gt;&lt;/p&gt;
&lt;p&gt;To the eye, the method behind the scale might not stand out — but I like what’s underneath the letters. It adds a subtle rhythm that undoubtedly shapes the feel that I&amp;rsquo;m after. It makes me like its bytes one tiny bit more.&lt;/p&gt;
&lt;h2 id=&#34;play-the-scale&#34;&gt;Play the scale!&lt;/h2&gt;
&lt;p&gt;I put up a tiny script so you can actually &lt;em&gt;hear&lt;/em&gt; what I&amp;rsquo;ve been talking about! How does the font size sound? Click it! Give it a go!&lt;/p&gt;
&lt;iframe src=&#34;https://milosjeremic.com/blues-scale/&#34; width=&#34;100%&#34; height=&#34;80&#34; style=&#34;height: 80px&#34; frameborder=&#34;0&#34; title=&#34;Description for accessibility&#34;  loading=&#34;lazy&#34;&gt;&lt;/iframe&gt;

&lt;p&gt;Can you spot the blue note?&lt;/p&gt;
&lt;p&gt;As always, here&amp;rsquo;s how the site looks like right now:&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;website-2025-05-07.webp&#34; alt=&#34;milosjeremic.com&#34;&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;to be continued&amp;hellip;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;https://milosjeremic.com/blog/typography-styling/&#34;&gt;Typography III: Styling →&lt;/a&gt;&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>Typography I: Typeface Selection</title>
      <link>https://milosjeremic.com/blog/typeface-selection/</link>
      <pubDate>Mon, 05 May 2025 05:21:39 +0200</pubDate>
      
      <guid>https://milosjeremic.com/blog/typeface-selection/</guid>
      <description>&lt;p&gt;Letters will make or break a website. They are the medium that conveys a message. Setting the tone is crucial. Like the tone of a voice while speaking, the right typeface can provide more context to the text.&lt;/p&gt;
&lt;p&gt;Oliver Reichenstein famously wrote that &amp;ldquo;&lt;a href=&#34;https://ia.net/topics/the-web-is-all-about-typography-period&#34; rel=&#34;webmention&#34; target=&#34;_blank&#34;&gt;Web Design is 95% Typography&lt;/a&gt;&amp;rdquo;. I mean, look at this website, what else do you see?&lt;/p&gt;
&lt;blockquote&gt;
  
  
  
  &lt;p&gt;Text accumulates: letters become words, words become sentences, sentences become paragraphs. Each choice in the design of a letter gets repeated thousands of times in a block of text, so when it comes to reading, typeface selection goes the furthest in setting the visual atmosphere.&lt;/p&gt;
  
  
  &lt;cite&gt;
    
    &lt;a href=&#34;https://frankchimero.com/blog/2020/perfecta-trifecta/&#34; target=&#34;_blank&#34; rel=&#34;webmention&#34;&gt;Frank Chimero&lt;/a&gt;
    
  &lt;/cite&gt;
&lt;/blockquote&gt;

&lt;p&gt;This will not be a &amp;ldquo;how to choose a typeface&amp;rdquo; guide, I will do this based on my instincts and style entirely. All of the choices will be subjective, and may not even reflect the best practices.&lt;/p&gt;
&lt;h2 id=&#34;moodboard&#34;&gt;Moodboard&lt;/h2&gt;
&lt;p&gt;Let&amp;rsquo;s find a catalyst. What kind of &lt;em&gt;feel&lt;/em&gt; do I want in a typeface? For this, I decided not to open my browser, not even once. Finding new resources and inspiration will only fuel my curiosity, and I&amp;rsquo;ll end up trying out new typefaces for days, possibly with no purpose. I turned to my hard drive instead, counting that all of the screenshots I&amp;rsquo;ve collected over the years should speak through the site. Any new finds would possibly be remixes of what I already have.&lt;/p&gt;
&lt;p&gt;If the people you spend the most time with shape who you are, maybe you should let the designs you admire shape your website?&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;type-moodboard_neue.webp&#34; alt=&#34;Type Moodboard&#34;&gt;&lt;/p&gt;
&lt;p&gt;Going through the designs I like always brings joy to my day. Unsurprisingly, there&amp;rsquo;re a lot of swiss design typographic posters, works done and inspired by design greats such as Armin Hoffman, but there&amp;rsquo;re also some Dribbble shots, screenshots old &amp;amp; new&amp;hellip; Even some old records from my father. I quickly pulled out all that made me think &amp;ldquo;I wouldn&amp;rsquo;t mind if my website felt that way&amp;rdquo;.&lt;/p&gt;
&lt;p&gt;And if we focus on the letters, and look for the least common denominator&amp;hellip; it&amp;rsquo;s mostly sans-serif fonts. And more specifically, neo-grotesque fonts. So dominant even, that I couldn&amp;rsquo;t stop wondering: Where are the serifs?&lt;/p&gt;
&lt;p&gt;Funny realization: I always loved and preferred serif fonts for long-form text. But, I didn&amp;rsquo;t screenshot them. I read serif text, I select and copy it, but rarely take a screenshot. Although some might perceive serifs as decorative, a well-designed ones flawlessly guide our eyes, while staying away from the spotlight, and I think that this speaks for their functional character.&lt;/p&gt;
&lt;h2 id=&#34;what-id-like&#34;&gt;What I&amp;rsquo;d Like&lt;/h2&gt;
&lt;p&gt;While looking closely at the letterforms for years, I developed a certain taste, maybe more of a preference, and I wrote down a few characteristics that I&amp;rsquo;d like to see in a typeface on this website:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;It should have a fairly large x-height for better legibility.&lt;/li&gt;
&lt;li&gt;It should have nice, true italics. I&amp;rsquo;m a sucker for good italics.&lt;/li&gt;
&lt;li&gt;It should have special characters, such as &amp;ldquo;š&amp;rdquo; and &amp;ldquo;ć&amp;rdquo;, for my name. Some supporting ones, such as &amp;ldquo;→&amp;rdquo; would be cool.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;To go nicely with the logo, which is curved, decorative and open:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;I would prefer round punctuation (for &amp;ldquo;i&amp;rdquo;, &amp;ldquo;.&amp;rdquo;, etc.).&lt;/li&gt;
&lt;li&gt;I would prefer more open, wide apertures in letters such as &amp;ldquo;c&amp;rdquo; or &amp;ldquo;e&amp;rdquo;.&lt;/li&gt;
&lt;li&gt;I would prefer double-storey &amp;ldquo;a&amp;rdquo; and &amp;ldquo;g&amp;rdquo;, to get a more &lt;em&gt;serify&lt;/em&gt; look.&lt;/li&gt;
&lt;li&gt;I would prefer non-linear descender terminals, with curved tails, in letters such as &amp;ldquo;y&amp;rdquo; and &amp;ldquo;j&amp;rdquo;.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img src=&#34;font-eina.webp&#34; alt=&#34;Eina Font&#34;&gt;&lt;/p&gt;
&lt;p&gt;If you&amp;rsquo;re unfamiliar with letter character nuances, &lt;a href=&#34;https://extratype.com/fonts/eina&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;Extratype&#39;s Eina&lt;/a&gt; promo image is a good illustration of what I&amp;rsquo;m talking about. In short, some fonts allow you to choose alternate characters. Eina is a bit too geometric for what I&amp;rsquo;m aiming at, though.&lt;/p&gt;
&lt;p&gt;It should also work on buttons and other UI elements, and most importantly, it should have a &lt;em&gt;personality&lt;/em&gt;. What does it mean? I don&amp;rsquo;t know, but I&amp;rsquo;ll know when I see it. What I know is that while, as many designers, I know &lt;a href=&#34;https://rsms.me/inter/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;Inter&lt;/a&gt; inside-out and I love it — it&amp;rsquo;ll hardly give this site any personality. I&amp;rsquo;m looking for something a little less generic, a little bolder, a little more peculiar, while still confident.&lt;/p&gt;
&lt;h2 id=&#34;typefaces&#34;&gt;Typefaces&lt;/h2&gt;
&lt;p&gt;OK, now that I have a pretty clear idea of what I&amp;rsquo;m looking for. But, all technicalities aside, until I see an example of a running text, I can&amp;rsquo;t absorb the &amp;ldquo;feel&amp;rdquo;. I&amp;rsquo;ll dig through fonts that I&amp;rsquo;ve collected over the years and start looking at the families that might align with some of my wishes from the above.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;typefaces-lab-atkinson.webp&#34; alt=&#34;Lab Grotesque &amp;amp; Atkinson Hyperlegible Next&#34;&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Lab Grotesque&lt;/strong&gt; has a really nice look. In my eyes, it&amp;rsquo;s like Helvetica and Proxima Nova had a child. The weight, the proportions, everything sits nicely. It lacks double-storey g, but it&amp;rsquo;s not a big deal, since everything else is in place. I really like it.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Atkinson Hyperlegible Next&lt;/strong&gt; is designed by Braille Institute to improve readability for individuals with low vision. Letters are highly distinctive and it&amp;rsquo;s another excellent font that I like.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;typefaces-real-mona.webp&#34; alt=&#34;FF Real &amp;amp; Mona&#34;&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;FF Real&lt;/strong&gt; is actually a superfamily – with two different typefaces: Real Head and Real Text. It&amp;rsquo;s designed by a legendary typographer, Erik Spiekermann. I quite like it, it ticks every box from the wishlist, including the most beautiful italics out of all. Maybe I&amp;rsquo;d like it to have a little lighter regular weight, something more similar to the first two.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Mona Sans&lt;/strong&gt; by GitHub has too much of an industrial look for my taste. I also don&amp;rsquo;t like the regular weight, although it has a variable version. But I just don&amp;rsquo;t feel it as a voice of this site.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;typefaces-libre-radio.webp&#34; alt=&#34;Libre Franklin &amp;amp; Radio Canada Big&#34;&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Libre Franklin&lt;/strong&gt; invokes similar feels to Mona Sans, but for different reasons – it&amp;rsquo;s optical quirks are giving me an old-style vibes. Maybe its derivate, Public Sans, may be closer to what I&amp;rsquo;m looking for?&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Radio Canada Big&lt;/strong&gt; looks nice at first, but it&amp;rsquo;s less legible for long-form text, has a single-storey &amp;ldquo;g&amp;rdquo; only and faux italics. Nothing strange, since it&amp;rsquo;s designed for large text, but I still wanted to give it a go.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;typefaces-schibsted-usual.webp&#34; alt=&#34;Schibsted Grotesk &amp;amp; Usual&#34;&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Schibsted Grotesk&lt;/strong&gt; is another highly legible typeface, but I find some features not in line with my idea for the site, like the big dot on &amp;ldquo;i&amp;rdquo; or a really large x-height.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Usual&lt;/strong&gt; also has a large x-height. It is imagined as a utilitarian typeface, and it shows. What I stated for Inter before applies here, as well. I want a bit more quirkyness.&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;Based on these observations, the choice narrows down to Lab Grotesque, Atkinson Hyperlegible Next or FF Real family.&lt;/p&gt;
&lt;p&gt;I think that I can&amp;rsquo;t really go wrong here. They all have a personality. On a closer look, here&amp;rsquo;s what I&amp;rsquo;m thinking:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;If I went for beauty, I&amp;rsquo;d go with Lab Grotesque&lt;/li&gt;
&lt;li&gt;If I went for legibility, I&amp;rsquo;d go with Atkinson Hyperlegible Next&lt;/li&gt;
&lt;li&gt;FF Real sits in between the two, so&amp;hellip;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The choice falls down to FF Real. At least for now. I&amp;rsquo;m keeping my mind open to changing the typefaces on this website. Maybe Lab Grotesque will work better if I go with a dark mode? Maybe I&amp;rsquo;ll decrease the font-size and go with Atkinson Hyperlegible? Maybe I&amp;rsquo;ll find a new typeface I like, or maybe I&amp;rsquo;ll have a sudden change of heart and go with a serif typeface? All is &lt;a href=&#34;https://milosjeremic.com/blog/personal-website/&#34;&gt;prone to change&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;This is how the website looks with the new fonts in place:&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;website-2025-05-05.webp&#34; alt=&#34;milosjeremic.com 2025-05-05&#34;&gt;&lt;/p&gt;
&lt;p&gt;Interestingly, FF Real is featured on a poster in my moodboard that says &lt;em&gt;&amp;ldquo;Design will save the world. Just after Rock&amp;amp;Roll does.&amp;rdquo;&lt;/em&gt; – and I often tend to grab a guitar to play some blues and rock music while taking a break from the design work. Maybe, subconsciously, that&amp;rsquo;s why it speaks to me?&lt;/p&gt;
&lt;p&gt;&lt;em&gt;to be continued&amp;hellip;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;https://milosjeremic.com/blog/type-scale-blues/&#34;&gt;Typography Part II: Type Scale Blues →&lt;/a&gt;&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>Choosing a Tech Stack</title>
      <link>https://milosjeremic.com/blog/choosing-tech-stack/</link>
      <pubDate>Fri, 02 May 2025 23:15:16 +0200</pubDate>
      
      <guid>https://milosjeremic.com/blog/choosing-tech-stack/</guid>
      <description>&lt;p&gt;How to build a website in 2025? Being preoccupied with Product Design, I haven&amp;rsquo;t really been coding websites from scratch in a few years. Things have changed, new technologies, techniques and practices have emerged. I rolled up my sleeves and made some time to explore and re-learn, so I can figure out what&amp;rsquo;s best for my use case.&lt;/p&gt;
&lt;p&gt;Choosing what to build with is important, and making the right bets will affect every step of the way.&lt;/p&gt;
&lt;blockquote&gt;
  
  
  
  &lt;p&gt;We shape our tools and thereafter our tools shape us.&lt;/p&gt;
  
  
  &lt;cite&gt;
    
    John M. Culkin
    
  &lt;/cite&gt;
&lt;/blockquote&gt;

&lt;h2 id=&#34;previous-experience&#34;&gt;Previous Experience&lt;/h2&gt;
&lt;p&gt;In the beginning of my career, I was working as a &lt;a href=&#34;https://bradfrost.com/blog/post/front-of-the-front-end-and-back-of-the-front-end-web-development/&#34; rel=&#34;webmention&#34; target=&#34;_blank&#34;&gt;front of the front-end&lt;/a&gt; developer as much as a designer. I know &lt;span class=&#34;small-caps&#34;&gt;HTML&lt;/span&gt; and &lt;span class=&#34;small-caps&#34;&gt;CSS&lt;/span&gt; very well, and I&amp;rsquo;m familiar with JavaScript and &lt;span class=&#34;small-caps&#34;&gt;PHP&lt;/span&gt;. I&amp;rsquo;ve built my fair share of websites and plugins with different &lt;span class=&#34;small-caps&#34;&gt;CMS&lt;/span&gt;s, most notably &lt;a href=&#34;https://wordpress.org/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;WordPress&lt;/a&gt;, but &lt;a href=&#34;https://new.drupal.org/home&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;Drupal&lt;/a&gt;, &lt;a href=&#34;https://prestashop.com/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;PrestaShop&lt;/a&gt;, and even a social network in &lt;a href=&#34;https://elgg.org/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;elgg&lt;/a&gt;, as well.&lt;/p&gt;
&lt;h2 id=&#34;no-code-tools&#34;&gt;No-Code Tools&lt;/h2&gt;
&lt;p&gt;When I got my first computer as a kid, before diving into coding, I was playing around with FrontPage and DreamWeaver. Recent popularity of tools such as &lt;a href=&#34;https://www.wix.com/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;Wix&lt;/a&gt; and &lt;a href=&#34;https://webflow.com/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;Webflow&lt;/a&gt; reminded me of that &lt;span class=&#34;small-caps&#34;&gt;WYSIWYG&lt;/span&gt; era. But &lt;a href=&#34;https://framer.com/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;Framer&lt;/a&gt; is the one that actually convinced me that no-code tools might have some advantages over the more traditional techniques in some use cases. And it&amp;rsquo;s fun to work with.&lt;/p&gt;
&lt;p&gt;Still, one of the values that I wrote down in the previous post was that this site should be handcrafted. I like the idea of knowing it inside and out, having a fine-grained control, and I&amp;rsquo;d like to code some more, so these are the options I quickly moved on from.&lt;/p&gt;
&lt;h2 id=&#34;content-management-system&#34;&gt;Content Management System&lt;/h2&gt;
&lt;p&gt;Naturally, WordPress comes to mind first for two reasons: I had experience with it, and it&amp;rsquo;s still the most widespread &lt;span class=&#34;small-caps&#34;&gt;CMS&lt;/span&gt; out there, so the support is great, as well as plugin ecosystem. But as I installed it, I couldn&amp;rsquo;t help but notice how bloated and over-featured it has become, for a personal site at least. I wanted something simpler and faster.&lt;/p&gt;
&lt;p&gt;After some research, I found some compelling options that I really liked. &lt;a href=&#34;https://expressionengine.com/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;ExpressionEngine&lt;/a&gt;, &lt;a href=&#34;https://getkirby.com/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;Kirby &lt;span class=&#34;small-caps&#34;&gt;CMS&lt;/span&gt;&lt;/a&gt;, &lt;a href=&#34;https://craftcms.com/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;Craft &lt;span class=&#34;small-caps&#34;&gt;CMS&lt;/span&gt;&lt;/a&gt; and &lt;a href=&#34;https://statamic.com/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;statamic&lt;/a&gt;, to name a few. So I spun up a few local web servers via &lt;a href=&#34;https://indigostack.app/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;IndigoStack&lt;/a&gt; (a neat &lt;span class=&#34;small-caps&#34;&gt;MAMP&lt;/span&gt; replacement tool), and gave them all a proper go. They&amp;rsquo;re all awesome in their manner, but out of the bunch, I liked Kirby so much that I instantly bought a license. It&amp;rsquo;s a flat-file &lt;span class=&#34;small-caps&#34;&gt;CMS&lt;/span&gt; that so easy and logical to customize and use, it almost feels like you&amp;rsquo;ve built it yourself from the ground up. It&amp;rsquo;s delightful, and I&amp;rsquo;m amazed.&lt;/p&gt;
&lt;h2 id=&#34;static-site-generators&#34;&gt;Static Site Generators&lt;/h2&gt;
&lt;p&gt;With flat-file &lt;span class=&#34;small-caps&#34;&gt;CMS&lt;/span&gt; the need for managing databases was gone, but what if I can eliminate the need for managed servers, too? I started thinking about static site generators. Never really used one before. There are plugins for all of the &lt;span class=&#34;small-caps&#34;&gt;CMS&lt;/span&gt;s above that generate static sites with a click of a button, but I wanted to try the real deal.&lt;/p&gt;
&lt;p&gt;I love writing in markdown, and I&amp;rsquo;ve been using it for years to take notes. Since most of the &lt;span class=&#34;small-caps&#34;&gt;SSG&lt;/span&gt;s leverage &lt;code&gt;.md&lt;/code&gt; files for content writing, I had no problem with having no &lt;span class=&#34;small-caps&#34;&gt;UI&lt;/span&gt; to manage it. On the contrary.&lt;/p&gt;
&lt;p&gt;After a bit of research, I narrowed down what seemed like an infinite list of considerations, to four candidates: &lt;a href=&#34;https://www.11ty.dev/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;11ty&lt;/a&gt;, &lt;a href=&#34;https://astro.build/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;Astro&lt;/a&gt;, &lt;a href=&#34;https://gohugo.io/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;Hugo&lt;/a&gt; and &lt;a href=&#34;https://jekyllrb.com/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;Jekyll&lt;/a&gt;. I went through the docs of each, and while Astro got a lot of points for the looks (yes, I know) and the islands architecture, Hugo seemed hands down the fastest, and with least prerequisites. I got up to speed with it really quickly and haven&amp;rsquo;t looked back.&lt;/p&gt;
&lt;h2 id=&#34;version-control&#34;&gt;Version Control&lt;/h2&gt;
&lt;p&gt;Not much to say here, I was the most comfortable with &lt;a href=&#34;https://github.com/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;GitHub&lt;/a&gt; already, and after taking another look at &lt;a href=&#34;https://gitlab.com/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;GitLab&lt;/a&gt; and &lt;a href=&#34;https://bitbucket.org/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;Bitbucket&lt;/a&gt;, I decided that I should stick with the familiar one.&lt;/p&gt;
&lt;h2 id=&#34;hosting&#34;&gt;Hosting&lt;/h2&gt;
&lt;p&gt;For the most of its 5000 days of age, this website has been on a shared hosting. This time around, I was determined to change that. While I was moving forward with Kirby, I explored some &lt;span class=&#34;small-caps&#34;&gt;VPS&lt;/span&gt;, cloud and dedicated solutions. Since I don&amp;rsquo;t have an experience managing DigitalOcean droplets, &lt;a href=&#34;https://www.cloudways.com/en/&#34;&gt;Cloudways&lt;/a&gt; seemed like a good way to go.&lt;/p&gt;
&lt;p&gt;But as I moved on to static site generators and removed the need for server management, I started looking into &lt;span class=&#34;small-caps&#34;&gt;JAM&lt;/span&gt;stack solutions such as &lt;a href=&#34;https://pages.github.com/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;GitHub Pages&lt;/a&gt;, &lt;a href=&#34;https://vercel.com/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;Vercel&lt;/a&gt; and &lt;a href=&#34;https://www.netlify.com/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;Netlify&lt;/a&gt;. That&amp;rsquo;s when I stumbled upon &lt;a href=&#34;https://pages.cloudflare.com/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;Cloudflare Pages&lt;/a&gt; that won me over with their generous, unlimited bandwidth free plan, and a reliable &lt;span class=&#34;small-caps&#34;&gt;CDN&lt;/span&gt;.&lt;/p&gt;
&lt;h2 id=&#34;analytics&#34;&gt;Analytics&lt;/h2&gt;
&lt;p&gt;Thought that I&amp;rsquo;d step away from Google Analytics in this instance, and find a more privacy-friendly and more focused tool, such as &lt;a href=&#34;https://usefathom.com&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;Fathom&lt;/a&gt;, &lt;a href=&#34;https://plausible.io&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;Plausible&lt;/a&gt; or &lt;a href=&#34;https://umami.is&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;Umami&lt;/a&gt;. Umami has a free Hobby plan, so that&amp;rsquo;s probably where I&amp;rsquo;ll be starting. Cloudflare Pages offers some analytics services too, so I&amp;rsquo;ll probably switch between the two to see what fits my (really basic) needs.&lt;/p&gt;
&lt;h2 id=&#34;final-stack&#34;&gt;Final Stack&lt;/h2&gt;
&lt;p&gt;In the end, I feel like a few years ago there was a lot less things to care about when it comes to building and deploying. Nevertheless, all of the tools and products I&amp;rsquo;ve mentioned have their advantages and deserve  attention, and probably a separate in-depth posts. But, as I&amp;rsquo;ve tried to evaluate what suits me and this website the best, here&amp;rsquo;s the final stack:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Technologies: &lt;span class=&#34;small-caps&#34;&gt;HTML&lt;/span&gt;, &lt;span class=&#34;small-caps&#34;&gt;CSS&lt;/span&gt;, JavaScript and Markdown&lt;/li&gt;
&lt;li&gt;Content Management: Hugo &lt;span class=&#34;small-caps&#34;&gt;SSG&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Version Control: GitHub&lt;/li&gt;
&lt;li&gt;Hosting: Cloudflare Pages&lt;/li&gt;
&lt;li&gt;Analytics: Umami&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Oh, and I&amp;rsquo;m using &lt;a href=&#34;https://zed.dev/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;Zed&lt;/a&gt; for coding. If you still haven&amp;rsquo;t, you should give it a go. It&amp;rsquo;s blazingly fast.&lt;/p&gt;
&lt;p&gt;All of the tools that I chose are free, performant, and easy to move forward with. With these in place, I can focus on the design next.&lt;/p&gt;
&lt;p&gt;Stay tuned.&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>What&#39;s a Personal Website, Anyway?</title>
      <link>https://milosjeremic.com/blog/personal-website/</link>
      <pubDate>Thu, 01 May 2025 05:19:31 +0200</pubDate>
      
      <guid>https://milosjeremic.com/blog/personal-website/</guid>
      <description>&lt;p&gt;This is a question that has been bugging me ever since I first connected to the world wide web.&lt;/p&gt;
&lt;h2 id=&#34;the-content&#34;&gt;The Content&lt;/h2&gt;
&lt;p&gt;At the heart of almost every website is what does it tell. So, in that sense, what &lt;em&gt;should&lt;/em&gt; a personal website tell?&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Is it a &lt;span class=&#34;small-caps&#34;&gt;CV&lt;/span&gt;, where you strengthen a personal brand and promote your work?&lt;/li&gt;
&lt;li&gt;Is it a meme gallery, where you post stuff you find funny?&lt;/li&gt;
&lt;li&gt;Is it just a playground, to test some stuff you have nowhere else to try?&lt;/li&gt;
&lt;li&gt;Is it a wiki, a repository of all of your interests and personalities scattered around the internet?&lt;/li&gt;
&lt;li&gt;Is it a public, digital notebook, a way to share your thoughts with the world?&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The struggle is, I feel like the answer to every question from the above is &amp;ldquo;yes&amp;rdquo;. Sure, you could say &amp;ldquo;depends on what you&amp;rsquo;d like to achieve&amp;rdquo;, so if you&amp;rsquo;re just looking for a job, you might make it a portfolio. But that&amp;rsquo;s not the point. What if you&amp;rsquo;d like to achieve all of the above?&lt;/p&gt;
&lt;p&gt;After all, there&amp;rsquo;s multiple versions of &amp;ldquo;me&amp;rdquo; for all of us. There&amp;rsquo;s me, a product designer. There&amp;rsquo;s me, a hobbyist music producer. There&amp;rsquo;s me, diggin into philosophy and minimalism. There&amp;rsquo;s me, a friend, a brother, a son, and a partner. There&amp;rsquo;s me, wanting to show you what I made. And there&amp;rsquo;s me, wanting to show you what I love about what others made. Of all of mes, whose website is this?&lt;/p&gt;
&lt;h2 id=&#34;a-quiet-signal&#34;&gt;A Quiet Signal&lt;/h2&gt;
&lt;p&gt;In a culture of noise, a personal website is a quiet but clear signal. It tells: &lt;em&gt;I care enough to carve out this space, to shape how I present myself, and to tell my story on my own terms.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;It shows initiative, clarity, and often a sense of craft.&lt;/p&gt;
&lt;p&gt;Whether you’re looking for clients, collaborators, or simply a place to express yourself, a personal site offers a focused, ad-free, and curated experience. You’re not just another avatar in a feed — you’re a person with ideas, interests, and intent. In a space shaped by you, and not the latest app update.&lt;/p&gt;
&lt;h2 id=&#34;the-style&#34;&gt;The Style&lt;/h2&gt;
&lt;blockquote&gt;
  
  
  
  &lt;p&gt;Imitation comes first, identity comes slow.
You learn the rules, then forget them.
Not to break them, but to make space for instinct.
Style is what remains when effort disappears.&lt;/p&gt;
  
  
  &lt;cite&gt;
    
    &lt;a href=&#34;https://www.instagram.com/p/DI2tP1LRCy3/&#34; target=&#34;_blank&#34; rel=&#34;webmention&#34;&gt;Jack Butcher&lt;/a&gt;
    
  &lt;/cite&gt;
&lt;/blockquote&gt;

&lt;ul&gt;
&lt;li&gt;Do you go default and satirical, like &lt;a href=&#34;https://www.ormanclark.com&#34; rel=&#34;webmention&#34; target=&#34;_blank&#34;&gt;Orman&lt;/a&gt;?&lt;/li&gt;
&lt;li&gt;Do you put up a whole timeline since the day you were born, like &lt;a href=&#34;https://colly.com&#34; rel=&#34;webmention&#34; target=&#34;_blank&#34;&gt;Simon&lt;/a&gt;?&lt;/li&gt;
&lt;li&gt;Do you splat your personality all over like &lt;a href=&#34;https://jackmcdade.com&#34; rel=&#34;webmention&#34; target=&#34;_blank&#34;&gt;Jack&lt;/a&gt; or &lt;a href=&#34;https://mikemcalister.com&#34; rel=&#34;webmention&#34; target=&#34;_blank&#34;&gt;Mike&lt;/a&gt;?&lt;/li&gt;
&lt;li&gt;Do you create interactive experiences like &lt;a href=&#34;http://www.rleonardi.com/interactive-resume/&#34; rel=&#34;webmention&#34; target=&#34;_blank&#34;&gt;Robby&lt;/a&gt; or &lt;a href=&#34;https://bruno-simon.com&#34; rel=&#34;webmention&#34; target=&#34;_blank&#34;&gt;Bruno&lt;/a&gt;?&lt;/li&gt;
&lt;li&gt;Do you create an app-like experience, where people can even sign in, like &lt;a href=&#34;https://brianlovin.com&#34; rel=&#34;webmention&#34; target=&#34;_blank&#34;&gt;Brian&lt;/a&gt;?&lt;/li&gt;
&lt;li&gt;Are you proud of your roots, like &lt;a href=&#34;https://designbyroka.com&#34; rel=&#34;webmention&#34; target=&#34;_blank&#34;&gt;Shawn&lt;/a&gt;?&lt;/li&gt;
&lt;li&gt;Do you go classic blog style, like &lt;a href=&#34;https://iamsteve.me&#34; rel=&#34;webmention&#34; target=&#34;_blank&#34;&gt;Steve&lt;/a&gt;? Or invest in zettelkasten, like &lt;a href=&#34;https://notes.andymatuschak.org&#34; rel=&#34;webmention&#34; target=&#34;_blank&#34;&gt;Andy&lt;/a&gt;?&lt;/li&gt;
&lt;li&gt;Do you show your work front and center, like &lt;a href=&#34;https://vanschneider.com&#34; rel=&#34;webmention&#34; target=&#34;_blank&#34;&gt;Tobias&lt;/a&gt;? Or you go in-depth, like &lt;a href=&#34;https://simonpan.com&#34; rel=&#34;webmention&#34; target=&#34;_blank&#34;&gt;Simon&lt;/a&gt;? Or you go beyond traditional portfolio, like &lt;a href=&#34;https://yannglt.com/&#34; rel=&#34;webmention&#34; target=&#34;_blank&#34;&gt;Yann&lt;/a&gt;?&lt;/li&gt;
&lt;li&gt;Do you tell a compelling one-page story, like &lt;a href=&#34;https://www.grujicic.com&#34; rel=&#34;webmention&#34; target=&#34;_blank&#34;&gt;Nenad&lt;/a&gt;?&lt;/li&gt;
&lt;li&gt;Do you go business card style, like &lt;a href=&#34;https://www.timvandamme.com&#34; rel=&#34;webmention&#34; target=&#34;_blank&#34;&gt;Tim&lt;/a&gt;? Or you embrace bento grids, like &lt;a href=&#34;https://www.poulos.co&#34; rel=&#34;webmention&#34; target=&#34;_blank&#34;&gt;Stefan&lt;/a&gt;?&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I could go on and on, there&amp;rsquo;re countless examples. Should it be your main public-facing brand image, neat and clean? Or should it be your digital backyard sandbox, in the constant state of half-brokenness?&lt;/p&gt;
&lt;p&gt;Once again, the answer is &amp;ldquo;yes&amp;rdquo; for all of the above.&lt;/p&gt;
&lt;p&gt;Sometimes, a website will have a personality of its own, and your personality will begin to be reflected a bit in it. Then more, and more, and more. I guess it&amp;rsquo;s best not to worry about it. It&amp;rsquo;ll come through.&lt;/p&gt;
&lt;h2 id=&#34;the-layout&#34;&gt;The Layout&lt;/h2&gt;
&lt;p&gt;One of the most important design decisions you can make is the one about the layout itself. Think about it. Instantly, when you look at a web page, you make assumptions. Look at the image below:&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;website-layouts.webp&#34; alt=&#34;Website Layouts&#34;&gt;&lt;/p&gt;
&lt;p&gt;Now tell me, which one of these is:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;A dashboard&lt;/li&gt;
&lt;li&gt;A social network&lt;/li&gt;
&lt;li&gt;A magazine or newspaper website&lt;/li&gt;
&lt;li&gt;An agency or a product landing page&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;How do you know?&lt;/p&gt;
&lt;p&gt;Now, look at the next image:&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;blog-layouts.webp&#34; alt=&#34;Blog Layouts&#34;&gt;&lt;/p&gt;
&lt;p&gt;Which blog are you more likely to remember? Which is more likely to stick with you? Do you think that it&amp;rsquo;s because of the layout?&lt;/p&gt;
&lt;p&gt;So, what&amp;rsquo;s a personal website&amp;rsquo;s layout? So far, you&amp;rsquo;re already guessing: I think that all of the answers could be correct.&lt;/p&gt;
&lt;h2 id=&#34;values--goals&#34;&gt;Values &amp;amp; Goals&lt;/h2&gt;
&lt;p&gt;The web is a living, breathing entity — constantly shifting, growing, and reshaping itself. Maybe our personal websites should be no different. Instead of boxing them into rigid definitions or fixed purposes, we can embrace flexibility and let them evolve with the web, and with us.&lt;/p&gt;
&lt;p&gt;Personal websites aren’t just some static snapshots of who we are today; they&amp;rsquo;re a dynamic reflection of who we are becoming. They provide a space that grows with our interests, ideas, and adapts to the changing rhythms of our lives.&lt;/p&gt;
&lt;p&gt;With that in mind, instead of trying to make it look like something, here are some guiding values I will hold close when building and evolving my own site:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Authenticity over perfection:&lt;/strong&gt; It’s better to show real, imperfect moments than to chase a flawless facade. There are no wrong answers.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Curiosity and experimentation:&lt;/strong&gt; Let the site be a playground where new ideas, formats, and styles can be tried without fear. Making and breaking it is encouraged.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Openness to change:&lt;/strong&gt; Allow the website to evolve naturally, reflecting new passions, skills, and stories as they emerge. It should be easy to update and maintain, portable, and flexible.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Intentional simplicity:&lt;/strong&gt; Focus on clarity and purpose, avoiding unnecessary noise or clutter.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Performance and accessibility:&lt;/strong&gt; Fast loading and usable by everyone, regardless of device or ability.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Embrace “&lt;a href=&#34;https://maggieappleton.com/garden-history&#34; rel=&#34;webmention&#34; target=&#34;_blank&#34;&gt;Digital Gardening&lt;/a&gt;”:&lt;/strong&gt; Nurture your content over time, pruning and growing as needed.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Cost efficiency:&lt;/strong&gt; Practicality matters; it should be sustainable without breaking the bank.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Personal connection:&lt;/strong&gt; Create a space that invites genuine interaction and shares a bit of who I am beyond the surface.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Balance of all selves:&lt;/strong&gt; Honor the many facets of identity — professional, creative, personal — without forcing them into neat categories.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Handcrafted:&lt;/strong&gt; A touch of personal care and craftsmanship that shines through the design and content can&amp;rsquo;t be ignored.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Ultimately, the goal isn’t to build the “perfect” website, but to craft a space that feels alive, meaningful, and true to the ongoing journey of self-expression.&lt;/p&gt;
&lt;p&gt;As I&amp;rsquo;m writing this, still barebones, &lt;strong&gt;this&lt;/strong&gt; is my personal website.&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>The Blank Canvas: A Website Genesis</title>
      <link>https://milosjeremic.com/blog/genesis/</link>
      <pubDate>Wed, 30 Apr 2025 17:00:00 +0200</pubDate>
      
      <guid>https://milosjeremic.com/blog/genesis/</guid>
      <description>&lt;p&gt;There&amp;rsquo;s some kind of an undisputed beauty in a plain &lt;span class=&#34;small-caps&#34;&gt;HTML&lt;/span&gt; page.&lt;/p&gt;
&lt;p&gt;It does everything a webpage is expected to do. It&amp;rsquo;s light as a feather. It&amp;rsquo;s natively responsive. It&amp;rsquo;s intuitive, focused and functional. Most importantly, it gets the point across.&lt;/p&gt;
&lt;p&gt;Many fear &amp;ldquo;The Blank Canvas&amp;rdquo;. Understandably, infinite choices can be paralyzing. Not for me. The idea of so many possibilities excites me. The tension between clarity and chaos is both the challenge and the joy of design. I like to start with the content, so here it is — a website genesis: from my mind, through the keyboard and onto the web, right in front of you. Simple, frictionless, and arousing.&lt;/p&gt;
&lt;h2 id=&#34;personal-websites-the-renairssance&#34;&gt;Personal Websites: The RenaiRSSance&lt;/h2&gt;
&lt;p&gt;I first started blogging around 2009, and I remember all of the romanticism around personal blogs. Social networks have taken over since, and publishing on TikTok, YouTube or Instagram rather than your own site became mainstream because that&amp;rsquo;s where the people are — you just have to win them over. I was never much into that.&lt;/p&gt;
&lt;p&gt;Recently, I feel like a new wave of decentralized &lt;a href=&#34;https://en.wikipedia.org/wiki/IndieWeb&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;IndieWeb&lt;/a&gt; with small, personal websites is emerging, and I&amp;rsquo;m all for it. I like the idea of being in control of what I produce. And a deeper connection with the audience. I don&amp;rsquo;t want to embrace &lt;em&gt;the algorithm&lt;/em&gt; and fight through the noise. I don&amp;rsquo;t want you to have to pay or watch some ads before you can experience what I made.&lt;/p&gt;
&lt;p&gt;So, for now, you can keep yourself updated via the &lt;a href=&#34;https://milosjeremic.com/blog/index.xml&#34;&gt;RSS Feed&lt;/a&gt; if you&amp;rsquo;d like to.&lt;/p&gt;
&lt;h2 id=&#34;the-whys&#34;&gt;The Whys&lt;/h2&gt;
&lt;p&gt;You may&amp;rsquo;ve heard of designers and their constant struggle with portfolios. I&amp;rsquo;m no exception. I&amp;rsquo;ve redesigned this website far too many times, more than I&amp;rsquo;m willing to admit. Not 20% of those redesigns ever made it to production. I often got carried away by some of the many excuses in favor of starting from scratch, either it being a new typeface I found, a new CSS technique, a design tool I wanted to try, or a new IA concept that came across my mind. The ideas usually looked fine in the beginning, but I was often losing interest in completing them as I progressed.&lt;/p&gt;
&lt;p&gt;The reason might be simple: I wasn&amp;rsquo;t having a clear goal in front of me. Naturally, I got too comfortable with keeping creations for myself. Especially when it comes to writing. And that&amp;rsquo;s so easy to justify. I don&amp;rsquo;t have the right platform. Who&amp;rsquo;s going to read it, anyways? My domain name is too long and hard to remember. I need to finish the design first, code it, host it, and only then I can publish my thoughts.&lt;/p&gt;
&lt;p&gt;What&amp;rsquo;s funny is, all of these go against everything that I usually do and stand for, both personally and professionally. Still, they found a crack and got into my life via this site. Not anymore. So, here it is. Just &lt;a href=&#34;https://justinjackson.ca/words.html&#34; rel=&#34;webmention&#34; target=&#34;_blank&#34;&gt;words&lt;/a&gt;. And me sharing them. And you reading them. And it feels good.&lt;/p&gt;
&lt;h2 id=&#34;the-approach-designing-in-the-open&#34;&gt;The Approach: Designing in the Open&lt;/h2&gt;
&lt;p&gt;So, this time around, I&amp;rsquo;ll be approaching this bottom up. Starting with this simplest HTML document. I will be redesigning it in the open, while documenting my thoughts as I progress. No pretense, no posturing — just the raw, evolving process of shaping a digital space. While I always found &lt;a href=&#34;https://motherfuckingwebsite.com/&#34; rel=&#34;webmention&#34; target=&#34;_blank&#34;&gt;this kind of a grotesque philosophy&lt;/a&gt; rather attractive, it&amp;rsquo;s obvious that it will not just stay this way.&lt;/p&gt;
&lt;p&gt;Of course, it&amp;rsquo;s not starting from nothing. It&amp;rsquo;s years of accumulated design principles and systems, information architecture, and coding skills in the back of my head. But I’m deliberately resisting the urge to copy-paste something and tweak it. It&amp;rsquo;s going to be fun!&lt;/p&gt;
&lt;p&gt;For now, I&amp;rsquo;m starting with:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;An emblem that I&amp;rsquo;ve started using a few years back&lt;/li&gt;
&lt;li&gt;Site title&lt;/li&gt;
&lt;li&gt;A short intro&lt;/li&gt;
&lt;li&gt;And this text entry&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;And I&amp;rsquo;m going to let it grow naturally from here:&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;thumbnail.webp&#34; alt=&#34;milosjeremic.com Genesis&#34;&gt;&lt;/p&gt;
&lt;h2 id=&#34;the-takeaway&#34;&gt;The Takeaway&lt;/h2&gt;
&lt;p&gt;If you&amp;rsquo;re going to keep one thought from here, let it be this:
Building for the web is actually simple and frictionless. It&amp;rsquo;s just an &lt;span class=&#34;small-caps&#34;&gt;HTML&lt;/span&gt; page. Go, make it. Use whatever tool you like: code editor, no-code editor, AI generator, or even a photograph of a piece of paper. Publish, then build from there. If I can do it — so can you!&lt;/p&gt;
&lt;p&gt;Thank you for keeping up.&lt;/p&gt;
</description>
    </item>
    
  </channel>
</rss>
