Is it possible to block android system from changing app motive to dark?

Xiaomi MIUI got a new function which is able to change app colors to dark. Is there any way to prevent this action?

yes keep everything in white color if u keep none it will come in black

none color will take the color but making them white it works in a way that no one can change colors

Sorry but I can’t understand you. I don’t want to ruin my desing and layout. Just want to prevent system from interfere in my app colors.