diff --git a/theme/book.js b/theme/book.js index aa12e7e..1174abf 100644 --- a/theme/book.js +++ b/theme/book.js @@ -327,16 +327,11 @@ function playground_text(playground, hidden = true) { function set_theme(theme, store = true) { let ace_theme; - if (theme == 'coal' || theme == 'navy') { + if (theme == 'clamav') { stylesheets.ayuHighlight.disabled = true; stylesheets.tomorrowNight.disabled = false; stylesheets.highlight.disabled = true; - ace_theme = "ace/theme/tomorrow_night"; - } else if (theme == 'ayu') { - stylesheets.ayuHighlight.disabled = false; - stylesheets.tomorrowNight.disabled = true; - stylesheets.highlight.disabled = true; ace_theme = "ace/theme/tomorrow_night"; } else { stylesheets.ayuHighlight.disabled = true; diff --git a/theme/index.hbs b/theme/index.hbs index 69d92b5..149a122 100644 --- a/theme/index.hbs +++ b/theme/index.hbs @@ -159,11 +159,8 @@ {{#if search_enabled}}