UNPKG

@orchestrator-ui/orchestrator-ui-components

Version:

Library of UI Components used to display the workflow orchestrator frontend

27 lines (23 loc) 759 B
import { css } from '@emotion/react'; import { WfoTheme } from '@/hooks'; export const getWfoFlushSettingsStyle = (wfoTheme: WfoTheme) => { const { theme } = wfoTheme; const comboboxStyle = css({ // .euiComboBox is needed to override eui styling (more specific) '&.euiComboBox': { '.euiComboBox__inputWrap': { border: `1px solid ${theme.colors.lightShade}`, boxShadow: 'none', backgroundColor: theme.colors.body, }, '&.euiComboBox-isOpen': { '.euiComboBox__inputWrap': { backgroundColor: theme.colors.emptyShade, }, }, }, }); return { comboboxStyle, }; };