verdaccio-ui/src/components/Engines/styles.ts
2019-12-12 12:10:27 -03:00

15 lines
425 B
TypeScript

import styled from '@emotion/styled';
import ListItem from '../../muiComponents/ListItem';
import Text from '../../muiComponents/Text';
import { Theme } from '../../design-tokens/theme';
export const StyledText = styled(Text)<{ theme?: Theme }>(props => ({
fontWeight: props.theme && props.theme.fontWeight.bold,
textTransform: 'capitalize',
}));
export const EngineListItem = styled(ListItem)({
paddingLeft: 0,
});