@elastic/eui
Version:
Elastic UI Component Library
21 lines (20 loc) • 936 B
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 { euiTextStyles } from '../text/text.styles';
export var euiInlineEditTextStyles = function euiInlineEditTextStyles(euiThemeContext) {
var textFontStyles = euiTextStyles(euiThemeContext);
return {
euiInlineEditText: /*#__PURE__*/css(";label:euiInlineEditText;"),
fontSize: {
xs: /*#__PURE__*/css(".euiFieldText{", textFontStyles.xs, ";};label:xs;"),
s: /*#__PURE__*/css(".euiFieldText{", textFontStyles.s, ";};label:s;"),
m: /*#__PURE__*/css(".euiFieldText{", textFontStyles.m, ";};label:m;")
}
};
};