Skip to content

Commit 937ac13

Browse files
adamwathandeebov
andauthored
Include outline-color in default color properties to transition (#10385)
Co-Authored-By: Dilshod <[email protected]> Co-authored-by: Adam Wathan <[email protected]> Co-authored-by: Dilshod <[email protected]>
1 parent c8e484c commit 937ac13

7 files changed

+20
-16
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4545

4646
- Alphabetize `theme` keys in default config ([#9953](https://github.com/tailwindlabs/tailwindcss/pull/9953))
4747
- Update esbuild to v17 ([#10368](https://github.com/tailwindlabs/tailwindcss/pull/10368))
48+
- Include `outline-color` in `transition` and `transition-colors` utilitires ([#10385](https://github.com/tailwindlabs/tailwindcss/pull/10385))
4849

4950
## [3.2.4] - 2022-11-11
5051

stubs/defaultConfig.stub.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -878,8 +878,8 @@ module.exports = {
878878
none: 'none',
879879
all: 'all',
880880
DEFAULT:
881-
'color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter',
882-
colors: 'color, background-color, border-color, text-decoration-color, fill, stroke',
881+
'color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter',
882+
colors: 'color, background-color, border-color, outline-color, text-decoration-color, fill, stroke',
883883
opacity: 'opacity',
884884
shadow: 'box-shadow',
885885
transform: 'transform',

tests/basic-usage.oxide.test.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -1059,8 +1059,8 @@
10591059
backdrop-filter: none;
10601060
}
10611061
.transition {
1062-
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke,
1063-
opacity, box-shadow, transform, filter, backdrop-filter;
1062+
transition-property: color, background-color, border-color, outline-color, text-decoration-color,
1063+
fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
10641064
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
10651065
transition-duration: 150ms;
10661066
}

tests/basic-usage.test.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -1059,8 +1059,8 @@
10591059
backdrop-filter: none;
10601060
}
10611061
.transition {
1062-
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke,
1063-
opacity, box-shadow, transform, filter, backdrop-filter;
1062+
transition-property: color, background-color, border-color, outline-color, text-decoration-color,
1063+
fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
10641064
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
10651065
transition-duration: 150ms;
10661066
}

tests/kitchen-sink.test.js

+9-6
Original file line numberDiff line numberDiff line change
@@ -750,8 +750,9 @@ crosscheck(() => {
750750
}
751751
@media (prefers-reduced-motion: no-preference) {
752752
.motion-safe\:transition {
753-
transition-property: color, background-color, border-color, text-decoration-color, fill,
754-
stroke, opacity, box-shadow, transform, filter, backdrop-filter;
753+
transition-property: color, background-color, border-color, outline-color,
754+
text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter,
755+
backdrop-filter;
755756
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
756757
transition-duration: 150ms;
757758
}
@@ -761,8 +762,9 @@ crosscheck(() => {
761762
}
762763
@media (prefers-reduced-motion: reduce) {
763764
.motion-reduce\:transition {
764-
transition-property: color, background-color, border-color, text-decoration-color, fill,
765-
stroke, opacity, box-shadow, transform, filter, backdrop-filter;
765+
transition-property: color, background-color, border-color, outline-color,
766+
text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter,
767+
backdrop-filter;
766768
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
767769
transition-duration: 150ms;
768770
}
@@ -865,8 +867,9 @@ crosscheck(() => {
865867
}
866868
@media (prefers-reduced-motion: no-preference) {
867869
.md\:motion-safe\:hover\:transition:hover {
868-
transition-property: color, background-color, border-color, text-decoration-color,
869-
fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
870+
transition-property: color, background-color, border-color, outline-color,
871+
text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter,
872+
backdrop-filter;
870873
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
871874
transition-duration: 150ms;
872875
}

tests/raw-content.oxide.test.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -757,8 +757,8 @@
757757
backdrop-filter: none;
758758
}
759759
.transition {
760-
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke,
761-
opacity, box-shadow, transform, filter, backdrop-filter;
760+
transition-property: color, background-color, border-color, outline-color, text-decoration-color,
761+
fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
762762
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
763763
transition-duration: 150ms;
764764
}

tests/raw-content.test.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -757,8 +757,8 @@
757757
backdrop-filter: none;
758758
}
759759
.transition {
760-
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke,
761-
opacity, box-shadow, transform, filter, backdrop-filter;
760+
transition-property: color, background-color, border-color, outline-color, text-decoration-color,
761+
fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
762762
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
763763
transition-duration: 150ms;
764764
}

0 commit comments

Comments
 (0)