verdaccio-ui/src/components/UpLinks/styles.ts

27 lines
606 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 MuiListItemText } from '@material-ui/core/ListItemText';
import { fontWeight } from '../../utils/styles/sizes';
2019-02-03 17:23:33 +07:00
export const Heading = styled(Typography)({
'&&': {
fontWeight: fontWeight.bold,
},
});
2019-02-03 17:23:33 +07:00
export const Spacer = styled('div')({
flex: '1 1 auto',
borderBottom: '1px dotted rgba(0, 0, 0, 0.2)',
whiteSpace: 'nowrap',
height: '0.5em',
});
2019-02-03 17:23:33 +07:00
export const ListItemText = styled(MuiListItemText)({
'&&': {
flex: 'none',
color: 'black',
opacity: 0.6,
},
});