UNPKG

@elastic/eui

Version:

Elastic UI Component Library

18 lines (17 loc) 961 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 { euiFontSize, logicalCSS } from '../../global_styling'; export var euiTreeViewStyles = function euiTreeViewStyles(euiThemeContext) { var euiTheme = euiThemeContext.euiTheme; return { euiTreeView: /*#__PURE__*/css("margin:0;list-style-type:none;& &{", logicalCSS('padding-left', euiTheme.size.l), ";};label:euiTreeView;"), default: /*#__PURE__*/css("font-size:", euiFontSize(euiThemeContext, 'm').fontSize, ";;label:default;"), compressed: /*#__PURE__*/css("font-size:", euiFontSize(euiThemeContext, 's').fontSize, ";;label:compressed;") }; };