From 0e902f935096103e8d2aa0c454e8f476c319236a Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 25 Dec 2018 20:43:37 +0000 Subject: [PATCH] Add visuallyhidden plugin --- package.json | 1 + src/components/ApplicationSwitcher.vue | 4 ++-- tailwind.js | 1 + yarn.lock | 4 ++++ 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 87a406c..4740c17 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,7 @@ "babel-eslint": "^10.0.1", "eslint": "^5.8.0", "eslint-plugin-vue": "^5.0.0-0", + "tailwindcss-visuallyhidden": "^1.0.1", "vue-template-compiler": "^2.5.17" }, "eslintConfig": { diff --git a/src/components/ApplicationSwitcher.vue b/src/components/ApplicationSwitcher.vue index 0f553d1..353bed5 100644 --- a/src/components/ApplicationSwitcher.vue +++ b/src/components/ApplicationSwitcher.vue @@ -3,12 +3,12 @@
diff --git a/tailwind.js b/tailwind.js index 5adea44..0769eea 100644 --- a/tailwind.js +++ b/tailwind.js @@ -978,6 +978,7 @@ module.exports = { // center: true, // padding: '1rem', }), + require('tailwindcss-visuallyhidden')(), ], diff --git a/yarn.lock b/yarn.lock index bcded26..578f2d4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6237,6 +6237,10 @@ table@^5.0.2: slice-ansi "2.0.0" string-width "^2.1.1" +tailwindcss-visuallyhidden@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/tailwindcss-visuallyhidden/-/tailwindcss-visuallyhidden-1.0.1.tgz#ed67ecf6ee48ea0313b5c3c27498467f350be206" + tailwindcss@^0.7.3: version "0.7.3" resolved "https://registry.yarnpkg.com/tailwindcss/-/tailwindcss-0.7.3.tgz#7b58605dd7857507c4dbc6edaccab4c14d30c054"