Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

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


User avatar
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)
  • User Avatar
    0
    musa.demir created

    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