From cbf59fa567b6b1b0195fe374d66be421f7e67979 Mon Sep 17 00:00:00 2001 From: Jordan Pittman Date: Mon, 2 May 2022 09:31:57 -0400 Subject: [PATCH 1/3] Update deps --- package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 75483dd..a65ce19 100644 --- a/package.json +++ b/package.json @@ -23,11 +23,11 @@ "tailwindcss": ">=3.0.0 || >= 3.0.0-alpha.1" }, "devDependencies": { - "autoprefixer": "^10.4.2", + "autoprefixer": "^10.4.6", "concurrently": "^5.3.0", - "live-server": "^1.2.1", - "postcss": "^8.4.5", - "tailwindcss": "^3.0.2" + "live-server": "^1.2.2", + "postcss": "^8.4.13", + "tailwindcss": "^3.0.24" }, "dependencies": { "mini-svg-data-uri": "^1.2.3" From a7cf1babc141773a7cbd4dfc69d8029d59fa907e Mon Sep 17 00:00:00 2001 From: Jordan Pittman Date: Mon, 2 May 2022 09:32:12 -0400 Subject: [PATCH 2/3] Use `print-color-adjust` --- src/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/index.js b/src/index.js index 0a9b31a..b4470bb 100644 --- a/src/index.js +++ b/src/index.js @@ -126,7 +126,7 @@ const forms = plugin.withOptions(function (options = { strategy: undefined }) { 'background-repeat': `no-repeat`, 'background-size': `1.5em 1.5em`, 'padding-right': spacing[10], - 'color-adjust': `exact`, + 'print-color-adjust': `exact`, }, }, { @@ -138,7 +138,7 @@ const forms = plugin.withOptions(function (options = { strategy: undefined }) { 'background-repeat': 'unset', 'background-size': 'initial', 'padding-right': spacing[3], - 'color-adjust': 'unset', + 'print-color-adjust': 'unset', }, }, { @@ -147,7 +147,7 @@ const forms = plugin.withOptions(function (options = { strategy: undefined }) { styles: { appearance: 'none', padding: '0', - 'color-adjust': 'exact', + 'print-color-adjust': 'exact', display: 'inline-block', 'vertical-align': 'middle', 'background-origin': 'border-box', From 4ed7635030c7948bfc383914a58cf6fffc528d88 Mon Sep 17 00:00:00 2001 From: Jordan Pittman Date: Mon, 2 May 2022 11:05:19 -0400 Subject: [PATCH 3/3] Update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0405f36..fbad246 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - Remove duplicate `outline` property ([#116](https://github.com/tailwindlabs/tailwindcss-forms/pull/116)) +- Fix autoprefixer warning about `color-adjust` ([#115](https://github.com/tailwindlabs/tailwindcss-forms/pull/115)) ## [0.5.0] - 2022-03-02