mirror of
https://github.com/SomboChea/ui
synced 2026-01-18 00:56:00 +07:00
refactor: add reusable styles properties
This commit is contained in:
@@ -2,6 +2,7 @@ import styled from 'react-emotion';
|
||||
import Typography from '@material-ui/core/Typography';
|
||||
import { default as MuiFab } from '@material-ui/core/Fab';
|
||||
import colors from '../../utils/styles/colors';
|
||||
import { fontWeight } from '../../utils/styles/sizes';
|
||||
|
||||
export const Details = styled('span')({
|
||||
display: 'flex',
|
||||
@@ -20,7 +21,7 @@ export const Content = styled('div')({
|
||||
|
||||
export const Heading = styled(Typography)({
|
||||
'&&': {
|
||||
fontWeight: 700,
|
||||
fontWeight: fontWeight.bold,
|
||||
marginBottom: '10px',
|
||||
textTransform: 'capitalize',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user