UNPKG

@elastic/eui

Version:

Elastic UI Component Library

22 lines (21 loc) 852 B
/* * 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 { mathWithUnits } from '@elastic/eui-theme-common'; export var euiNotificationIconStyles = function euiNotificationIconStyles(_ref) { var euiTheme = _ref.euiTheme; var sizeL = mathWithUnits(euiTheme.size.base, function (x) { return x * 1.25; }); return { euiNotificationIcon: /*#__PURE__*/css(";label:euiNotificationIcon;"), size: { l: /*#__PURE__*/css("block-size:", sizeL, ";inline-size:", sizeL, ";;label:l;") } }; };