]> git.lizzy.rs Git - rust.git/commit
Set preferred-dark-theme to the last dark theme
authornasso <nassomails@gmail.com>
Thu, 15 Oct 2020 16:03:25 +0000 (18:03 +0200)
committernasso <nassomails@gmail.com>
Thu, 15 Oct 2020 16:03:25 +0000 (18:03 +0200)
commit59f9cf2ac1872866a9a2d4b83f56b96f131a6a5e
treee7b01ff7a12b8ef5d6003734e130aad3257b7931
parentdb7c8f4c3c181b14cc1d12ee1a5a17e249dbc65b
Set preferred-dark-theme to the last dark theme

If the user doesn't have a preferred dark theme but is already using a
dark theme, set the preferred dark theme to be that theme
src/librustdoc/html/static/storage.js