Skip to content

Commit bb1e629

Browse files
committed
Add fill and stroke to transition-colors
1 parent 91e659f commit bb1e629

File tree

3 files changed

+22
-22
lines changed

3 files changed

+22
-22
lines changed

__tests__/fixtures/tailwind-output-important.css

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10327,11 +10327,11 @@ video {
1032710327
}
1032810328

1032910329
.transition {
10330-
transition-property: background-color, border-color, color, opacity, transform !important;
10330+
transition-property: background-color, border-color, color, fill, stroke, opacity,transform !important;
1033110331
}
1033210332

1033310333
.transition-colors {
10334-
transition-property: background-color, border-color, color !important;
10334+
transition-property: background-color, border-color, color, fill, stroke !important;
1033510335
}
1033610336

1033710337
.transition-opacity {
@@ -20118,11 +20118,11 @@ video {
2011820118
}
2011920119

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

2012420124
.sm\:transition-colors {
20125-
transition-property: background-color, border-color, color !important;
20125+
transition-property: background-color, border-color, color, fill, stroke !important;
2012620126
}
2012720127

2012820128
.sm\:transition-opacity {
@@ -29910,11 +29910,11 @@ video {
2991029910
}
2991129911

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

2991629916
.md\:transition-colors {
29917-
transition-property: background-color, border-color, color !important;
29917+
transition-property: background-color, border-color, color, fill, stroke !important;
2991829918
}
2991929919

2992029920
.md\:transition-opacity {
@@ -39702,11 +39702,11 @@ video {
3970239702
}
3970339703

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

3970839708
.lg\:transition-colors {
39709-
transition-property: background-color, border-color, color !important;
39709+
transition-property: background-color, border-color, color, fill, stroke !important;
3971039710
}
3971139711

3971239712
.lg\:transition-opacity {
@@ -49494,11 +49494,11 @@ video {
4949449494
}
4949549495

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

4950049500
.xl\:transition-colors {
49501-
transition-property: background-color, border-color, color !important;
49501+
transition-property: background-color, border-color, color, fill, stroke !important;
4950249502
}
4950349503

4950449504
.xl\:transition-opacity {

__tests__/fixtures/tailwind-output.css

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10327,11 +10327,11 @@ video {
1032710327
}
1032810328

1032910329
.transition {
10330-
transition-property: background-color, border-color, color, opacity, transform;
10330+
transition-property: background-color, border-color, color, fill, stroke, opacity,transform;
1033110331
}
1033210332

1033310333
.transition-colors {
10334-
transition-property: background-color, border-color, color;
10334+
transition-property: background-color, border-color, color, fill, stroke;
1033510335
}
1033610336

1033710337
.transition-opacity {
@@ -20118,11 +20118,11 @@ video {
2011820118
}
2011920119

2012020120
.sm\:transition {
20121-
transition-property: background-color, border-color, color, opacity, transform;
20121+
transition-property: background-color, border-color, color, fill, stroke, opacity,transform;
2012220122
}
2012320123

2012420124
.sm\:transition-colors {
20125-
transition-property: background-color, border-color, color;
20125+
transition-property: background-color, border-color, color, fill, stroke;
2012620126
}
2012720127

2012820128
.sm\:transition-opacity {
@@ -29910,11 +29910,11 @@ video {
2991029910
}
2991129911

2991229912
.md\:transition {
29913-
transition-property: background-color, border-color, color, opacity, transform;
29913+
transition-property: background-color, border-color, color, fill, stroke, opacity,transform;
2991429914
}
2991529915

2991629916
.md\:transition-colors {
29917-
transition-property: background-color, border-color, color;
29917+
transition-property: background-color, border-color, color, fill, stroke;
2991829918
}
2991929919

2992029920
.md\:transition-opacity {
@@ -39702,11 +39702,11 @@ video {
3970239702
}
3970339703

3970439704
.lg\:transition {
39705-
transition-property: background-color, border-color, color, opacity, transform;
39705+
transition-property: background-color, border-color, color, fill, stroke, opacity,transform;
3970639706
}
3970739707

3970839708
.lg\:transition-colors {
39709-
transition-property: background-color, border-color, color;
39709+
transition-property: background-color, border-color, color, fill, stroke;
3971039710
}
3971139711

3971239712
.lg\:transition-opacity {
@@ -49494,11 +49494,11 @@ video {
4949449494
}
4949549495

4949649496
.xl\:transition {
49497-
transition-property: background-color, border-color, color, opacity, transform;
49497+
transition-property: background-color, border-color, color, fill, stroke, opacity,transform;
4949849498
}
4949949499

4950049500
.xl\:transition-colors {
49501-
transition-property: background-color, border-color, color;
49501+
transition-property: background-color, border-color, color, fill, stroke;
4950249502
}
4950349503

4950449504
.xl\:transition-opacity {

stubs/defaultConfig.stub.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -528,8 +528,8 @@ module.exports = {
528528
transitionProperty: {
529529
none: 'none',
530530
all: 'all',
531-
default: 'background-color, border-color, color, opacity, transform',
532-
colors: 'background-color, border-color, color',
531+
default: 'background-color, border-color, color, fill, stroke, opacity,transform',
532+
colors: 'background-color, border-color, color, fill, stroke',
533533
opacity: 'opacity',
534534
transform: 'transform',
535535
},

0 commit comments

Comments
 (0)