updating theme reference
[danix.xyz.git] / content / articles / playing-with-colors.md
index b760f87..20fa3ad 100644 (file)
@@ -16,17 +16,15 @@ tags:
   - viewer
 
 ---
-<div class="wp-block-image">
-  <figure class="aligncenter"><a href="https://github.com/danixland/palette-viewer"><img loading="lazy" width="975" height="549" src="https://danix.xyz/wp-content/uploads/2016/02/palette-1.jpg" alt="" class="wp-image-3642" srcset="https://danix.xyz/wp-content/uploads/2016/02/palette-1.jpg 975w, https://danix.xyz/wp-content/uploads/2016/02/palette-1-300x169.jpg 300w, https://danix.xyz/wp-content/uploads/2016/02/palette-1-768x432.jpg 768w" sizes="(max-width: 975px) 100vw, 975px" /></a></figure>
-</div>
+{{< figure src="https://danix.xyz/wp-content/uploads/2016/02/palette-1.jpg" class="image fit" link="https://github.com/danixland/palette-viewer" >}}
 
-<p class="has-drop-cap">
-  Today I decided I wanted to have a little &#8220;old school&#8221; fun, so instead of working on some WordPress theme/plugin, I went for the &#8220;lemme write some php from scratch&#8221; approach.
-</p>
+{{< dropcap >}}
+Today I decided I wanted to have a little "old school" fun, so instead of working on some WordPress theme/plugin, I went for the "lemme write some php from scratch" approach.
+{{< /dropcap >}}
 
-I was having a look at some color palettes for _\*\*I&#8217;m not gonna tell ya\*\*_, and it was quite hard for me to mix them together in my mind and decide which color goes where and how to use it, so after thinking about it for a while, I decided I&#8217;d narrow my options to 6 colors per palette, and in order to better visualize them, I wrote a small php page to help me.
+I was having a look at some color palettes for _**I'm not gonna tell ya**_, and it was quite hard for me to mix them together in my mind and decide which color goes where and how to use it, so after thinking about it for a while, I decided I'd narrow my options to 6 colors per palette, and in order to better visualize them, I wrote a small php page to help me.
 
-It&#8217;s actually very simple, there&#8217;s a large preview where you can modify each color on the fly, and then you can send them to a fake page preview. that&#8217;s it.
+It's actually very simple, there's a large preview where you can modify each color on the fly, and then you can send them to a fake page preview. that's it.
 
 I put it on <a href="https://github.com/danixland/palette-viewer" target="_blank" rel="noopener noreferrer">github</a>, just in case you want to give it a look.