Skip to content

Commit

Permalink
fix: issue with duplicated transition variables (#2056)
Browse files Browse the repository at this point in the history
  • Loading branch information
nmerget authored Jan 9, 2024
1 parent 3a266ac commit 40229df
Showing 1 changed file with 4 additions and 20 deletions.
24 changes: 4 additions & 20 deletions packages/foundations/scss/animation/_transitions.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,12 @@

%default-transition {
transition:
outline
var(
--db-transition-duration-ultra-fast,
#{variables.$db-transition-duration-ultra-fast}
),
background-color
var(
--db-transition-color,
#{variables.$db-transition-emotional-straight}
);
outline #{variables.$db-transition-duration-ultra-fast},
background-color #{variables.$db-transition-emotional-straight};
}

%default-fg-transition {
transition:
outline
var(
--db-transition-duration-ultra-fast,
#{variables.$db-transition-duration-ultra-fast}
),
color
var(
--db-transition-color,
#{variables.$db-transition-emotional-straight}
);
outline #{variables.$db-transition-duration-ultra-fast},
color #{variables.$db-transition-emotional-straight};
}

0 comments on commit 40229df

Please sign in to comment.