Skip to content

Commit

Permalink
Update api-pages.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ael-mas authored Mar 6, 2019
1 parent 2ad7413 commit b199b3f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/api-pages.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,8 @@ Static assets should be placed into the `website/static` directory. They can be
You should configure your site's primary, secondary, and code block colors using the `colors` field in `siteConfig` as specified [here](api-site-config.md). You can also configure other colors in the same way as described in the `siteConfig` doc.
There are several ways to access the default styles provided for your site. If you have started developing your website and executed the `docusaurus-init` or `yarn install` command, your default styles can be found at `website/node_modules/docusaurus/lib/static/css/main.css`. Alternatively, the `main.css` file may be inspected directly at the [Docusarus GitHub repository](https://github.com/facebook/Docusaurus/blob/master/v1/lib/static/css/main.css).
You can provide your own custom styles by adding them anywhere in the `website/static` directory. Any `.css` files you provide in the `static` directory will get concatenated to the end of Docusaurus' provided styles, allowing you to add to or override Docusaurus default styles as you wish.
An easy way to figure out what classes you wish to override or add to is to [start your server locally](api-commands.md) and use your browser's inspect element tool.

0 comments on commit b199b3f

Please sign in to comment.