-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Updated docs site dark and light mode with switch and redesigned search bar using docsify-darklight-theme #1182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
5868d5a
theme updated with dark and light mode switch
boopathikumar018 c05ce94
Merge branch 'develop' into develop
boopathikumar018 9125d66
requested changes made
boopathikumar018 3f0652f
Merge branch 'develop' of my.github.com:boopathikumar018/docsify into…
boopathikumar018 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,14 +9,20 @@ | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> | ||
<meta name="keywords" content="doc,docs,documentation,gitbook,creator,generator,github,jekyll,github-pages"> | ||
<meta name="description" content="A magical documentation generator."> | ||
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0"> | ||
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/lib/themes/vue.css" title="vue"> | ||
<link | ||
rel="stylesheet" | ||
href="//cdn.jsdelivr.net/npm/docsify-darklight-theme@3/dist/docsify-style.min.css" | ||
title="docsify-darklight-theme" | ||
type="text/css" | ||
/> | ||
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/lib/themes/vue.css" title="vue" disabled> | ||
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/lib/themes/dark.css" title="dark" disabled> | ||
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/lib/themes/buble.css" title="buble" disabled> | ||
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/lib/themes/pure.css" title="pure" disabled> | ||
|
||
<script src="//cdn.jsdelivr.net/npm/docsify-plugin-codefund/index.js"></script> | ||
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/[email protected]/dist/style.css"/> | ||
<style> | ||
nav.app-nav li ul { | ||
min-width: 100px; | ||
|
@@ -64,10 +70,8 @@ | |
'/': 'Search' | ||
} | ||
}, | ||
darkMode: { | ||
light: { | ||
toggleBtnBg: '#42b983' | ||
} | ||
darklightTheme: { | ||
bodyFontSize : '15px', | ||
}, | ||
formatUpdated: '{MM}/{DD} {HH}:{mm}', | ||
plugins: [ | ||
|
@@ -103,7 +107,10 @@ | |
<script src="//cdn.jsdelivr.net/npm/prismjs/components/prism-bash.min.js"></script> | ||
<script src="//cdn.jsdelivr.net/npm/prismjs/components/prism-markdown.min.js"></script> | ||
<script src="//cdn.jsdelivr.net/npm/prismjs/components/prism-nginx.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/index.js"></script> | ||
<script | ||
src="//cdn.jsdelivr.net/npm/docsify-darklight-theme@3/dist/index.min.js" | ||
type="text/javascript"> | ||
</script> | ||
<script> | ||
((window.gitter = {}).chat = {}).options = { | ||
room: 'docsifyjs/Lobby' | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.