Skip to content

Commit

Permalink
use full forced-color-adjust-auto and forced-color-adjust-none names
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinMalfait committed Nov 2, 2023
1 parent 80778e3 commit 51aad23
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/corePlugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -2879,8 +2879,8 @@ export let corePlugins = {
]),
forcedColorAdjust: ({ addUtilities }) => {
addUtilities({
'.forced-color-auto': { 'forced-color-adjust': 'auto' },
'.forced-color-none': { 'forced-color-adjust': 'none' },
'.forced-color-adjust-auto': { 'forced-color-adjust': 'auto' },
'.forced-color-adjust-none': { 'forced-color-adjust': 'none' },
})
},
}
4 changes: 2 additions & 2 deletions tests/plugins/__snapshots__/forcedColorAdjust.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

exports[`should test the 'forcedColorAdjust' plugin 1`] = `
"
.forced-color-auto {
.forced-color-adjust-auto {
forced-color-adjust: auto;
}
.forced-color-none {
.forced-color-adjust-none {
forced-color-adjust: none;
}
"
Expand Down

0 comments on commit 51aad23

Please sign in to comment.