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-26 13:44:25 +07:00
|
|
|
import Card from '../../muiComponents/Card';
|
2019-10-31 14:12:18 +07:00
|
|
|
import Chip from '../../muiComponents/Chip';
|
2019-12-12 22:10:27 +07:00
|
|
|
import { Theme } from '../../design-tokens/theme';
|
2019-02-03 17:23:33 +07:00
|
|
|
|
2019-07-15 16:57:32 +07:00
|
|
|
export const CardWrap = styled(Card)({
|
2019-10-31 14:12:18 +07:00
|
|
|
margin: '0 0 16px',
|
2019-07-15 16:57:32 +07:00
|
|
|
});
|
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-10-13 02:41:42 +07:00
|
|
|
textTransform: 'capitalize',
|
2019-12-12 22:10:27 +07:00
|
|
|
}));
|
2019-02-03 17:23:33 +07:00
|
|
|
|
2019-07-15 16:57:32 +07:00
|
|
|
export const Tags = styled('div')({
|
2019-10-31 14:12:18 +07:00
|
|
|
display: 'flex',
|
|
|
|
justifyContent: 'start',
|
|
|
|
flexWrap: 'wrap',
|
|
|
|
margin: '0 -5px',
|
2019-07-15 16:57:32 +07:00
|
|
|
});
|
2019-02-03 17:23:33 +07:00
|
|
|
|
2019-07-15 16:57:32 +07:00
|
|
|
export const Tag = styled(Chip)({
|
2019-10-31 14:12:18 +07:00
|
|
|
margin: '5px',
|
2019-07-15 16:57:32 +07:00
|
|
|
});
|