In this case, the body element has a class of nav-is-white. Therefore, the nav color is updated to white.
.nav { color: black; .nav-is-white & { color: white; } }
<body class="<?php echo implode(" ", $page_type); ?>">