@@ -15,9 +15,9 @@ governing permissions and limitations under the License.
1515
1616: root {
1717 /* Bug: this must be 0ms, not 0 */
18- --spectrum-dialog-background-entry-animation-delay : 0ms ;
19- --spectrum-dialog-background-exit-animation-ease : cubic-bezier (0.5 , 0 , 1 , 1 ); /* wrong in DNA */
20- --spectrum-dialog-background-entry-animation-ease : cubic-bezier (0 , 0 , 0.40 , 1 ); /* wrong in DNA */
18+ --spectrum-dialog-confirm- background-entry-animation-delay : 0ms ;
19+ --spectrum-dialog-confirm- background-exit-animation-ease : cubic-bezier (0.5 , 0 , 1 , 1 ); /* wrong in DNA */
20+ --spectrum-dialog-confirm- background-entry-animation-ease : cubic-bezier (0 , 0 , 0.40 , 1 ); /* wrong in DNA */
2121}
2222
2323.spectrum-Underlay {
@@ -35,13 +35,13 @@ governing permissions and limitations under the License.
3535 overflow : hidden;
3636
3737 /* Exit animations */
38- transition : opacity var (--spectrum-dialog-background-exit-animation-duration ) var (--spectrum-dialog-background-exit-animation-ease ) var (--spectrum-dialog-background-exit-animation-delay ),
39- visibility 0ms linear calc (var (--spectrum-dialog-background-exit-animation-delay ) + var (--spectrum-dialog-background-exit-animation-duration ));
38+ transition : opacity var (--spectrum-dialog-confirm- background-exit-animation-duration ) var (--spectrum-dialog-confirm- background-exit-animation-ease ) var (--spectrum-dialog-confirm -background-exit-animation-delay ),
39+ visibility 0ms linear calc (var (--spectrum-dialog-confirm- background-exit-animation-delay ) + var (--spectrum-dialog-confirm -background-exit-animation-duration ));
4040}
4141
4242.spectrum-Underlay .is-open {
4343 @inherit : %spectrum- overlay- - open;
4444
4545 /* Entry animations */
46- transition : opacity var (--spectrum-dialog-background-entry-animation-duration ) var (--spectrum-dialog-background-entry-animation-ease ) var (--spectrum-dialog-background-entry-animation-delay );
46+ transition : opacity var (--spectrum-dialog-confirm- background-entry-animation-duration ) var (--spectrum-dialog-confirm- background-entry-animation-ease ) var (--spectrum-dialog-confirm -background-entry-animation-delay );
4747}
0 commit comments