Open Closed

How to prevent dark mode in the browser from changing the 'fam fam fam' flags ? #10691


0
kevinjhackett created

Anyone know how can i prevent the browser dark mode from affecting the "fam fam fam" flags ?

I like how my default ANZ site looks great in light/dark modes, but the flags (and a couple of other images) look bad in dark mode.

I'm sure Americans and French won't appreciate their red BLACK and blue flags!


1 Answer(s)
  • 0
    musa.demir created
    Support Team

    Hi @kevinjhackett You can create an issue about it in github. Since then, you can implement your own code here https://github.com/aspnetzero/aspnet-zero-core/blob/62db1b7783949e6f92b06206d96d234ec7baaf5c/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Web.Mvc/Areas/AppAreaName/Views/Shared/Components/AppAreaNameLanguageSwitch/Default.cshtml#L17