saucelabs/sauce-docs

No dark mode styles available

christian-bromann opened this issue ยท 2 comments

๐Ÿ› Bug Report

Have you read the Contributing Guidelines on issues?

  • Yes

Description

I am using MacOS and enabled dark mode on a system level. This propagates into the browser and makes Docusarus automatically use dark mode too. However the Sauce specific styles don't have a dark mode version yet (it seems only on the front page and header) making the site look like this:

Screenshot 2021-03-04 at 16 28 11

Screenshot 2021-03-04 at 16 35 44

To Reproduce

Switch do dark mode in your system and open the app.

Expected Behavior

I suggest to have some Sauce specific Dark Mode styles ๐ŸŒ• ๐Ÿ•ถ

Actual Behavior

A mix of both

Scripts and configuration needed to reproduce this issue (if applicable)

Your Environment

  • OS: OSX
  • Node version:
  • Docusaurus version:
  • Browser version:

Hi @christian-bromann! James turned on the dark-mode option for the docs, so we now have a selection toggle that applies the dark mode theme.
Screen Shot 2021-05-14 at 1 46 01 PM
Screen Shot 2021-05-14 at 1 47 14 PM
I believe it defaults to whichever system setting you have set, but you can also override the system setting as desired. Does this adequately solve your issue? Thanks!

Hi. We're very happy to announce that we've added Dark Mode. If we missed anything, please let us know.

Thanks,

Matt Wyman

Chief Product & Growth Officer, SauceLabs