2019-11-23 19:41:14 +07:00
|
|
|
import styled from '@emotion/styled';
|
2019-10-08 03:19:18 +07:00
|
|
|
|
2019-10-13 02:11:23 +07:00
|
|
|
import ListItem from '../../muiComponents/ListItem';
|
2019-10-13 02:41:42 +07:00
|
|
|
import Text from '../../muiComponents/Text';
|
2019-12-12 22:10:27 +07:00
|
|
|
import { Theme } from '../../design-tokens/theme';
|
2019-03-28 05:39:06 +07:00
|
|
|
|
2019-12-12 22:10:27 +07:00
|
|
|
export const StyledText = styled(Text)<{ theme?: Theme }>(props => ({
|
|
|
|
fontWeight: props.theme && props.theme.fontWeight.bold,
|
2019-10-13 02:41:42 +07:00
|
|
|
textTransform: 'capitalize',
|
2019-12-12 22:10:27 +07:00
|
|
|
}));
|
2019-03-28 05:39:06 +07:00
|
|
|
|
2019-07-15 16:57:32 +07:00
|
|
|
export const EngineListItem = styled(ListItem)({
|
2019-10-13 02:11:23 +07:00
|
|
|
paddingLeft: 0,
|
2019-07-15 16:57:32 +07:00
|
|
|
});
|