Force dark theme demo – iOS Firefox

The content on this page was verified in December 2016 using Firefox 161.1 (81395) for iOS with “Appearance” – “Website Dark Mode” enabled.

Color functions

Each list has a white background and red text. In Firefox for iOS, there is a bug that causes the background color of lab(), lch(), oklab(), and oklch() to turn white.

@layer

The following box uses the CSS @layer rule and is set to have a white background and black text. In Firefox for iOS, the force dark theme will not be applied, and the background will remain white.

Text in box

a element without an href attribute

The following text are markup using <a> element without an href attribute. Normally, the text should appear in white, but in Firefox for iOS, it appears in blue, as if it were a link.

Text (not a link)

Frame

In Firefox for iOS, the force dark theme does not apply to areas within frames.