feat: support dark theme for utterances and giscus

This commit is contained in:
Timothy Lin
2021-07-18 15:49:42 +08:00
parent 5ff632776c
commit 5e1f47b074
3 changed files with 20 additions and 9 deletions

View File

@ -32,6 +32,8 @@ const siteMetadata = {
// theme example: light, dark, dark_dimmed, dark_high_contrast
// transparent_dark, preferred_color_scheme, custom
theme: '',
// theme when dark mode
darkTheme: '',
// If the theme option above is set to 'custom`
// please provide a link below to your custom theme css file.
// example: https://giscus.app/themes/custom_example.css
@ -44,6 +46,8 @@ const siteMetadata = {
// theme example: github-light, github-dark, preferred-color-scheme
// github-dark-orange, icy-dark, dark-blue, photon-dark, boxy-light
theme: '',
// theme when dark mode
darkTheme: '',
},
disqus: {
// https://help.disqus.com/en/articles/1717111-what-s-a-shortname