2019-02-03 17:23:33 +07:00
|
|
|
import styled from 'react-emotion';
|
2019-06-20 19:37:28 +07:00
|
|
|
import Grid from '@material-ui/core/Grid';
|
|
|
|
import Typography from '@material-ui/core/Typography';
|
2019-10-08 03:19:18 +07:00
|
|
|
import ListItemText from '@material-ui/core/ListItemText';
|
2019-03-28 05:39:06 +07:00
|
|
|
|
|
|
|
import Github from '../../icons/GitHub';
|
|
|
|
import colors from '../../utils/styles/colors';
|
2019-08-09 04:08:37 +07:00
|
|
|
import { fontWeight } from '../../utils/styles/sizes';
|
2019-10-13 02:11:23 +07:00
|
|
|
import ListItem from '../../muiComponents/ListItem';
|
2019-03-28 05:39:06 +07:00
|
|
|
|
2019-07-15 16:57:32 +07:00
|
|
|
export const Heading = styled(Typography)({
|
|
|
|
'&&': {
|
2019-08-09 04:08:37 +07:00
|
|
|
fontWeight: fontWeight.bold,
|
2019-07-15 16:57:32 +07:00
|
|
|
textTransform: 'capitalize',
|
|
|
|
},
|
|
|
|
});
|
2019-02-03 17:23:33 +07:00
|
|
|
|
2019-07-15 16:57:32 +07:00
|
|
|
export const GridRepo = styled(Grid)({
|
|
|
|
'&&': {
|
|
|
|
alignItems: 'center',
|
|
|
|
},
|
|
|
|
});
|
2019-03-28 05:39:06 +07:00
|
|
|
|
2019-07-15 16:57:32 +07:00
|
|
|
export const GithubLink = styled('a')({
|
|
|
|
'&&': {
|
|
|
|
color: colors.primary,
|
|
|
|
},
|
|
|
|
});
|
2019-03-28 05:39:06 +07:00
|
|
|
|
2019-07-15 16:57:32 +07:00
|
|
|
export const GithubLogo = styled(Github)({
|
|
|
|
'&&': {
|
|
|
|
fontSize: '40px',
|
|
|
|
color: colors.primary,
|
|
|
|
backgroundColor: colors.greySuperLight,
|
|
|
|
},
|
|
|
|
});
|
2019-03-28 05:39:06 +07:00
|
|
|
|
2019-07-15 16:57:32 +07:00
|
|
|
export const RepositoryListItem = styled(ListItem)({
|
|
|
|
'&&': {
|
2019-08-31 16:02:46 +07:00
|
|
|
padding: 0,
|
|
|
|
},
|
|
|
|
'&&:hover': {
|
|
|
|
backgroundColor: 'transparent',
|
|
|
|
},
|
|
|
|
});
|
|
|
|
|
|
|
|
export const RepositoryListItemText = styled(ListItemText)({
|
|
|
|
'&&': {
|
|
|
|
padding: '0 10px',
|
|
|
|
margin: 0,
|
2019-07-15 16:57:32 +07:00
|
|
|
},
|
|
|
|
});
|