Skip to content

Commit

Permalink
Update order of color properties in transition and `transition-colo…
Browse files Browse the repository at this point in the history
…rs` utilities
  • Loading branch information
reinink committed Dec 15, 2021
1 parent 9934174 commit 1c7a793
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions stubs/defaultConfig.stub.js
Original file line number Diff line number Diff line change
Expand Up @@ -854,8 +854,8 @@ module.exports = {
none: 'none',
all: 'all',
DEFAULT:
'background-color, border-color, text-decoration-color, color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter',
colors: 'background-color, border-color, text-decoration-color, color, fill, stroke',
'background-color, border-color, color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter',
colors: 'background-color, border-color, color, text-decoration-color, fill, stroke',
opacity: 'opacity',
shadow: 'box-shadow',
transform: 'transform',
Expand Down
4 changes: 2 additions & 2 deletions tests/basic-usage.test.css
Original file line number Diff line number Diff line change
Expand Up @@ -1020,8 +1020,8 @@
backdrop-filter: none;
}
.transition {
transition-property: background-color, border-color, text-decoration-color, color, fill, stroke, opacity, box-shadow,
transform, filter, backdrop-filter;
transition-property: background-color, border-color, color, text-decoration-color, fill, stroke,
opacity, box-shadow, transform, filter, backdrop-filter;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 150ms;
}
Expand Down
12 changes: 6 additions & 6 deletions tests/kitchen-sink.test.css
Original file line number Diff line number Diff line change
Expand Up @@ -378,8 +378,8 @@ div {
}
@media (prefers-reduced-motion: no-preference) {
.motion-safe\:transition {
transition-property: background-color, border-color, text-decoration-color, color, fill, stroke, opacity, box-shadow,
transform, filter, backdrop-filter;
transition-property: background-color, border-color, color, text-decoration-color, fill, stroke,
opacity, box-shadow, transform, filter, backdrop-filter;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 150ms;
}
Expand All @@ -389,8 +389,8 @@ div {
}
@media (prefers-reduced-motion: reduce) {
.motion-reduce\:transition {
transition-property: background-color, border-color, text-decoration-color, color, fill, stroke, opacity, box-shadow,
transform, filter, backdrop-filter;
transition-property: background-color, border-color, color, text-decoration-color, fill, stroke,
opacity, box-shadow, transform, filter, backdrop-filter;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 150ms;
}
Expand Down Expand Up @@ -492,8 +492,8 @@ div {
}
@media (prefers-reduced-motion: no-preference) {
.md\:motion-safe\:hover\:transition:hover {
transition-property: background-color, border-color, text-decoration-color, color, fill, stroke, opacity, box-shadow,
transform, filter, backdrop-filter;
transition-property: background-color, border-color, color, text-decoration-color, fill,
stroke, opacity, box-shadow, transform, filter, backdrop-filter;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 150ms;
}
Expand Down
4 changes: 2 additions & 2 deletions tests/raw-content.test.css
Original file line number Diff line number Diff line change
Expand Up @@ -712,8 +712,8 @@
backdrop-filter: none;
}
.transition {
transition-property: background-color, border-color, text-decoration-color, color, fill, stroke, opacity, box-shadow,
transform, filter, backdrop-filter;
transition-property: background-color, border-color, color, text-decoration-color, fill, stroke,
opacity, box-shadow, transform, filter, backdrop-filter;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 150ms;
}
Expand Down

0 comments on commit 1c7a793

Please sign in to comment.