electron / website

:electron: The Electron website

Home Page:https://electronjs.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Theme toggle contrast issue in when in light mode

dewanshDT opened this issue · comments

current behavior on hover

electron

expected behavior on hover

electroncorrect

this is a design flaw and improving this will make the website more accessible and visible to a wider range of users.

@erickzhao I would like to fix this please assign this to me.

I can reproduce this on a stock Docusaurus website as well. It's not related to any styling issues on our end. Maybe you want to fix this upstream instead?

https://github.com/facebook/docusaurus

I am getting an error as
'docusaurus' is not recognized as an internal or external command,
operable program or batch file.

when npm add docusaurus --dev, then alsoit is adding. what i need to do for this.

what i need to do for this.

To install the Electron website locally? You should just need to install the dependencies that are already listed. We use Yarn Classic for local dev, so you would want to do yarn and then yarn start to run the website in dev mode.

If you want to start a new Docusaurus website, you should follow their Getting Started guide:
https://docusaurus.io/

I don't believe they use the docusaurus package at all for V2.

I could not find out the element using dev tools. How can we know where the elements are present in the code base using dev tools? I tried to find the elements based on the class names which are in the dev tools. But i could not find out. This is very interesting. i would love to know how to find the elements in the codebase

Actually you don't need to do anything in this issue. This issue is not present in electron website it is problem of docusaurus itself and I've already reported it.

Thanks @dewanshDT. I'll close this out!