Skip to content

Commit 591b79e

Browse files
committed
Remove outline-color from default color properties to transition (Reverts #10385)
1 parent 17159ff commit 591b79e

6 files changed

+16
-19
lines changed

stubs/defaultConfig.stub.js

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

tests/basic-usage.oxide.test.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -1020,8 +1020,8 @@
10201020
backdrop-filter: none;
10211021
}
10221022
.transition {
1023-
transition-property: color, background-color, border-color, outline-color, text-decoration-color,
1024-
fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
1023+
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke,
1024+
opacity, box-shadow, transform, filter, backdrop-filter;
10251025
transition-duration: 0.15s;
10261026
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
10271027
}

tests/basic-usage.test.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -1020,8 +1020,8 @@
10201020
backdrop-filter: none;
10211021
}
10221022
.transition {
1023-
transition-property: color, background-color, border-color, outline-color, text-decoration-color,
1024-
fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
1023+
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke,
1024+
opacity, box-shadow, transform, filter, backdrop-filter;
10251025
transition-duration: 0.15s;
10261026
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
10271027
}

tests/kitchen-sink.test.js

+6-9
Original file line numberDiff line numberDiff line change
@@ -698,9 +698,8 @@ crosscheck(() => {
698698
}
699699
@media (prefers-reduced-motion: no-preference) {
700700
.motion-safe\:transition {
701-
transition-property: color, background-color, border-color, outline-color,
702-
text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter,
703-
backdrop-filter;
701+
transition-property: color, background-color, border-color, text-decoration-color, fill,
702+
stroke, opacity, box-shadow, transform, filter, backdrop-filter;
704703
transition-duration: 0.15s;
705704
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
706705
}
@@ -710,9 +709,8 @@ crosscheck(() => {
710709
}
711710
@media (prefers-reduced-motion: reduce) {
712711
.motion-reduce\:transition {
713-
transition-property: color, background-color, border-color, outline-color,
714-
text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter,
715-
backdrop-filter;
712+
transition-property: color, background-color, border-color, text-decoration-color, fill,
713+
stroke, opacity, box-shadow, transform, filter, backdrop-filter;
716714
transition-duration: 0.15s;
717715
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
718716
}
@@ -759,9 +757,8 @@ crosscheck(() => {
759757
}
760758
@media (prefers-reduced-motion: no-preference) {
761759
.md\:motion-safe\:hover\:transition:hover {
762-
transition-property: color, background-color, border-color, outline-color,
763-
text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter,
764-
backdrop-filter;
760+
transition-property: color, background-color, border-color, text-decoration-color,
761+
fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
765762
transition-duration: 0.15s;
766763
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
767764
}

tests/raw-content.oxide.test.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -761,8 +761,8 @@
761761
backdrop-filter: none;
762762
}
763763
.transition {
764-
transition-property: color, background-color, border-color, outline-color, text-decoration-color,
765-
fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
764+
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke,
765+
opacity, box-shadow, transform, filter, backdrop-filter;
766766
transition-duration: 0.15s;
767767
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
768768
}

tests/raw-content.test.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -761,8 +761,8 @@
761761
backdrop-filter: none;
762762
}
763763
.transition {
764-
transition-property: color, background-color, border-color, outline-color, text-decoration-color,
765-
fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
764+
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke,
765+
opacity, box-shadow, transform, filter, backdrop-filter;
766766
transition-duration: 0.15s;
767767
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
768768
}

0 commit comments

Comments
 (0)