@orchestrator-ui/orchestrator-ui-components
Version:
Library of UI Components used to display the workflow orchestrator frontend
28 lines (22 loc) • 609 B
text/typescript
import { css } from '@emotion/react';
import { WfoTheme } from '@/hooks';
export const getWfoSummaryCardHeaderStyles = ({ theme }: WfoTheme) => {
const avatarStyle = css({
maxHeight: theme.base * 3,
maxWidth: theme.base * 3,
});
const totalSectionStyle = css({
display: 'flex',
flexDirection: 'column',
justifyContent: 'space-between',
});
const valueStyle = css({
fontSize: theme.size.l,
fontWeight: theme.font.weight.semiBold,
});
return {
avatarStyle,
totalSectionStyle,
valueStyle,
};
};