I know the variable sets the whole background color, but when I put it in my Style.css, I can't get it to color the whole panel. If I change it in the Material file, it changes it fine, but I am trying to do this so I can change colors per panel. Can you show me the correct css entry for this?
The first few blocks of CSS won't work as the class .ui-panel is not used. The second class rz-panel is not use in RadzenPanelMenu. What are you trying to achieve? What works in the material css file and what have you tested with in styles.css?
Just to confirm, are you using the RadzenPanel or RadzenPanelMenu? The styles you are referring to are for RadzenPanel, and you are asking about RadzenPanelMenu...
Anyways, to override the material #ffffff color of --rz-panel-background-color, add this to your css:
This should probably be .my-panel.rz-panel (without whitespace between them which means "has both my-panel and rz-panel css classes"). That's if you apply class my-panel to that particular RadzenPanel.