@elastic/eui
Version:
Elastic UI Component Library
18 lines (17 loc) • 1 kB
JavaScript
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except
* in compliance with, at your election, the Elastic License 2.0 or the Server
* Side Public License, v 1.
*/
import { css } from '@emotion/react';
import { highContrastModeStyles } from '../../global_styling/functions/high_contrast';
export var euiSubStepsStyles = function euiSubStepsStyles(euiThemeContext) {
var euiTheme = euiThemeContext.euiTheme;
return {
euiSubSteps: /*#__PURE__*/css("padding:", euiTheme.size.base, ";background-color:", euiTheme.colors.lightestShade, ";margin-block-end:", euiTheme.size.base, ";", highContrastModeStyles(euiThemeContext, {
preferred: "border: ".concat(euiTheme.border.thin, ";")
}), ">*:last-child{margin-block-end:0;}& ol,.euiText & ol{list-style-type:lower-alpha;};label:euiSubSteps;")
};
};