Skip to content

Commit

Permalink
Merge pull request #1718: Update sidebar theme docs
Browse files Browse the repository at this point in the history
  • Loading branch information
victorlin authored Oct 25, 2023
2 parents ba7e1c2 + e354e37 commit 7dc26eb
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions docs/customise-client/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -54,22 +54,25 @@ For instance, here is the customisation used by nextstrain.org:
"sidebarBoxShadow": "rgba(0, 0, 0, 0.2)",
"font-family": "Lato, Helvetica Neue, Helvetica, sans-serif",
"selectedColor": "#5097BA",
"unselectedColor": "#333"
"unselectedColor": "#333",
"unselectedBackground": "#888"
}
}
+--------------------------+------------------------------+----------------------------------------------------+
| Properties | CSS string of | Description |
+==========================+==============================+====================================================+
| color | color | Text color |
+--------------------------+------------------------------+----------------------------------------------------+
| selectedColor | color | Text color of selected text / button text |
+--------------------------+------------------------------+----------------------------------------------------+
| unselectedColor | color | Text color of unselected text / button text |
+--------------------------+------------------------------+----------------------------------------------------+
| font-family | font | Inner shadow of the sidebar on the right hand side |
| color | color | Text color of all other text |
+--------------------------+------------------------------+----------------------------------------------------+
| unselectedBackground | color | Background color of unselected toggle |
+--------------------------+------------------------------+----------------------------------------------------+
| font-family | font | Font used throughout the sidebar |
+--------------------------+------------------------------+----------------------------------------------------+
| background | color | Background color |
| background | color | Background color of the entire sidebar |
+--------------------------+------------------------------+----------------------------------------------------+

Components
Expand Down

0 comments on commit 7dc26eb

Please sign in to comment.