Minimal theme dark mode issue re: links

Maybe because it’s midnight and I should have gone to bed an hour ago, but can anyone take a look at the Minimal theme in dark mode and figure out why the

main > ul > li > a:link, main > ul > li > a:visited {
	border-bottom-color: var(--fg);

is not in fact using the dark mode’s value for var(--fg)? It seems to be sticking with light mode’s value, even though everything else appear to be correct.

ETA: Ah, well, it seems the theme has both a border-bottom, and then elsewhere a text-decoration, so that’s not right at all.

ETA: Oh, that’s not it, either. It’s conflicting border statements.