1
0
mirror of https://github.com/SomboChea/ui synced 2024-11-05 06:04:28 +07:00
verdaccio-ui/src/components/Developers/styles.ts

35 lines
720 B
TypeScript
Raw Normal View History

2019-02-03 17:23:33 +07:00
import styled from 'react-emotion';
import Typography from '@material-ui/core/Typography';
import { default as MuiFab } from '@material-ui/core/Fab';
import colors from '../../utils/styles/colors';
export const Details = styled('span')({
display: 'flex',
flexDirection: 'column',
alignItems: 'center',
});
2019-02-03 17:23:33 +07:00
export const Content = styled('div')({
margin: '10px 0 10px 0',
display: 'flex',
flexWrap: 'wrap',
'> *': {
margin: '5px',
},
});
2019-02-03 17:23:33 +07:00
export const Heading = styled(Typography)({
'&&': {
fontWeight: 700,
marginBottom: '10px',
textTransform: 'capitalize',
},
});
2019-02-03 17:23:33 +07:00
export const Fab = styled(MuiFab)({
'&&': {
backgroundColor: colors.primary,
color: colors.white,
},
});