From e0193a84784d4971e228315498ccc4ff2e71b934 Mon Sep 17 00:00:00 2001 From: Victor Lin <13424970+victorlin@users.noreply.github.com> Date: Mon, 23 Oct 2023 16:25:20 -0700 Subject: [PATCH 1/2] Document unselectedBackground --- docs/customise-client/api.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/customise-client/api.rst b/docs/customise-client/api.rst index e750e95c1..7ed56aae4 100644 --- a/docs/customise-client/api.rst +++ b/docs/customise-client/api.rst @@ -54,7 +54,8 @@ 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" } } @@ -67,6 +68,8 @@ For instance, here is the customisation used by nextstrain.org: +--------------------------+------------------------------+----------------------------------------------------+ | unselectedColor | color | Text color of unselected text / button text | +--------------------------+------------------------------+----------------------------------------------------+ +| unselectedBackground | color | Background color of unselected toggle | ++--------------------------+------------------------------+----------------------------------------------------+ | font-family | font | Inner shadow of the sidebar on the right hand side | +--------------------------+------------------------------+----------------------------------------------------+ | background | color | Background color | From e354e374b98c870995a66c1afc7c836a9d5bcef1 Mon Sep 17 00:00:00 2001 From: Victor Lin <13424970+victorlin@users.noreply.github.com> Date: Mon, 23 Oct 2023 16:32:16 -0700 Subject: [PATCH 2/2] Update descriptions --- docs/customise-client/api.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/customise-client/api.rst b/docs/customise-client/api.rst index 7ed56aae4..c389dbf48 100644 --- a/docs/customise-client/api.rst +++ b/docs/customise-client/api.rst @@ -62,17 +62,17 @@ For instance, here is the customisation used by nextstrain.org: +--------------------------+------------------------------+----------------------------------------------------+ | 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 | +--------------------------+------------------------------+----------------------------------------------------+ +| color | color | Text color of all other text | ++--------------------------+------------------------------+----------------------------------------------------+ | unselectedBackground | color | Background color of unselected toggle | +--------------------------+------------------------------+----------------------------------------------------+ -| font-family | font | Inner shadow of the sidebar on the right hand side | +| font-family | font | Font used throughout the sidebar | +--------------------------+------------------------------+----------------------------------------------------+ -| background | color | Background color | +| background | color | Background color of the entire sidebar | +--------------------------+------------------------------+----------------------------------------------------+ Components