By default the frame around the fig is bright white.
By setting the dark class the frame color is inverted.