How to set the M3 sidesheet background?

Is there a way to set the background color of the whole sidesheet in the new M3 theme? I don’t mean the background of the sidesheet content, but really the full div of the whole sidesheet.

1 Like

Found the solution.
In your theme.css simply add something like this:

.anvil-m3-sidesheet {
  background-color: %color:Secondary%;
}
3 Likes