Typst and Quarto templating

No.when using render.R, the colour of plots change but not the sidebar colour. This is not an issue when i am rendering manually by changing params. The issue i find is quarto params is not getting passed to typst variables (species in this case)