1
0
Fork 1
mirror of https://github.com/SomboChea/ui synced 2024-06-26 13:05:33 +07:00
verdaccio-ui/src/components/Developers/styles.ts

36 lines
787 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';
import { fontWeight } from '../../utils/styles/sizes';
2019-02-03 17:23:33 +07:00
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: fontWeight.bold,
marginBottom: '10px',
textTransform: 'capitalize',
},
});
2019-02-03 17:23:33 +07:00
export const Fab = styled(MuiFab)({
'&&': {
backgroundColor: colors.primary,
color: colors.white,
},
});