bootstrap icon indicating copy to clipboard operation
bootstrap copied to clipboard

Disable color-scheme on iframe

Open androidacy-user opened this issue 2 years ago • 1 comments

When an iframe has transparency, having a dark color-scheme value causes it to render with a white background. This causes text to be invisible if the iframe is respecting dark mode and adapting to it.

One very easy to check example is disqus.

Description

Motivation & Context

Type of changes

  • [x] Bug fix (non-breaking change which fixes an issue)
  • [ ] New feature (non-breaking change which adds functionality)
  • [ ] Refactoring (non-breaking change)
  • [ ] Breaking change (fix or feature that would change existing functionality)

Checklist

  • [x] I have read the contributing guidelines
  • [x] My code follows the code style of the project (using npm run lint)
  • [ ] My change introduces changes to the documentation
  • [ ] I have updated the documentation accordingly
  • [ ] I have added tests to cover my changes
  • [ ] All new and existing tests passed

Live previews

Related issues

androidacy-user avatar Nov 23 '23 11:11 androidacy-user

Have a demo?

mdo avatar Jan 09 '24 02:01 mdo