Skip to content

Commit

Permalink
feat(transitions): add root variable
Browse files Browse the repository at this point in the history
closes #6470
  • Loading branch information
johnleider committed Jan 29, 2024
1 parent 0e94ff4 commit e5e6277
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/vuetify/src/styles/generic/_transitions.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@

@mixin transition-default() {
&-enter-active {
transition-duration: 0.3s !important;
transition-duration: settings.$transition-duration-root !important;
transition-timing-function: settings.$standard-easing !important;
}

&-leave-active {
transition-duration: 0.3s !important;
transition-duration: settings.$transition-duration-root !important;
transition-timing-function: settings.$standard-easing !important;
}

&-move {
transition-duration: 0.5s !important;
transition-duration: settings.$transition-move-duration-root !important;
transition-property: transform !important;
transition-timing-function: settings.$standard-easing !important;
}
Expand Down
2 changes: 2 additions & 0 deletions packages/vuetify/src/styles/settings/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ $line-height-root: 1.5 !default;
$border-color-root: rgba(var(--v-border-color), var(--v-border-opacity)) !default;
$border-radius-root: 4px !default;
$border-style-root: solid !default;
$transition-duration-root: 0.3s !default;
$transition-move-duration-root: 0.5s !default;

$borders: () !default;
$borders: map-deep-merge(
Expand Down

0 comments on commit e5e6277

Please sign in to comment.