mirror of
https://github.com/SomboChea/ui
synced 2024-05-18 09:21:37 +07:00
67d7188cf5
* chore: update material-ui@4.x * test: update test for ActionBar and TestField * chore: add types * chore: update types * test: update test for Author * chore: fixed bunch of unit test * chore: remove unused import * chore: remove comments * chore: replace shallow my mount * chore: update git hooks * chore: fix styles * chore: update dependencies * chore: remove types material-ui
53 lines
1.1 KiB
TypeScript
53 lines
1.1 KiB
TypeScript
import styled from 'react-emotion';
|
|
import Grid from '@material-ui/core/Grid';
|
|
import ListItem from '@material-ui/core/ListItem';
|
|
import Typography from '@material-ui/core/Typography';
|
|
|
|
import Github from '../../icons/GitHub';
|
|
import colors from '../../utils/styles/colors';
|
|
import { fontWeight } from '../../utils/styles/sizes';
|
|
import ListItemText from '@material-ui/core/ListItemText';
|
|
|
|
export const Heading = styled(Typography)({
|
|
'&&': {
|
|
fontWeight: fontWeight.bold,
|
|
textTransform: 'capitalize',
|
|
},
|
|
});
|
|
|
|
export const GridRepo = styled(Grid)({
|
|
'&&': {
|
|
alignItems: 'center',
|
|
},
|
|
});
|
|
|
|
export const GithubLink = styled('a')({
|
|
'&&': {
|
|
color: colors.primary,
|
|
},
|
|
});
|
|
|
|
export const GithubLogo = styled(Github)({
|
|
'&&': {
|
|
fontSize: '40px',
|
|
color: colors.primary,
|
|
backgroundColor: colors.greySuperLight,
|
|
},
|
|
});
|
|
|
|
export const RepositoryListItem = styled(ListItem)({
|
|
'&&': {
|
|
padding: 0,
|
|
},
|
|
'&&:hover': {
|
|
backgroundColor: 'transparent',
|
|
},
|
|
});
|
|
|
|
export const RepositoryListItemText = styled(ListItemText)({
|
|
'&&': {
|
|
padding: '0 10px',
|
|
margin: 0,
|
|
},
|
|
});
|