phloo in previous versions, yes. The latest version means you need to wrap your dark CSS classes in
body when (@config-dark-mode =true) {
}
And obviously use the same but substitute true with false for light mode, so
body when (@config-dark-mode =false) {
}
In addition, if you are using body.dark
in any of the classes, you'll need to remove this