Skip to content

Commit 203d454

Browse files
Fix autoprefixer warning about color-adjust (#115)
* Update deps * Use `print-color-adjust` * Update changelog
1 parent 01edbb6 commit 203d454

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

Diff for: CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010
### Fixed
1111

1212
- Remove duplicate `outline` property ([#116](https://github.com/tailwindlabs/tailwindcss-forms/pull/116))
13+
- Fix autoprefixer warning about `color-adjust` ([#115](https://github.com/tailwindlabs/tailwindcss-forms/pull/115))
1314

1415
## [0.5.0] - 2022-03-02
1516

Diff for: package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@
2323
"tailwindcss": ">=3.0.0 || >= 3.0.0-alpha.1"
2424
},
2525
"devDependencies": {
26-
"autoprefixer": "^10.4.2",
26+
"autoprefixer": "^10.4.6",
2727
"concurrently": "^5.3.0",
28-
"live-server": "^1.2.1",
29-
"postcss": "^8.4.5",
30-
"tailwindcss": "^3.0.2"
28+
"live-server": "^1.2.2",
29+
"postcss": "^8.4.13",
30+
"tailwindcss": "^3.0.24"
3131
},
3232
"dependencies": {
3333
"mini-svg-data-uri": "^1.2.3"

Diff for: src/index.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ const forms = plugin.withOptions(function (options = { strategy: undefined }) {
126126
'background-repeat': `no-repeat`,
127127
'background-size': `1.5em 1.5em`,
128128
'padding-right': spacing[10],
129-
'color-adjust': `exact`,
129+
'print-color-adjust': `exact`,
130130
},
131131
},
132132
{
@@ -138,7 +138,7 @@ const forms = plugin.withOptions(function (options = { strategy: undefined }) {
138138
'background-repeat': 'unset',
139139
'background-size': 'initial',
140140
'padding-right': spacing[3],
141-
'color-adjust': 'unset',
141+
'print-color-adjust': 'unset',
142142
},
143143
},
144144
{
@@ -147,7 +147,7 @@ const forms = plugin.withOptions(function (options = { strategy: undefined }) {
147147
styles: {
148148
appearance: 'none',
149149
padding: '0',
150-
'color-adjust': 'exact',
150+
'print-color-adjust': 'exact',
151151
display: 'inline-block',
152152
'vertical-align': 'middle',
153153
'background-origin': 'border-box',

0 commit comments

Comments
 (0)