-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
21a96af
commit 27bce5c
Showing
12 changed files
with
1,573 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
384 changes: 384 additions & 0 deletions
384
__tests__/fixtures/tailwind-output-no-color-opacity.css
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
module.exports = require('../../lib/plugins/mixBlendMode').default() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -120,4 +120,5 @@ export const corePluginList = [ | |
'transitionDuration', | ||
'transitionDelay', | ||
'animation', | ||
'mixBlendMode', | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
export default function () { | ||
return function ({ addUtilities, variants }) { | ||
addUtilities( | ||
{ | ||
'.mix-normal': { 'mix-blend-mode': 'normal' }, | ||
'.mix-multiply': { 'mix-blend-mode': 'multiply' }, | ||
'.mix-screen': { 'mix-blend-mode': 'screen' }, | ||
'.mix-overlay': { 'mix-blend-mode': 'overlay' }, | ||
'.mix-darken': { 'mix-blend-mode': 'darken' }, | ||
'.mix-lighten': { 'mix-blend-mode': 'lighten' }, | ||
'.mix-color-dodge': { 'mix-blend-mode': 'color-dodge' }, | ||
'.mix-color-burn': { 'mix-blend-mode': 'color-burn' }, | ||
'.mix-hard-light': { 'mix-blend-mode': 'hard-light' }, | ||
'.mix-soft-light': { 'mix-blend-mode': 'soft-light' }, | ||
'.mix-difference': { 'mix-blend-mode': 'difference' }, | ||
'.mix-exclusion': { 'mix-blend-mode': 'exclusion' }, | ||
'.mix-hue': { 'mix-blend-mode': 'hue' }, | ||
'.mix-saturation': { 'mix-blend-mode': 'saturation' }, | ||
'.mix-color': { 'mix-blend-mode': 'color' }, | ||
'.mix-luminosity': { 'mix-blend-mode': 'luminosity' }, | ||
}, | ||
variants('mixBlendMode') | ||
) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters