mirror of
https://github.com/kha7iq/pingme.git
synced 2025-05-15 22:30:11 -07:00
docs: set dark background for website
This commit is contained in:
parent
4c363e1192
commit
f9d0d5a93d
@ -6,7 +6,6 @@
|
|||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
||||||
<meta name="description" content="Description">
|
<meta name="description" content="Description">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
|
||||||
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify@4/lib/themes/vue.css">
|
|
||||||
<link
|
<link
|
||||||
rel="stylesheet"
|
rel="stylesheet"
|
||||||
href="//cdn.jsdelivr.net/npm/docsify-darklight-theme@latest/dist/style.min.css"
|
href="//cdn.jsdelivr.net/npm/docsify-darklight-theme@latest/dist/style.min.css"
|
||||||
@ -19,11 +18,31 @@
|
|||||||
<script>
|
<script>
|
||||||
window.$docsify = {
|
window.$docsify = {
|
||||||
homepage: 'home.md',
|
homepage: 'home.md',
|
||||||
|
siteFont : 'Source Sans Pro',
|
||||||
|
defaultTheme : 'light | dark',
|
||||||
|
codeFontFamily : 'monospace',
|
||||||
logo: '/_media/logo.png',
|
logo: '/_media/logo.png',
|
||||||
loadSidebar: true,
|
loadSidebar: true,
|
||||||
subMaxLevel: 2,
|
subMaxLevel: 2,
|
||||||
name: 'PingMe',
|
name: 'PingMe',
|
||||||
repo: 'https://github.com/kha7iq/pingme'
|
repo: 'https://github.com/kha7iq/pingme',
|
||||||
|
darklightTheme: {
|
||||||
|
siteFont : 'PT Sans',
|
||||||
|
defaultTheme : 'dark | light',
|
||||||
|
codeFontFamily : 'Roboto Mono, Monaco, courier, monospace',
|
||||||
|
bodyFontSize : '16px',
|
||||||
|
dark: {
|
||||||
|
accent: '#ffa500',
|
||||||
|
background: '#282C34',
|
||||||
|
codeTextColor : '#b4b4b4',
|
||||||
|
codeBackgroundColor : '#353A44',
|
||||||
|
coverBackground : '#161B22'
|
||||||
|
},
|
||||||
|
light: {
|
||||||
|
accent: '#008080',
|
||||||
|
coverBackground : '#f0f0f0'
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<!-- Docsify v4 -->
|
<!-- Docsify v4 -->
|
||||||
@ -32,5 +51,7 @@
|
|||||||
src="//cdn.jsdelivr.net/npm/docsify-darklight-theme@latest/dist/index.min.js"
|
src="//cdn.jsdelivr.net/npm/docsify-darklight-theme@latest/dist/index.min.js"
|
||||||
type="text/javascript">
|
type="text/javascript">
|
||||||
</script>
|
</script>
|
||||||
|
<script src="//unpkg.com/prismjs/components/prism-bash.min.js"></script>
|
||||||
|
<script src="//unpkg.com/prismjs/components/prism-yaml.min.js "></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
Loading…
x
Reference in New Issue
Block a user