From 59a92fc60e48337f7bcc955890dad704debffff7 Mon Sep 17 00:00:00 2001 From: Jake Jarvis Date: Wed, 13 May 2020 21:11:28 -0400 Subject: [PATCH] add postcss-focus & postcss-color-rgba-fallback --- package.json | 2 ++ postcss.config.js | 4 ++++ yarn.lock | 23 ++++++++++++++++++++++- 3 files changed, 28 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index edc8caee..181cd934 100644 --- a/package.json +++ b/package.json @@ -54,6 +54,8 @@ "postcss": "^7.x", "postcss-clean": "^1.1.0", "postcss-cli": "^7.1.1", + "postcss-color-rgba-fallback": "^4.0.0", + "postcss-focus": "^4.0.0", "postcss-reporter": "^6.0.1", "prettier": "^2.0.5", "rimraf": "^3.0.2", diff --git a/postcss.config.js b/postcss.config.js index 5e75e79a..6dc94625 100644 --- a/postcss.config.js +++ b/postcss.config.js @@ -4,6 +4,10 @@ module.exports = { }, plugins: [ require("autoprefixer")(), + require("postcss-focus")(), + require("postcss-color-rgba-fallback")({ + properties: [ "background-image" ] + }), require("postcss-clean")({ compatibility: "*", level: 0, diff --git a/yarn.lock b/yarn.lock index c897a44d..da222356 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3724,6 +3724,22 @@ postcss-cli@^7.1.1: read-cache "^1.0.0" yargs "^15.0.2" +postcss-color-rgba-fallback@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/postcss-color-rgba-fallback/-/postcss-color-rgba-fallback-4.0.0.tgz#b836c4a34c747cf9b16f1ebcd7d6016c299e0cf2" + integrity sha512-XxjOy2dA/IYY/O9p492lklb0sw2lyshjXCoJQz7Y0YLxT1ymnep5d8LmQPkB+kCTVCzmniJNotiZhWM1RSfANA== + dependencies: + postcss "^7.0.17" + postcss-value-parser "^4.0.2" + rgb-hex "^3.0.0" + +postcss-focus@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/postcss-focus/-/postcss-focus-4.0.0.tgz#1c0d4d34a22aa63ccaa31f8da845f7180d203ed8" + integrity sha512-hSbpArQGnhj36JtqXTPy6CIvCmjmAS7rxyTgmCwNZY4kIcA6I3/nm3fI0D6OgUcsBMC0Wg2OOD9FRNbtzFILFA== + dependencies: + postcss "^7.0.2" + postcss-html@^0.36.0: version "0.36.0" resolved "https://registry.yarnpkg.com/postcss-html/-/postcss-html-0.36.0.tgz#b40913f94eaacc2453fd30a1327ad6ee1f88b204" @@ -3810,7 +3826,7 @@ postcss-syntax@^0.36.2: resolved "https://registry.yarnpkg.com/postcss-syntax/-/postcss-syntax-0.36.2.tgz#f08578c7d95834574e5593a82dfbfa8afae3b51c" integrity sha512-nBRg/i7E3SOHWxF3PpF5WnJM/jQ1YpY9000OaVXlAQj6Zp/kIqJxEDWIZ67tAd7NLuk7zqN4yqe9nc0oNAOs1w== -postcss-value-parser@^4.0.3, postcss-value-parser@^4.1.0: +postcss-value-parser@^4.0.2, postcss-value-parser@^4.0.3, postcss-value-parser@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/postcss-value-parser/-/postcss-value-parser-4.1.0.tgz#443f6a20ced6481a2bda4fa8532a6e55d789a2cb" integrity sha512-97DXOFbQJhk71ne5/Mt6cOu6yxsSfM0QGQyl0L25Gca4yGWEGJaig7l7gbCX623VqTBNGLRLaVUCnNkcedlRSQ== @@ -4176,6 +4192,11 @@ reusify@^1.0.4: resolved "https://registry.yarnpkg.com/reusify/-/reusify-1.0.4.tgz#90da382b1e126efc02146e90845a88db12925d76" integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw== +rgb-hex@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/rgb-hex/-/rgb-hex-3.0.0.tgz#eab0168cc1279563b18a14605315389142e2e487" + integrity sha512-8h7ZcwxCBDKvchSWbWngJuSCqJGQ6nDuLLg+QcRyQDbX9jMWt+PpPeXAhSla0GOooEomk3lCprUpGkMdsLjKyg== + rimraf@2.6.3: version "2.6.3" resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.3.tgz#b2d104fe0d8fb27cf9e0a1cda8262dd3833c6cab"