Skip to content

Commit 6c94c6d

Browse files
committed
rename forced-colors-adjust -> forced-color-adjust
Dropped the `s` in `colors`.
1 parent e26825a commit 6c94c6d

File tree

5 files changed

+19
-19
lines changed

5 files changed

+19
-19
lines changed

src/corePlugins.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2877,10 +2877,10 @@ export let corePlugins = {
28772877
content: createUtilityPlugin('content', [
28782878
['content', ['--tw-content', ['content', 'var(--tw-content)']]],
28792879
]),
2880-
forcedColorsAdjust: ({ addUtilities }) => {
2880+
forcedColorAdjust: ({ addUtilities }) => {
28812881
addUtilities({
2882-
'.forced-colors-auto': { 'forced-colors-adjust': 'auto' },
2883-
'.forced-colors-none': { 'forced-colors-adjust': 'none' },
2882+
'.forced-color-auto': { 'forced-color-adjust': 'auto' },
2883+
'.forced-color-none': { 'forced-color-adjust': 'none' },
28842884
})
28852885
},
28862886
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// Jest Snapshot v1, https://goo.gl/fbAQLP
2+
3+
exports[`should test the 'forcedColorAdjust' plugin 1`] = `
4+
"
5+
.forced-color-auto {
6+
forced-color-adjust: auto;
7+
}
8+
9+
.forced-color-none {
10+
forced-color-adjust: none;
11+
}
12+
"
13+
`;

tests/plugins/__snapshots__/forcedColorsAdjust.test.js.snap

Lines changed: 0 additions & 13 deletions
This file was deleted.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import { quickPluginTest } from '../util/run'
2+
3+
quickPluginTest('forcedColorAdjust').toMatchSnapshot()

tests/plugins/forcedColorsAdjust.test.js

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)