feat: Dark/Light Theme support for code blocks

This commit is contained in:
NGPixel authored and Nicolas Giard committed 2017-07-09 00:01:34 -04:00
1 parent 8cf3f6f066
commit 06b49e037b
2 files changed
+53 -1

No files matched your search

+1 -1
View File
@@ -77,7 +77,7 @@ block content
h1.title#title= pageData.meta.title
if pageData.meta.subtitle
h2.subtitle= pageData.meta.subtitle
.content.mkcontent(v-pre)
.content.mkcontent(v-pre, class=[appconfig.theme.code.dark ? 'is-code-dark' : 'is-code-light'])
!= pageData.html
modal-create-page(basepath=pageData.meta.path)