cherry-markdown
cherry-markdown copied to clipboard
还是关于主题参数配置
请问mainTheme、codeBlockTheme、inlineCodeTheme、toolbarTheme这些参数的选项,只能从上面themeList列表里面选择吗?例如代码主题里面有one-dark、coy这两个主题,但是themeList里面并没有这两个主题,这要怎么操作?如果不是从themeList里面选,其他的参数为什么没有一个list?
themeSettings: {
themeList: [
{ className: 'default', label: '默认' },
{ className: 'dark', label: '暗黑' },
{ className: 'light', label: '明亮' },
{ className: 'green', label: '清新' },
{ className: 'red', label: '热情' },
{ className: 'violet', label: '淡雅' },
{ className: 'blue', label: '清幽' },
],
mainTheme: 'light',
codeBlockTheme: 'default',
inlineCodeTheme: 'red', // red or black
toolbarTheme: 'dark', // light or dark 优先级低于mainTheme
},