DEV Community

loading...

Discussion on: How to Switch Logo in Dark Mode

Collapse
pushkar8723 profile image
Pushkar Anand • Edited

Just to add to it. You can use currentColor. This way just switching the body color will switch color in logo as well.

.logo {
    fill: currentColor;
}