DEV Community

Discussion on: 3 simple steps to add dark mode support to your DEV static blog generated via Stackbit

Collapse
 
mauro_codes profile image
Mauro Garcia

I just realized that there is an issue with the DEV Liquid Tags being rendered as light mode. The problem is that Stackbit is using iframes to render those Liquid Tags so I cannot apply any dark-mode styles.

Thoughts?

Collapse
 
rhymes profile image
rhymes

Hi Mauro, great article. If I recall correctly iframes from different domains can't be styled so this probably requires server side support somehow

Please consider escalating this to the DEV issue tracker github.com/thepracticaldev/dev.to/...

Thank you!

Collapse
 
mauro_codes profile image
Mauro Garcia

Yep! you are right! Those iframes can't be styled 😞
I'm gonna open an issue on github as you recommended. Thanks for your help!