mirror of
https://github.com/doocs/md.git
synced 2024-10-31 00:07:50 +08:00
style: update editor themes
更新编辑器主题
This commit is contained in:
parent
7b126d91e6
commit
c2297e6f4c
@ -151,7 +151,7 @@ section {
|
||||
border: 1px solid #f0f0f0;
|
||||
border-radius: 2px;
|
||||
display: flex;
|
||||
line-height: 26px;
|
||||
line-height: 24px;
|
||||
}
|
||||
|
||||
.code-snippet__fix .code-snippet__line-index {
|
||||
@ -196,7 +196,7 @@ section {
|
||||
|
||||
::-webkit-scrollbar {
|
||||
width: 6px;
|
||||
height: 16px;
|
||||
height: 6px;
|
||||
background-color: #FFF;
|
||||
}
|
||||
|
||||
|
@ -6,9 +6,9 @@ let app = new Vue({
|
||||
output: '',
|
||||
source: '',
|
||||
editorThemes: [
|
||||
{ label: 'base16-light', value: 'base16-light' },
|
||||
{ label: 'duotone-light', value: 'duotone-light' },
|
||||
{ label: 'monokai', value: 'monokai' }
|
||||
{ label: '淡雅', value: 'xq-light'},
|
||||
{ label: '精美', value: 'eclipse'},
|
||||
{ label: '暗绿', value: 'oceanic-next'}
|
||||
],
|
||||
editor: null,
|
||||
builtinFonts: [
|
||||
|
@ -11,9 +11,9 @@
|
||||
<link rel="stylesheet" href="assets/css/loading.css">
|
||||
<link rel="stylesheet" href="https://cdn.staticfile.org/element-ui/2.11.1/theme-chalk/index.css">
|
||||
<link rel="stylesheet" href="https://cdn.staticfile.org/codemirror/5.48.4/codemirror.min.css">
|
||||
<link rel="stylesheet" href="https://cdn.staticfile.org/codemirror/5.48.4/theme/base16-light.min.css">
|
||||
<link rel="stylesheet" href="https://cdn.staticfile.org/codemirror/5.48.4/theme/duotone-light.min.css">
|
||||
<link rel="stylesheet" href="https://cdn.staticfile.org/codemirror/5.48.4/theme/monokai.min.css">
|
||||
<link rel="stylesheet" href="https://cdn.staticfile.org/codemirror/5.48.4/theme/xq-light.min.css">
|
||||
<link rel="stylesheet" href="https://cdn.staticfile.org/codemirror/5.48.4/theme/eclipse.min.css">
|
||||
<link rel="stylesheet" href="https://cdn.staticfile.org/codemirror/5.48.4/theme/oceanic-next.min.css">
|
||||
<link rel="stylesheet" href="libs/prettify/code-themes/github-v2.min.css">
|
||||
<link rel="stylesheet" href="assets/css/app.css">
|
||||
</head>
|
||||
|
Loading…
Reference in New Issue
Block a user