feat(index): add dark theme

This commit is contained in:
Denny Nguyen 2022-02-05 00:30:47 -06:00
parent 6f86047a84
commit cf42913853

View File

@ -6,6 +6,12 @@
<meta charset="UTF-8">
<title>Free for developers</title>
<link rel="stylesheet" href="//unpkg.com/docsify/themes/vue.css">
<link
rel="stylesheet"
href="//cdn.jsdelivr.net/npm/docsify-darklight-theme@latest/dist/style.min.css"
title="docsify-darklight-theme"
type="text/css"
/>
<link rel="icon" href="logo.webp" type="image/gif" sizes="16x16">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-DLYKZXPL9J"></script>
@ -25,11 +31,20 @@
window.$docsify = {
name: 'Free for developers',
repo: 'ripienaar/free-for-dev',
search: ['/']
search: ['/'],
darklightTheme: {
siteFont : 'Source Sans Pro, Helvetica Neue',
codeFontFamily : 'Roboto Mono, Monaco, courier, monospace',
bodyFontSize: '15px',
}
}
</script>
<script src="//unpkg.com/docsify/lib/docsify.min.js"></script>
<script src="//unpkg.com/docsify/lib/plugins/search.min.js"></script>
<script
src="//cdn.jsdelivr.net/npm/docsify-darklight-theme@latest/dist/index.min.js"
type="text/javascript">
</script>
<style>
a[href="#/?id=%f0%9f%aa%90-deta-the-free-cloud-for-hackers"] {
color: rgb(233, 105, 0) !important;