Appearance
BPMN Panel API / Panel Types / TaskFieldsTheme
Type Alias: TaskFieldsTheme
ts
type TaskFieldsTheme = {
columnWidth?: number;
valueOffsetX?: number;
colGap?: number;
lineHeight?: number;
rowGap?: number;
valueGap?: number;
labelSuffix?: string;
firstRowLabelColor?: HexColor;
firstRowValueColor?: HexColor;
rowLabelColor?: HexColor;
rowValueColor?: HexColor;
};Defined in: features/panels/variants/bpmn/types/panel/graph/theme/index.ts:29
Declared field styling shape for task cards
The current panel renderer does not consume this configuration.
Properties
| Property | Type | Description |
|---|---|---|
| Width of each field column in pixels | |
| Horizontal offset for field values | |
| Gap between columns in pixels | |
| Height of each line in pixels | |
| Gap between rows in pixels | |
| Gap between label and value in pixels | |
| Suffix appended to labels (e.g., "😊 | |
| Color for first row labels | |
| Color for first row values | |
| Color for subsequent row labels | |
| Color for subsequent row values |