saucelabs / sauce-docs

Documentation for the Sauce Labs Platform
https://docs.saucelabs.com
MIT License
19 stars 91 forks source link

No dark mode styles available #227

Closed christian-bromann closed 3 years ago

christian-bromann commented 3 years ago

🐛 Bug Report

Have you read the Contributing Guidelines on issues?

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

sweeneyskirt-sl commented 3 years ago

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!

guinaut commented 3 years ago

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