diff --git a/javascripts/discourse/api-initializers/discourse-rapidoc-theme-component.js b/javascripts/discourse/api-initializers/discourse-rapidoc-theme-component.js index 154328d..1279c9d 100644 --- a/javascripts/discourse/api-initializers/discourse-rapidoc-theme-component.js +++ b/javascripts/discourse/api-initializers/discourse-rapidoc-theme-component.js @@ -43,7 +43,10 @@ async function applyRapidoc(element) { allow-api-list-style-selection="false" allow-spec-file-download="true" allow-authentication="true" + show-method-in-nav-bar="true" theme="${theme === "dark" ? "dark" : "light"}" + nav-bg-color="${theme === "dark" ? "#323334" : "#ebeced"}" + >