From d81328aa1111380b69f32c03412b5ee1d85cb0b1 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Thu, 28 Feb 2019 10:30:14 +0000 Subject: [PATCH] Add plugins --- package.json | 4 ++++ tailwind.js | 9 ++++++++- yarn.lock | 12 ++++++++++++ 3 files changed, 24 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index eee55e8..4725f32 100644 --- a/package.json +++ b/package.json @@ -12,5 +12,9 @@ "laravel-mix": "^4.0.14", "laravel-mix-tailwind": "^0.1.0", "tailwindcss": "^0.7.4" + }, + "dependencies": { + "tailwindcss-interaction-variants": "^1.0.0", + "tailwindcss-spaced-items": "^0.1.0" } } diff --git a/tailwind.js b/tailwind.js index 00c5485..986ef22 100644 --- a/tailwind.js +++ b/tailwind.js @@ -11,7 +11,14 @@ module.exports = { textColors: colors, backgroundColors: colors, borderColors: Object.assign({ default: colors['grey-light'] }, colors), - plugins: [], + plugins: [ + require('tailwindcss-interaction-variants')(), + require('tailwindcss-spaced-items')(), + ], + modules: { + ...defaultConfig.modules, + textStyle: ['responsive', 'hover', 'focus', 'hocus'], + }, options: { ...defaultConfig.options, prefix: 'tw-', diff --git a/yarn.lock b/yarn.lock index 033763c..68634c7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5963,6 +5963,18 @@ svgo@^1.0.0: unquote "~1.1.1" util.promisify "~1.0.0" +tailwindcss-interaction-variants@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/tailwindcss-interaction-variants/-/tailwindcss-interaction-variants-1.0.0.tgz#85370e272b5365090fd83e2ad6a607f415da487d" + integrity sha512-HhTyil7E6eZcfRFtit8ViPnLp5QRrSg/s++gIZu0Nj2oqXiK1zESqVaJl12j5gNNkCxDUpwO0iyZxya/Gs6dww== + dependencies: + lodash "^4.17.11" + +tailwindcss-spaced-items@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/tailwindcss-spaced-items/-/tailwindcss-spaced-items-0.1.0.tgz#e7f381e5c780a034bcdbc38a6a2cfb31f828a020" + integrity sha512-YiT1h89fp13r6I+EBM8wS1RWfsTwzHSi4BAnHoTXXQK1GQ53DUCPeFNmiksYSdx2aQLMdp/DTPvErqBVfTALiQ== + tailwindcss@^0.7.4: version "0.7.4" resolved "https://registry.yarnpkg.com/tailwindcss/-/tailwindcss-0.7.4.tgz#fb7926821d42eacdc12e6621a49d21f37a3ff9e9"