lab/drupal-tailwindcss-purgecss-test/web/themes/contrib/tailwindcss
2025-09-29 22:53:29 +01:00
..
dist Move all files to drupal-tailwindcss-purgecss-test/ 2025-09-29 22:53:29 +01:00
src Move all files to drupal-tailwindcss-purgecss-test/ 2025-09-29 22:53:29 +01:00
templates Move all files to drupal-tailwindcss-purgecss-test/ 2025-09-29 22:53:29 +01:00
.gitignore Move all files to drupal-tailwindcss-purgecss-test/ 2025-09-29 22:53:29 +01:00
LICENSE.txt Move all files to drupal-tailwindcss-purgecss-test/ 2025-09-29 22:53:29 +01:00
logo.png Move all files to drupal-tailwindcss-purgecss-test/ 2025-09-29 22:53:29 +01:00
package.json Move all files to drupal-tailwindcss-purgecss-test/ 2025-09-29 22:53:29 +01:00
README.txt Move all files to drupal-tailwindcss-purgecss-test/ 2025-09-29 22:53:29 +01:00
screenshot.png Move all files to drupal-tailwindcss-purgecss-test/ 2025-09-29 22:53:29 +01:00
tailwind.config.js Move all files to drupal-tailwindcss-purgecss-test/ 2025-09-29 22:53:29 +01:00
tailwindcss.info.yml Move all files to drupal-tailwindcss-purgecss-test/ 2025-09-29 22:53:29 +01:00
tailwindcss.libraries.yml Move all files to drupal-tailwindcss-purgecss-test/ 2025-09-29 22:53:29 +01:00
tailwindcss.theme Move all files to drupal-tailwindcss-purgecss-test/ 2025-09-29 22:53:29 +01:00
webpack.mix.js Move all files to drupal-tailwindcss-purgecss-test/ 2025-09-29 22:53:29 +01:00

DESCRIPTION
-----------

Tailwind CSS Starter Kit Theme for Drupal 8.

USAGE
-----

```
mkdir -p themes/custom
cd themes/custom
git clone https://git.drupal.org/sandbox/opdavies-3015651 tailwindcss
```

To re-compile the CSS:

```
npm install
npm run build
```

DEPENDENCIES
------------

- Laravel Mix (https://github.com/JeffreyWay/laravel-mix) for PostCSS compiling
  and asset generation.
- The Laravel Mix Tailwind plugin.

CONFIGURATION OVERRIDES
-----------------------

Overrides made to the default tailwind.js file:

- `options.prefix` has been changed to `tw-`. This is so that some of
  Tailwind's default classes like `block` don't apply to Drupal's default
  markup.
- `options.important` has been changed to `true`.