Dark mode not applied to notes and warnings

Take a look at the following screenshots from the Security page:

image

image