Skip to content

Commit

Permalink
Add !default to all EuiCollapsibleNav SASS variables (#4335)
Browse files Browse the repository at this point in the history
  • Loading branch information
GautierT authored Dec 3, 2020
1 parent a1d469d commit c72ccd9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

- Fixed `EuiErrorBoundary` error message not showing in non-Chromium browsers ([#4324](https://github.com/elastic/eui/pull/4324))
- Fixed `EuiToolTip` closing during initial positioning period ([#4327](https://github.com/elastic/eui/pull/4327))
- Added `!default` to SASS variables of `EuiCollapsibleNav` ([#4335](https://github.com/elastic/eui/pull/4335))

**Theme: Amsterdam**

Expand Down
8 changes: 4 additions & 4 deletions src/components/collapsible_nav/_variables.scss
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
// Sizing
$euiCollapsibleNavWidth: $euiSize * 20; // ~ 320px
$euiCollapsibleNavWidth: $euiSize * 20 !default; // ~ 320px

$euiCollapsibleNavGroupLightBackgroundColor: $euiPageBackgroundColor;
$euiCollapsibleNavGroupLightBackgroundColor: $euiPageBackgroundColor !default;

$euiCollapsibleNavGroupDarkBackgroundColor: lightOrDarkTheme(
shade($euiColorDarkestShade, 20%),
shade($euiColorLightestShade, 50%),
);
) !default;

$euiCollapsibleNavGroupDarkHighContrastColor: makeGraphicContrastColor(
$euiColorPrimary,
$euiCollapsibleNavGroupDarkBackgroundColor
);
) !default;

0 comments on commit c72ccd9

Please sign in to comment.