Skip to content

CSS: table.col-header ​

th — A column-header cell (InstUI Table.ColHeader); the default th styling, overridden by table.row-header for th[scope="row"].

Usage ​

css
@import "@pantoken/components/components.css";
@import "@pantoken/components/table.col-header.css";

Examples ​

Accessibility ​

Use <th scope="col"> so each column header is associated with the cells beneath it.

ConditionsRebrand (light)Rebrand (dark)CanvasCanvas High Contrast
more-contrast-respectedWCAG 2.2 1.4.3, 1.4.6PassPassPassPass
reflow-at-320pxWCAG 2.2 1.4.10PassPassPassPass
text-spacing-no-clippingWCAG 2.2 1.4.12PassPassPassPass
Screen reader (simulated)Rebrand (light)Rebrand (dark)CanvasCanvas High Contrast
AnnouncementsPassPassPassPass

These automated results do not establish that the page meets WCAG; manual review is still needed.

Tokens consumed ​

TokenTypeValue
--instui-border-width-md<length>0.125rem
--instui-component-table-col-header-background<color>LightDarklight-dark(#ffffff, #10141A)
--instui-component-table-col-header-color<color>LightDarklight-dark(#273540, #F2F4F5)
--instui-component-table-col-header-line-height<percentage>125%
--instui-component-table-col-header-padding-horizontal<length>0.75rem
--instui-component-table-col-header-padding-vertical<length>0.5rem
--instui-component-table-head-font-weight<integer>600
--instui-component-table-row-border-color<color>LightDarklight-dark(#8D959F, #6A7883)