The <gallery> tag in traditional mode has thumbnails with a hardcoded border of 1px solid #c8ccd1. They don't look good in dark mode, and don't match other media thumbnails
They could be changed to use the border-subtle design token, matching other thumbnails