1
0
mirror of https://github.com/SomboChea/ui synced 2026-01-17 16:45:49 +07:00

refactor: move cascaded CSS from templates to JS objects

This commit is contained in:
Sergio Herrera Guzmán
2019-07-15 11:57:32 +02:00
parent 8ea017d871
commit 115be1bb6e
26 changed files with 478 additions and 478 deletions

View File

@@ -3,21 +3,21 @@ import ListItem from '@material-ui/core/ListItem';
import Typography from '@material-ui/core/Typography';
import styled from 'react-emotion';
export const Heading = styled(Typography)`
&& {
font-weight: 700;
text-transform: capitalize;
}
`;
export const Heading = styled(Typography)({
'&&': {
fontWeight: 700,
textTransform: 'capitalize',
},
});
export const InstallItem = styled(ListItem)`
&& {
padding: 0;
}
`;
export const InstallItem = styled(ListItem)({
'&&': {
padding: 0,
},
});
export const PackageMangerAvatar = styled(Avatar)`
&& {
border-radius: 0px;
}
`;
export const PackageMangerAvatar = styled(Avatar)({
'&&': {
borderRadius: '0px',
},
});