Skip to content

Commit

Permalink
Add fill and stroke to transition-colors
Browse files Browse the repository at this point in the history
  • Loading branch information
adamwathan committed Feb 1, 2020
1 parent 91e659f commit bb1e629
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 22 deletions.
20 changes: 10 additions & 10 deletions __tests__/fixtures/tailwind-output-important.css
Original file line number Diff line number Diff line change
Expand Up @@ -10327,11 +10327,11 @@ video {
}

.transition {
transition-property: background-color, border-color, color, opacity, transform !important;
transition-property: background-color, border-color, color, fill, stroke, opacity,transform !important;
}

.transition-colors {
transition-property: background-color, border-color, color !important;
transition-property: background-color, border-color, color, fill, stroke !important;
}

.transition-opacity {
Expand Down Expand Up @@ -20118,11 +20118,11 @@ video {
}

.sm\:transition {
transition-property: background-color, border-color, color, opacity, transform !important;
transition-property: background-color, border-color, color, fill, stroke, opacity,transform !important;
}

.sm\:transition-colors {
transition-property: background-color, border-color, color !important;
transition-property: background-color, border-color, color, fill, stroke !important;
}

.sm\:transition-opacity {
Expand Down Expand Up @@ -29910,11 +29910,11 @@ video {
}

.md\:transition {
transition-property: background-color, border-color, color, opacity, transform !important;
transition-property: background-color, border-color, color, fill, stroke, opacity,transform !important;
}

.md\:transition-colors {
transition-property: background-color, border-color, color !important;
transition-property: background-color, border-color, color, fill, stroke !important;
}

.md\:transition-opacity {
Expand Down Expand Up @@ -39702,11 +39702,11 @@ video {
}

.lg\:transition {
transition-property: background-color, border-color, color, opacity, transform !important;
transition-property: background-color, border-color, color, fill, stroke, opacity,transform !important;
}

.lg\:transition-colors {
transition-property: background-color, border-color, color !important;
transition-property: background-color, border-color, color, fill, stroke !important;
}

.lg\:transition-opacity {
Expand Down Expand Up @@ -49494,11 +49494,11 @@ video {
}

.xl\:transition {
transition-property: background-color, border-color, color, opacity, transform !important;
transition-property: background-color, border-color, color, fill, stroke, opacity,transform !important;
}

.xl\:transition-colors {
transition-property: background-color, border-color, color !important;
transition-property: background-color, border-color, color, fill, stroke !important;
}

.xl\:transition-opacity {
Expand Down
20 changes: 10 additions & 10 deletions __tests__/fixtures/tailwind-output.css
Original file line number Diff line number Diff line change
Expand Up @@ -10327,11 +10327,11 @@ video {
}

.transition {
transition-property: background-color, border-color, color, opacity, transform;
transition-property: background-color, border-color, color, fill, stroke, opacity,transform;
}

.transition-colors {
transition-property: background-color, border-color, color;
transition-property: background-color, border-color, color, fill, stroke;
}

.transition-opacity {
Expand Down Expand Up @@ -20118,11 +20118,11 @@ video {
}

.sm\:transition {
transition-property: background-color, border-color, color, opacity, transform;
transition-property: background-color, border-color, color, fill, stroke, opacity,transform;
}

.sm\:transition-colors {
transition-property: background-color, border-color, color;
transition-property: background-color, border-color, color, fill, stroke;
}

.sm\:transition-opacity {
Expand Down Expand Up @@ -29910,11 +29910,11 @@ video {
}

.md\:transition {
transition-property: background-color, border-color, color, opacity, transform;
transition-property: background-color, border-color, color, fill, stroke, opacity,transform;
}

.md\:transition-colors {
transition-property: background-color, border-color, color;
transition-property: background-color, border-color, color, fill, stroke;
}

.md\:transition-opacity {
Expand Down Expand Up @@ -39702,11 +39702,11 @@ video {
}

.lg\:transition {
transition-property: background-color, border-color, color, opacity, transform;
transition-property: background-color, border-color, color, fill, stroke, opacity,transform;
}

.lg\:transition-colors {
transition-property: background-color, border-color, color;
transition-property: background-color, border-color, color, fill, stroke;
}

.lg\:transition-opacity {
Expand Down Expand Up @@ -49494,11 +49494,11 @@ video {
}

.xl\:transition {
transition-property: background-color, border-color, color, opacity, transform;
transition-property: background-color, border-color, color, fill, stroke, opacity,transform;
}

.xl\:transition-colors {
transition-property: background-color, border-color, color;
transition-property: background-color, border-color, color, fill, stroke;
}

.xl\:transition-opacity {
Expand Down
4 changes: 2 additions & 2 deletions stubs/defaultConfig.stub.js
Original file line number Diff line number Diff line change
Expand Up @@ -528,8 +528,8 @@ module.exports = {
transitionProperty: {
none: 'none',
all: 'all',
default: 'background-color, border-color, color, opacity, transform',
colors: 'background-color, border-color, color',
default: 'background-color, border-color, color, fill, stroke, opacity,transform',
colors: 'background-color, border-color, color, fill, stroke',
opacity: 'opacity',
transform: 'transform',
},
Expand Down

0 comments on commit bb1e629

Please sign in to comment.