From f9d0d5a93debf4bc5af41960859a380b18727944 Mon Sep 17 00:00:00 2001 From: kha7iq Date: Thu, 12 Aug 2021 23:37:46 +0800 Subject: [PATCH] docs: set dark background for website --- docs/index.html | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/docs/index.html b/docs/index.html index cd5a827..7b2202e 100644 --- a/docs/index.html +++ b/docs/index.html @@ -6,7 +6,6 @@ - window.$docsify = { homepage: 'home.md', + siteFont : 'Source Sans Pro', + defaultTheme : 'light | dark', + codeFontFamily : 'monospace', logo: '/_media/logo.png', loadSidebar: true, subMaxLevel: 2, 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' + } + } } @@ -32,5 +51,7 @@ src="//cdn.jsdelivr.net/npm/docsify-darklight-theme@latest/dist/index.min.js" type="text/javascript"> + + \ No newline at end of file