1
0
Fork 1
mirror of https://github.com/SomboChea/ui synced 2024-06-28 22:15:32 +07:00
verdaccio-ui/src/components/Dependencies/styles.ts

27 lines
639 B
TypeScript
Raw Normal View History

import styled from '@emotion/styled';
import Text from '../../muiComponents/Text';
2019-10-26 13:44:25 +07:00
import Card from '../../muiComponents/Card';
import Chip from '../../muiComponents/Chip';
import { Theme } from '../../design-tokens/theme';
2019-02-03 17:23:33 +07:00
export const CardWrap = styled(Card)({
margin: '0 0 16px',
});
2019-02-03 17:23:33 +07:00
export const StyledText = styled(Text)<{ theme?: Theme }>(props => ({
fontWeight: props.theme && props.theme.fontWeight.bold,
textTransform: 'capitalize',
}));
2019-02-03 17:23:33 +07:00
export const Tags = styled('div')({
display: 'flex',
justifyContent: 'start',
flexWrap: 'wrap',
margin: '0 -5px',
});
2019-02-03 17:23:33 +07:00
export const Tag = styled(Chip)({
margin: '5px',
});