@orchestrator-ui/orchestrator-ui-components
Version:
Library of UI Components used to display the workflow orchestrator frontend
23 lines (17 loc) • 549 B
text/typescript
import { css } from '@emotion/react';
import { WfoTheme } from '@/hooks';
import { getFormFieldsBaseStyle } from '@/theme';
export const getWfoTableSettingsModalStyles = (wfoTheme: WfoTheme) => {
const { formFieldBaseStyle } = getFormFieldsBaseStyle(wfoTheme);
const { theme } = wfoTheme;
const formRowStyle = css({
justifyContent: 'space-between',
'.euiFormLabel': {
color: theme.colors.text,
},
});
return {
formRowStyle,
selectFieldStyle: formFieldBaseStyle,
};
};