Dynamic Colors for Cell styles
The feature enables custom colors to be pulled from a data source. This way the colors are not fixed on the cell style configuration and can change dynamically based on the data source.
Data Souce Support
Add to your data source custom extension for colors.
For example: entry.extensions.color
...
},
"extensions": {
"color": "rgba(255,0,0,0.3)",
}
]
}
Cell Style Configuration
In the cell style editor, change the color field to data key using the right button.
Add the data key. For example: "extensions.color" and save the layout.