vdelacou/iblis-ui

View on GitHub
src/layouts/content_with_title/style.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { Theme } from '@material-ui/core';
import { CSSProperties } from '@material-ui/core/styles/withStyles';

export const style = (theme: Theme): Record<string, Partial<CSSProperties>> => {
    return {
        titleContainer: {
            paddingTop: theme.spacing.unit * 2,
            borderBottom: `1px solid ${theme.palette.grey[300]}`,
        },
        contentContainer: {
            paddingTop: theme.spacing.unit * 4,
            paddingBottom: theme.spacing.unit * 4,
        },
    };
};