Skip to content

Commit

Permalink
Hardcode dynamic classes so they don't get purged
Browse files Browse the repository at this point in the history
This is most definitely a hack and will hopefully be removed when I
understand how to use PurgeCSS better.
  • Loading branch information
joemasilotti committed Jul 25, 2020
1 parent 29208f3 commit 1ba618d
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions dynamic.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
layout: page
title: Dynamic
permalink: dynamic/
---

<!-- Generated dynamic classes for Tailwind to pick up and not purge. -->
<span class="bg-purple-100 text-purple-800">Purple</span>
<span class="bg-indigo-100 text-indigo-800">Indigo</span>
<span class="bg-blue-100 text-blue-800">Blue</span>
<span class="bg-red-100 text-red-800">Red</span>
<span class="bg-orange-100 text-orange-800">Orange</span>
<span class="bg-pink-100 text-pink-800">Pink</span>
<span class="bg-yellow-100 text-yellow-800">Yellow</span>
<span class="bg-green-100 text-green-800">Green</span>

<span class="h-6 w-6">SVG size</span>

0 comments on commit 1ba618d

Please sign in to comment.