Forum Discussion
Peki72
Mar 28, 2024Copper Contributor
Use JSON row-formatting for my list to give additional rows a diffirent color. color is not correct
Hi,
I use this JSON code below to give additional rows a diffirent color.
{
"$schema": "https://developer.microsoft.com/json-schemas/sp/v2/row-formatting.schema.json",
"additionalRowClass": "=if(@rowIndex % 2 == 0,'ms-bgColor-themeLighter ms-bgColor-themeLight--hover','')"
}
In the code i use ms-bgcolor-themeLighter and ms-bgColor-ThemeLight--hover. Which are these colors:
But i get purple !!!
Why is that happening and how to solve this?
Gr. P
No RepliesBe the first to reply