From b199b3f1420d3912e574876c2578aad03815fa33 Mon Sep 17 00:00:00 2001 From: Adel El Masery <40900377+ael-mas@users.noreply.github.com> Date: Wed, 6 Mar 2019 16:23:16 -0500 Subject: [PATCH] Update api-pages.md --- docs/api-pages.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/api-pages.md b/docs/api-pages.md index f80aeb6ea3bc..d36fc109c71b 100644 --- a/docs/api-pages.md +++ b/docs/api-pages.md @@ -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.