verdaccio-ui/src/components/Engines/styles.ts

15 lines
425 B
TypeScript
Raw Normal View History

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