Custom CSS

# How to add custom CSS

Adding custom CSS to your document is very simple.

# 1. Create a style.css file

In your docs directory, createa style.css file.

css
body {
  background-color: red;
}

# 2. Add the css file to your gendocs.json

In your gendocs.json file

json
{
  // Other settings

  "css": "./style.css"
}

# 3. Publish

Publish your docs and your css will be published with it!

gendocs publish