Dark mode is not disabled in <iframe>

hi guys,

i had disabled dark mode by removing @media (prefers-color-scheme: dark) from variables.scss
everything is working fine but when i use iframe in one of my pages, the embedded web site is being showed in dark mode.
moreover the embedded web site does not have dark mode theme.
Any idea what could cause this? or how i can disable it ?
thank you.

Typically, the embed sited would have some styles that influence that. I would check the embed site and see if they have the color-scheme: light dark; applied to it.