mirror of
https://github.com/SomboChea/ui
synced 2024-05-19 09:51:36 +07:00
111f0c50e5
* chore: updated emotion dependency * feat: introduced theme * refactor: updated emotion styles * fix: fixed emotion error * fix: fixed tests * chore: add missing types Co-Authored-By: Thomas Klein <tmkn@users.noreply.github.com>
27 lines
586 B
TypeScript
27 lines
586 B
TypeScript
import styled from '@emotion/styled';
|
|
|
|
import { fontWeight } from '../../utils/styles/sizes';
|
|
import Text from '../../muiComponents/Text';
|
|
import Card from '../../muiComponents/Card';
|
|
import Chip from '../../muiComponents/Chip';
|
|
|
|
export const CardWrap = styled(Card)({
|
|
margin: '0 0 16px',
|
|
});
|
|
|
|
export const StyledText = styled(Text)({
|
|
fontWeight: fontWeight.bold,
|
|
textTransform: 'capitalize',
|
|
});
|
|
|
|
export const Tags = styled('div')({
|
|
display: 'flex',
|
|
justifyContent: 'start',
|
|
flexWrap: 'wrap',
|
|
margin: '0 -5px',
|
|
});
|
|
|
|
export const Tag = styled(Chip)({
|
|
margin: '5px',
|
|
});
|