chore(vuepress-theme-reco): change the default value of code theme
This commit is contained in:
parent
f56c3c8b77
commit
25050c5371
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user