Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document how to find CSS elements to override #1246

Closed
JoelMarcey opened this issue Feb 25, 2019 · 3 comments
Closed

Document how to find CSS elements to override #1246

JoelMarcey opened this issue Feb 25, 2019 · 3 comments
Labels
difficulty: starter Issues that are starter difficulty level, e.g. minimal tweaking with a clear test plan. documentation The issue is related to the documentation of Docusaurus good first issue If you are just getting started with Docusaurus, this issue should be a good place to begin. status: claimed Issue has been claimed by a contributor who plans to work on it.

Comments

@JoelMarcey
Copy link
Contributor

📚 Documentation

https://docusaurus.io/docs/en/api-pages#styles talks about overriding default styles with custom styles, but it does not mention where to go to look for the default styles.

They are in main.css which can be inspected in one of three places:

  1. website/node_modules/docusaurus/lib/static/css/main.css after doing a docusaurus-init or yarn install to start developing your site.
  2. https://github.com/facebook/Docusaurus/blob/master/v1/lib/static/css/main.css
  3. Or you can use your browsers Developer Tools to inspect elements directly to see the name of what to override.

Have you read the Contributing Guidelines on issues?

Yes. I helped write them 😄

@JoelMarcey JoelMarcey added good first issue If you are just getting started with Docusaurus, this issue should be a good place to begin. documentation The issue is related to the documentation of Docusaurus difficulty: starter Issues that are starter difficulty level, e.g. minimal tweaking with a clear test plan. labels Feb 25, 2019
@ael-mas
Copy link
Contributor

ael-mas commented Mar 5, 2019

I'm interested in working on this issue if it is still up for grabs.

@JoelMarcey JoelMarcey added the status: claimed Issue has been claimed by a contributor who plans to work on it. label Mar 5, 2019
@JoelMarcey
Copy link
Contributor Author

Thanks @ael-mas.

We've added an issue: claimed label so that others will know not to start work on the issue. If you change your mind about the issue, no worries! Just let us know so that we can remove the label and free it up for someone else to claim.

We will check in with you periodically so that we can keep the task updated with the progress.

@yangshun
Copy link
Contributor

yangshun commented Mar 7, 2019

Fixed in #1266

@yangshun yangshun closed this as completed Mar 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty: starter Issues that are starter difficulty level, e.g. minimal tweaking with a clear test plan. documentation The issue is related to the documentation of Docusaurus good first issue If you are just getting started with Docusaurus, this issue should be a good place to begin. status: claimed Issue has been claimed by a contributor who plans to work on it.
Projects
None yet
Development

No branches or pull requests

3 participants