This repository has been archived on 2025-01-07. You can view files and clone it, but cannot push or open issues or pull requests.
drupal-tailwindcss-purgecss.../web/themes/contrib/tailwindcss
2019-08-14 00:44:38 +01:00
..
dist Force add tailwindcss 2019-05-16 13:07:02 +01:00
src Force add tailwindcss 2019-05-16 13:07:02 +01:00
templates Add background colour 2019-08-14 00:44:38 +01:00
.gitignore Force add tailwindcss 2019-05-16 13:07:02 +01:00
LICENSE.txt Force add tailwindcss 2019-05-16 13:07:02 +01:00
logo.png Force add tailwindcss 2019-05-16 13:07:02 +01:00
package.json Add prod npm script 2019-08-14 00:44:38 +01:00
README.txt Force add tailwindcss 2019-05-16 13:07:02 +01:00
screenshot.png Force add tailwindcss 2019-05-16 13:07:02 +01:00
tailwind.config.js Disable preflight 2019-05-16 13:38:07 +01:00
tailwindcss.info.yml Force add tailwindcss 2019-05-16 13:07:02 +01:00
tailwindcss.libraries.yml Force add tailwindcss 2019-05-16 13:07:02 +01:00
tailwindcss.theme Force add tailwindcss 2019-05-16 13:07:02 +01:00
webpack.mix.js Configure PurgeCSS 2019-08-14 00:44:38 +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`.