about summary refs log tree commit diff
path: root/src/librustdoc/html/static/storage.js
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2018-03-28 11:18:45 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2018-03-29 13:45:56 +0200
commit772a8028ffbb3386d8da8cf5a17517b453eed767 (patch)
treeb9d2d064d699d2aaaf55d03c010843e1e88f407f /src/librustdoc/html/static/storage.js
parent14ac1b5faab32d268a85dfde6c6592b7183c5864 (diff)
downloadrust-772a8028ffbb3386d8da8cf5a17517b453eed767.tar.gz
rust-772a8028ffbb3386d8da8cf5a17517b453eed767.zip
Rename main theme into light theme
Diffstat (limited to 'src/librustdoc/html/static/storage.js')
-rw-r--r--src/librustdoc/html/static/storage.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/html/static/storage.js b/src/librustdoc/html/static/storage.js
index c8571e4cf91..2f4e203ebc5 100644
--- a/src/librustdoc/html/static/storage.js
+++ b/src/librustdoc/html/static/storage.js
@@ -67,4 +67,4 @@ function switchTheme(styleElem, mainStyleElem, newTheme) {
     }
 }
 
-switchTheme(currentTheme, mainTheme, getCurrentValue('rustdoc-theme') || 'main');
+switchTheme(currentTheme, mainTheme, getCurrentValue('rustdoc-theme') || 'light');