chore(vuepress-theme-reco): change the default value of code theme

This commit is contained in:
reco_luan 2020-07-05 21:52:13 +08:00
parent f56c3c8b77
commit 25050c5371

View File

@ -1,6 +1,7 @@
export default {
created () {
switch (this.$themeConfig.codeTheme) {
const { codeTheme = 'tomorrow' } = this.$themeConfig
switch (codeTheme) {
case 'coy':
import('prismjs/themes/prism-coy.css')
break