bcgov/citz-imb-staff-purchasing-reimbursement

View on GitHub
app/src/components/custom/modals/modalStyles.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { bcgov } from '../../../constants/colours';

const baseStyle = {
  maxWidth: '25em',
  width: '90%',
  borderRadius: '10px',
};

export const modalStyles = {
  warningModalStyle: {
    ...baseStyle,
    border: `solid ${bcgov.error} 3px`,
  },
  standardModalStyle: {
    ...baseStyle,
    border: `solid ${bcgov.background} 3px`,
  },
};