Documentation Index Fetch the complete documentation index at: https://docs.omni.co/llms.txt
Use this file to discover all available pages before exploring further.
This allows you to maintain consistent coloring for dimension values across visualizations, whether they’re on the same dashboard or on different dashboards.
Syntax
<dimension_name> :
colors :
conditions :
- condition :
is : <value>
color : <color>
else : <fallback_color>
Properties
The name of the dimension. Dimension names must:
Be unique within the view
Start with a letter
Contain only alphanumeric characters and underscores
Hide dimension_name properties
Contains color configuration for the dimension. A list of condition objects that map specific values to colors. Hide conditions properties
A condition specified using filter syntax . Currently, only the is: syntax is supported. The condition must be a child of the condition key. The color to be used in visualizations when the condition is met. Can be specified using any legal CSS method . Optional fallback color applied to values that don’t meet any condition in the list.
Examples
Multiple color conditions
status :
order_by_field : status_order
colors :
conditions :
- condition :
is : Complete
color : green
- condition :
is : Processing
color : rgb(0, 0, 255)
- condition :
is : Pending
color : rgba(0, 0, 255, 0.3)
- condition :
is : Shipped
color : hsl(120, 100%, 50%)
- condition :
is : Cancelled
color : "#000000"
else : red
priority :
colors :
conditions :
- condition :
is : High
color : red
- condition :
is : Low
color : green
else : gray