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

35 lines
754 B
TypeScript
Raw Normal View History

2019-02-03 17:23:33 +07:00
import styled from 'react-emotion';
import { default as MuiFab } from '@material-ui/core/Fab';
2019-02-03 17:23:33 +07:00
import colors from '../../utils/styles/colors';
import { fontWeight } from '../../utils/styles/sizes';
import Text from '../../muiComponents/Text';
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 StyledText = styled(Text)({
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,
},
});