UNPKG

@orchestrator-ui/orchestrator-ui-components

Version:

Library of UI Components used to display the workflow orchestrator frontend

25 lines (20 loc) 683 B
import { css } from '@emotion/react'; import { WfoTheme } from '@/hooks'; export const getWfoPageHeaderStyles = ({ theme }: WfoTheme) => { const appNameStyle = css({ paddingRight: theme.base, marginRight: theme.base, borderRight: `${theme.border.width.thick} solid ${theme.colors.subduedText}`, }); const getHeaderStyle = (navigationHeight: number) => { return css({ backgroundColor: theme.colors.header, height: navigationHeight, borderBottom: theme.colors.header, // Overrides EuiHeader default border bottom }); }; return { appNameStyle, getHeaderStyle, }; };