mirror of
https://github.com/rust-lang/mdBook
synced 2025-03-04 23:27:17 +00:00
Merge pull request #145 from onur/light-theme-as-default
Use light theme when javascript is disabled
This commit is contained in:
commit
a4a277cb50
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@
|
|||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<body class="light">
|
||||
<!-- Set the theme before any content is loaded, prevents flash -->
|
||||
<script type="text/javascript">
|
||||
var theme = localStorage.getItem('theme');
|
||||
|
|
Loading…
Add table
Reference in a new issue