@orchestrator-ui/orchestrator-ui-components
Version:
Library of UI Components used to display the workflow orchestrator frontend
24 lines (19 loc) • 560 B
text/typescript
import { css } from '@emotion/react';
import { WfoTheme } from '@/hooks';
export const getStyles = ({ theme }: WfoTheme) => {
const selectableStyle = css({
'.euiFieldSearch': {
backgroundColor: theme.colors.body,
color: theme.colors.text,
'&:focus': {
backgroundColor: theme.colors.emptyShade,
},
},
'.euiSelectableList .euiSelectableListItem': {
borderColor: theme.colors.lightShade,
},
});
return {
selectableStyle,
};
};