Skip to content

Commit

Permalink
Move the colour schemes sass to be within the site header shared comp…
Browse files Browse the repository at this point in the history
…onent #3229
  • Loading branch information
davidcmoulton committed May 8, 2024
1 parent 7d07396 commit 0e51a8e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
File renamed without changes.
Expand Up @@ -7,7 +7,7 @@
@use '../../../../sass/states';
@use 'typography';
@use 'list';
@use '../../../../sass/schemed-header-colours';
@use 'schemed-colours';
@use 'button';

$_search-icon-size: functions.px-to-rem(24px);
Expand All @@ -17,7 +17,7 @@ $_search-button-width-on-mobile: $_search-icon-size + $_search-button-padding *
$_left-links-width-not-narrow: 280px;

.site-header {
@include schemed-header-colours.light();
@include schemed-colours.light();
background-color: var(--colour-site-header-background);
width: 100%;
height: functions.px-to-rem(settings.$site-header-height);
Expand All @@ -36,7 +36,7 @@ $_left-links-width-not-narrow: 280px;
}

.site-header--dark {
@include schemed-header-colours.dark();
@include schemed-colours.dark();
}

.site-header__left_links {
Expand Down
Expand Up @@ -7,7 +7,7 @@
@use 'layout';
@use 'breakpoints';
@use 'avatar';
@use '../../../../sass/schemed-header-colours';
@use 'schemed-colours';

$_space-allocated-to-avatar-and-handle: 120px;
$_avatar-right-margin: 6px;
Expand All @@ -16,7 +16,7 @@ $_navigation-text-bottom-spacing: functions.px-to-rem(settings.$navigation-link-
$_avatar-height-coupled-to-buttons: 34px;

.utility-bar {
@include schemed-header-colours.light();
@include schemed-colours.light();
display: flex;
margin-right: 0;
flex-grow: 1;
Expand All @@ -28,7 +28,7 @@ $_avatar-height-coupled-to-buttons: 34px;
}

.utility-bar--dark {
@include schemed-header-colours.dark();
@include schemed-colours.dark();
}

.utility-bar__list {
Expand Down

0 comments on commit 0e51a8e

Please sign in to comment.