{"size": 618, "ext": "js", "max_stars_repo_path": "packages/unity-web/src/components/Table/TableCell.js", "max_stars_repo_name": "clarityhub/one-design-system", "max_stars_repo_stars_event_min_datetime": "2019-02-24T04:18:01.000Z", "max_stars_repo_stars_event_max_datetime": "2019-05-19T18:56:28.000Z", "max_issues_repo_path": "packages/unity-web/src/components/Table/TableCell.js", "max_issues_repo_name": "clarityhub/one-design-system", "max_issues_repo_issues_event_min_datetime": "2019-09-23T21:30:41.000Z", "max_issues_repo_issues_event_max_datetime": "2021-05-08T08:10:09.000Z", "max_forks_repo_path": "packages/unity-web/src/components/Table/TableCell.js", "max_forks_repo_name": "clarityhub/unity-design-system", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 2, "max_issues_count": 17, "max_forks_count": null, "avg_line_length": 22.0714285714, "max_line_length": 57, "alphanum_fraction": 0.5906148867}
import styled from '@emotion/styled';
import { css } from '@emotion/core';
import colors from '@clarityhub/unity-core/lib/colors';

import { types } from '../../theme/fonts';
import TableHead from './TableHead';

const TableCell = styled.td(
	types.text,
	css`
        display: table-cell;
        vertical-align: inherit;
        border-bottom: 1px solid ${colors.muted.default};
        text-align: left;
        padding: 0.5rem 1rem 0.5rem 1rem;

        &:last-child {
            padding-right: 1rem;
        }

        ${TableHead} & {
            font-weight: 600;
        }
    `
);

export default TableCell;
