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:41:42 +07:00
|
|
|
import Text from '../../muiComponents/Text';
|
2019-10-31 14:12:18 +07:00
|
|
|
import { default as MuiListItemText } from '../../muiComponents/ListItemText';
|
2019-12-12 22:10:27 +07:00
|
|
|
import { Theme } from '../../design-tokens/theme';
|
2019-02-03 17:23:33 +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-02-03 17:23:33 +07:00
|
|
|
|
2019-07-15 15:41:12 +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
|
|
|
|
2019-07-15 16:57:32 +07:00
|
|
|
export const ListItemText = styled(MuiListItemText)({
|
2019-10-31 14:12:18 +07:00
|
|
|
flex: 'none',
|
|
|
|
color: 'black',
|
|
|
|
opacity: 0.6,
|
2019-07-15 16:57:32 +07:00
|
|
|
});
|