/*!
 * SPDX-License-Identifier: Apache-2.0
 *
 * The OpenSearch Contributors require contributions made to
 * this file be licensed under the Apache-2.0 license or a
 * compatible open source license.
 *
 * Modifications Copyright OpenSearch Contributors. See
 * GitHub history for details.
 */

$ouiControlBarBackground: lightOrDarkTheme($ouiColorDarkestShade, $ouiColorInk);
$ouiControlBarText: lighten(makeHighContrastColor($ouiColorLightestShade, $ouiControlBarBackground), 20%);
$ouiControlBarBorderColor: transparentize($ouiColorGhost, .8);
$ouiControlBarInitialHeight: $ouiSizeXXL;
$ouiControlBarMaxHeight: calc(100vh - #{$ouiSize * 5});

// Pixel heights ensure no blurriness caused by half pixel offsets
$ouiControlBarHeights: (
  s: $ouiSize * 15,
  m: $ouiSize * 30,
  l: 100vh,
);



/* OUI -> EUI Aliases */
$euiControlBarBackground: $ouiControlBarBackground;
$euiControlBarText: $ouiControlBarText;
$euiControlBarBorderColor: $ouiControlBarBorderColor;
$euiControlBarInitialHeight: $ouiControlBarInitialHeight;
$euiControlBarMaxHeight: $ouiControlBarMaxHeight;
$euiControlBarHeights: $ouiControlBarHeights;
/* End of Aliases */
