Skip to content

Commit

Permalink
fix(pageheader): moved sass vars to top scope
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderMelox committed Jan 24, 2025
1 parent d325b66 commit 57f50e4
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ $right-section-std-width: 100% - $left-section-std-width;
$left-section-alt-width: 75%;
$right-section-alt-width: 100% - $left-section-alt-width;

$animation: background-appear;
// This transitions the background-color between from-color and to-color
$duration: 1000ms;

@keyframes background-appear {
from {
/* stylelint-disable-next-line carbon/theme-use */
Expand Down Expand Up @@ -91,10 +95,6 @@ $right-section-alt-width: 100% - $left-section-alt-width;
inset-block-start: 0;
inset-inline-start: 0;

// This transitions the background-color between from-color and to-color
$duration: 1000ms;

$animation: background-appear;
@if $with-shadow {
$animation: background-and-shadow-appear;
}
Expand Down

0 comments on commit 57f50e4

Please sign in to comment.