I want to achieve the following:
Create one function that controls all the styling of my cells
When i try to alter the style of my cell with:
#show table.cell: cell => {
if cell.y == 0 {
set table.cell(fill: red)
strong(cell)
}else{
cell
}
}
The strong styling works as expected, but the fill is not working.
I assume that might be the case as the style is set while already being in the scope of the cell, that way the cell remains unaffected.
But how can i achieve the desired result?
Than you for your help