Style Definition
Predefined Styles
Powersheet includes 20 built-in styles available without any custom definition. Custom styles defined in thestyles section are merged on top of these defaults.
Status Styles
Neutral Styles
Color Styles
Style Resolution Flow
Defining Custom Styles
Using Styles with Formatters
Styles are applied to cells via theformatters section. A formatter references a style name and applies it when an expression evaluates to true.
Using Styles with Headers
Styles are applied to column headers via theheader.style property on a column, or to column group headers via groupStyle and headerStyle on a column group.
Color Token Reference
Styles use color tokens as shorthand for hex color values. Each color family has variants from100 (lightest) to 700 (darkest).
Purple
Blue
Teal
Green
Orange
Red
Grey
Complete YAML Example
Applying Styles to Headers
Header styles are applied through theheader.style property on individual columns and the groupStyle / headerStyle properties on column groups.
Column Header Style
Reusing Header Styles with YAML Anchors
YAML anchors reduce repetition when multiple columns share the same header style:Column Group Header Style

Header Style Resolution
columns.<key>.header.style— applied if defined (highest priority)columnGroups.<id>.headerStyle— applied if column belongs to a group and noheader.styleis set- Default white — applied if neither is defined
Custom Header Styles
Define custom styles in thestyles section and reference them from header configurations:
Related Pages
- Formatters — conditional styling rules that reference styles
- Column Groups —
groupStyleandheaderStyleproperties - Columns —
formatterandheadercolumn settings