@orchestrator-ui/orchestrator-ui-components
Version:
Library of UI Components used to display the workflow orchestrator frontend
24 lines (20 loc) • 592 B
text/typescript
import { css } from '@emotion/react';
import { WfoTheme } from '@/hooks';
export const getStyles = ({ theme }: WfoTheme) => {
const panelStyle = css({
display: 'flex',
padding: theme.base * 2,
flexDirection: 'row',
alignItems: 'center',
justifyContent: 'center',
gap: theme.base / 2,
backgroundColor: theme.colors.body,
borderRadius: theme.border.radius.medium,
color: theme.colors.link,
fontFamily: theme.font.family,
marginTop: theme.base * 2,
});
return {
panelStyle,
};
};