mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-17 03:56:19 +02:00
style: optimize giscus styling
This commit is contained in:
parent
035a4c755e
commit
056c8bad96
4 changed files with 173 additions and 16 deletions
|
@ -46,6 +46,9 @@ const shouldRender = Boolean(repo && repoID && categoryID)
|
|||
return isDark
|
||||
? `${siteUrl}/vendors/giscus/theme-dark.css`
|
||||
: `${siteUrl}/vendors/giscus/theme-light.css`
|
||||
// For local development
|
||||
// ? `http://localhost:4321/vendors/giscus/theme-dark.css`
|
||||
// : `http://localhost:4321/vendors/giscus/theme-light.css`
|
||||
}
|
||||
|
||||
function setupGiscus() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue