Author here, apologies for the dark mode issue and thanks for flagging it -- looks to be an open bug in theme-ui (https://github.com/system-ui/theme-ui/issues/1602).
I've just pushed a workaround that appears to have fixed it.
I've just pushed a workaround that appears to have fixed it.