Skip to content

Commit 399cd16

Browse files
authored
Revert "update: updated docs site dark and light mode with switch and redesigned search bar using docsify-darklight-theme (#1182)"
This reverts commit 415f295.
1 parent 817c079 commit 399cd16

File tree

1 file changed

+7
-14
lines changed

1 file changed

+7
-14
lines changed

docs/index.html

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,14 @@
99
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
1010
<meta name="keywords" content="doc,docs,documentation,gitbook,creator,generator,github,jekyll,github-pages">
1111
<meta name="description" content="A magical documentation generator.">
12-
1312
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
14-
<link
15-
rel="stylesheet"
16-
href="//cdn.jsdelivr.net/npm/docsify-darklight-theme@3/dist/docsify-style.min.css"
17-
title="docsify-darklight-theme"
18-
type="text/css"
19-
/>
20-
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/lib/themes/vue.css" title="vue" disabled>
13+
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/lib/themes/vue.css" title="vue">
2114
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/lib/themes/dark.css" title="dark" disabled>
2215
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/lib/themes/buble.css" title="buble" disabled>
2316
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/lib/themes/pure.css" title="pure" disabled>
2417

2518
<script src="//cdn.jsdelivr.net/npm/docsify-plugin-codefund/index.js"></script>
19+
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/[email protected]/dist/style.css"/>
2620
<style>
2721
nav.app-nav li ul {
2822
min-width: 100px;
@@ -70,8 +64,10 @@
7064
'/': 'Search'
7165
}
7266
},
73-
darklightTheme: {
74-
bodyFontSize : '15px',
67+
darkMode: {
68+
light: {
69+
toggleBtnBg: '#42b983'
70+
}
7571
},
7672
formatUpdated: '{MM}/{DD} {HH}:{mm}',
7773
plugins: [
@@ -107,10 +103,7 @@
107103
<script src="//cdn.jsdelivr.net/npm/prismjs/components/prism-bash.min.js"></script>
108104
<script src="//cdn.jsdelivr.net/npm/prismjs/components/prism-markdown.min.js"></script>
109105
<script src="//cdn.jsdelivr.net/npm/prismjs/components/prism-nginx.min.js"></script>
110-
<script
111-
src="//cdn.jsdelivr.net/npm/docsify-darklight-theme@3/dist/index.min.js"
112-
type="text/javascript">
113-
</script>
106+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/index.js"></script>
114107
<script>
115108
((window.gitter = {}).chat = {}).options = {
116109
room: 'docsifyjs/Lobby'

0 commit comments

Comments
 (0)