@atlaskit/css-reset
Version:
A base stylesheet for the Atlassian Design System.
46 lines (40 loc) • 1.01 kB
JavaScript
import evaluateInner from './utils/evaluate-inner';
const _default_1 = evaluateInner`
table {
border-collapse: collapse;
width: 100%;
}
thead,
tbody,
tfoot {
border-bottom: ${"var(--ds-border-width-selected, 2px)"} solid ${"var(--ds-border, #DFE1E6)"};
}
td,
th {
border: none;
padding: ${"var(--ds-space-050, 4px)"} ${"var(--ds-space-100, 8px)"};
text-align: left;
}
th {
vertical-align: top;
}
td:first-child,
style:first-child + td,
th:first-child,
style:first-child + th {
padding-left: 0;
}
td:last-child,
th:last-child {
padding-right: 0;
}
caption {
font: ${"var(--ds-font-heading-medium, 500 1.4285714285714286em/1.2 ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)"};
letter-spacing: -0.008em;
color: ${"var(--ds-text, #292A2E)"};
margin-top: 28px;
margin-bottom: ${"var(--ds-space-100, 8px)"};
text-align: left;
}
`;
export default _default_1;