Skip to content
pinegrow.com
Docs menuPinegrow Web Editor release notes

Pinegrow Web Editor 5.991, January 28, 2021

Tailwind Blocks – Tailwind CSS 2 – Tailwind UI works again – Bootstrap templates – Bug fixes

On this page

5.991

Tailwind Blocks

Introducing Tailwind Blocks, a library of reusable components and templates for Tailwind CSS 2.

Pinegrow Blocks page library on the left with a Natural Experience hero section and an orange image area in the page at right.

Learn more and preview

Tailwind CSS 2

Tailwind Visual Editor now supports Tailwind CSS 2:

Visual controls in the Properties panel let you work with new utility classes, such as Rings.

Shadow and Ring controls with Ring width 2 and ring-yellow-400 set, applied to a yellow Get it now button in the preview

Tailwind CSS 2 is enabled by default. If you need to work with the older version, select the version in the Tailwind options section at the bottom of the Properties panel.

Tailwind Options dropdown listing Auto detect, 1.9 and 2.0, with 2.0 selected as the Tailwind CSS version

Use Customize Visual Controls to let Pinegrow inspect your custom Tailwind build and adjust visual controls accordingly.

Dark mode selector can be combined with other pseudo states, so that you can style states in the dark mode. Note that dark mode is not enabled in the default Tailwind CSS build.

Pseudo-class menu set to target dark mode, with dark:text-gray-100 and dark:text-opacity-80 classes in the class list

Starting template for Tailwind CSS uses Tailwind CSS 2.

If you are using customized Tailwind controls, make sure to update the customization if you update Tailwind CSS files in your project.

Handling Tailwind CSS stylesheets

Tailwind CSS stylesheets are huge and that used to lead to freezes and performance issues when working with the Style panel. 

This is now fixed, if the Tailwind CSS is set to be ignored in the Active panel (that is the default setting).

Normally, you would never want to edit Tailwind CSS rules directly, because all customization should happen through theming.

Note that defaults apply if the stylesheet contains tailwind in its name. For other stylesheets you can manually ignore them in the Stylesheets menu:

Stylesheets list in the Active panel with the tailwind.css menu open, showing Locked and Load and Show in Active options

Tailwind UI works again

We found a solution that makes it again possible to open Tailwind UI library in the Library panel.

To login, click on the Login link in the Tailwind UI library tab, or select it from the library menu:

Pinegrow library panel menu open over the Tailwind UI page list, with Page library, Settings, Reload and Login to TailwindUI options.

Doing the login opens up a popup dialog with the Tailwind UI login page. After you successfully login with your Tailwind UI account click on Done to open the full library in the Library panel.

Login to TailwindUI dialog with a callout reading Click on Done after you are logged in, next to the Done, I'm logged in button.

If you are already logged in the popup view, just click on Done.

Bootstrap Blocks templates

Bootstrap Blocks now has two ready-made templates: SaaS landing and Professional services.

Professional services and SaaS landing pages built from Bootstrap blocks, with the Dedicated to Helping Our Clients Succeed hero.

Both templates are accessible in the New Page dialog, under Bootstrap 4 Blocks tab:

New page dialog with Bootstrap 4 Blocks selected, showing Professional services and SaaS landing page templates with Open and Preview buttons

Bug fixes

Including:

  • Not formatting the content of a <pre> element.
  • Saving Class Styles and more.