1
0
Fork 1
mirror of https://github.com/SomboChea/ui synced 2024-05-20 18:31:37 +07:00
verdaccio-ui/src/components/RegistryInfoDialog/styles.ts
2019-12-12 12:10:27 -03:00

16 lines
534 B
TypeScript

import styled from '@emotion/styled';
import DialogTitle from '../../muiComponents/DialogTitle';
import DialogContent from '../../muiComponents/DialogContent';
import { Theme } from '../../design-tokens/theme';
export const Title = styled(DialogTitle)<{ theme?: Theme }>(props => ({
backgroundColor: props.theme && props.theme.palette.primary.main,
color: props.theme && props.theme.palette.white,
fontSize: props.theme && props.theme.fontSize.lg,
}));
export const Content = styled(DialogContent)({
padding: '0 24px',
});