A WordPress Theme Utilizing Tailwind CSS
TailKick offers WordPress site owners a fresh look and theme builders a surprisingly pleasant developer experience.
WordPress users can switch their websites to the TailKick theme and make customizations in the usual way.
For folks interested in working with TailKick's codebase, those who may create a new theme based on TailKick or those interested in contributing to this project :smile:, I recommend the Tailwind CSS framework and its challenge of traditional CSS best practices.
<a class="nav__btn--teal-3" href="#" type="button">Download</a>
<style>
.nav__btn--teal-3 {
margin-top: 0.75rem;
padding: 0.5rem 1rem;
font-weight: 700;
background-color: rgb(94,234,212);
border: 1px solid rgb(0,0,0);
box-shadow: 5px 5px 0 0 rgba(0,0,0,0.20);
}
</style>
<a class="mt-3 px-4 py-2 font-bold bg-teal-300 border border-black shadow-[5px_5px_0_0_rgba(0,0,0,0.20)]" href="#" type="button">Download</a>
<!-- No new CSS needs to be written -->
tailkick.zip
file found on the Releases page.tailkick.zip
file through your WordPress dashboard. (See WP help docs.)Without editing template files, CSS, or PHP, you can personalize TailKick's look using your unique content and WordPress's Customize API (Customizer).
git clone https://github.com/ge3224/tailkick
cd tailkick
npm install
npm run start:css
Tailwind CSS describes itself as a “utility-first CSS framework.” It is an extensive library of class selectors mapped to carefully constrained rulesets called “primitive utilities.” You style HTML elements by adding and removing Tailwind classes in your markup. Tailwind users often say it increases their productivity and is easier to manage as their projects grow in complexity. The framework addresses well-known pain points associated with CSS development:
card-4__subttl--lightorange-3
)The Tailwind framework is a descendant of Atomic CSS, which achieved notoriety with Thierry Koblentz's 2013 essay Challenging CSS Best Practices. Read more about Tailwind's philosophy on its website. (See also The Evolution of Scalable CSS.)
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)