1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02:00
unleash.unleash/frontend/src/common.styles.js

66 lines
1.3 KiB
JavaScript
Raw Normal View History

import { makeStyles } from '@material-ui/styles';
export const useCommonStyles = makeStyles(theme => ({
contentSpacingY: {
'& > *': {
margin: '0.5rem 0',
},
},
contentSpacingYLarge: {
'& > *': {
margin: '1.5rem 0',
},
},
contentSpacingX: {
'& > *': {
margin: '0 0.8rem',
},
},
divider: {
margin: '1rem 0',
backgroundColor: theme.palette.division.main,
height: '3px',
width: '100%',
},
largeDivider: {
margin: '2rem 0',
backgroundColor: theme.palette.division.main,
height: '3px',
width: '100%',
},
bold: {
fontWeight: 'bold',
},
flexRow: {
display: 'flex',
alignItems: 'center',
},
flexColumn: {
display: 'flex',
flexDirection: 'column',
},
itemsCenter: {
alignItems: 'center',
},
justifyCenter: {
justifyContent: 'center',
},
flexWrap: {
flexWrap: 'wrap',
},
textCenter: {
textAlign: 'center',
},
fullWidth: {
width: '100%',
},
fullHeight: {
height: '100%',
},
title: {
fontSize: theme.fontSizes.mainHeader,
fontWeight: 'bold',
marginBottom: '0.5rem',
},
}));