Skip to content

Commit

Permalink
fix: #161 修复"退出源代码模式"按钮显示问题
Browse files Browse the repository at this point in the history
fix: 优化源代码模式的光标停留背景色
  • Loading branch information
liangjingkanji committed Jul 11, 2024
1 parent 4d4fe66 commit 93187ff
Show file tree
Hide file tree
Showing 12 changed files with 72 additions and 0 deletions.
6 changes: 6 additions & 0 deletions drake-ayu.css
Original file line number Diff line number Diff line change
Expand Up @@ -744,6 +744,12 @@ kbd {
background: var(--active-file-bg-color) !important;
}

/*source code mode*/
.cm-s-typora-default .CodeMirror-activeline-background,
.typora-sourceview-on #toggle-sourceview-btn {
background: var(--active-file-bg-color);
}

/*search input*/
.form-control {
border: none;
Expand Down
6 changes: 6 additions & 0 deletions drake-black.css
Original file line number Diff line number Diff line change
Expand Up @@ -744,6 +744,12 @@ kbd {
background: var(--active-file-bg-color) !important;
}

/*source code mode*/
.cm-s-typora-default .CodeMirror-activeline-background,
.typora-sourceview-on #toggle-sourceview-btn {
background: var(--active-file-bg-color);
}

/*search input*/
.form-control {
border: none;
Expand Down
6 changes: 6 additions & 0 deletions drake-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -744,6 +744,12 @@ kbd {
background: var(--active-file-bg-color) !important;
}

/*source code mode*/
.cm-s-typora-default .CodeMirror-activeline-background,
.typora-sourceview-on #toggle-sourceview-btn {
background: var(--active-file-bg-color);
}

/*search input*/
.form-control {
border: none;
Expand Down
6 changes: 6 additions & 0 deletions drake-google.css
Original file line number Diff line number Diff line change
Expand Up @@ -734,6 +734,12 @@ kbd {
background: var(--active-file-bg-color) !important;
}

/*source code mode*/
.cm-s-typora-default .CodeMirror-activeline-background,
.typora-sourceview-on #toggle-sourceview-btn {
background: var(--active-file-bg-color);
}

/*search input*/
.form-control {
border: none;
Expand Down
6 changes: 6 additions & 0 deletions drake-jb.css
Original file line number Diff line number Diff line change
Expand Up @@ -739,6 +739,12 @@ kbd {
background: var(--active-file-bg-color) !important;
}

/*source code mode*/
.cm-s-typora-default .CodeMirror-activeline-background,
.typora-sourceview-on #toggle-sourceview-btn {
background: var(--active-file-bg-color);
}

/*search input*/
.form-control {
border: none;
Expand Down
6 changes: 6 additions & 0 deletions drake-juejin.css
Original file line number Diff line number Diff line change
Expand Up @@ -746,6 +746,12 @@ kbd {
background: var(--active-file-bg-color) !important;
}

/*source code mode*/
.cm-s-typora-default .CodeMirror-activeline-background,
.typora-sourceview-on #toggle-sourceview-btn {
background: var(--active-file-bg-color);
}

/*search input*/
.form-control {
border: none;
Expand Down
6 changes: 6 additions & 0 deletions drake-light.css
Original file line number Diff line number Diff line change
Expand Up @@ -736,6 +736,12 @@ kbd {
background: var(--active-file-bg-color) !important;
}

/*source code mode*/
.cm-s-typora-default .CodeMirror-activeline-background,
.typora-sourceview-on #toggle-sourceview-btn {
background: var(--active-file-bg-color);
}

/*search input*/
.form-control {
border: none;
Expand Down
6 changes: 6 additions & 0 deletions drake-material.css
Original file line number Diff line number Diff line change
Expand Up @@ -744,6 +744,12 @@ kbd {
background: var(--active-file-bg-color) !important;
}

/*source code mode*/
.cm-s-typora-default .CodeMirror-activeline-background,
.typora-sourceview-on #toggle-sourceview-btn {
background: var(--active-file-bg-color);
}

/*search input*/
.form-control {
border: none;
Expand Down
6 changes: 6 additions & 0 deletions drake-purple.css
Original file line number Diff line number Diff line change
Expand Up @@ -744,6 +744,12 @@ kbd {
background: var(--active-file-bg-color) !important;
}

/*source code mode*/
.cm-s-typora-default .CodeMirror-activeline-background,
.typora-sourceview-on #toggle-sourceview-btn {
background: var(--active-file-bg-color);
}

/*search input*/
.form-control {
border: none;
Expand Down
6 changes: 6 additions & 0 deletions drake-vue.css
Original file line number Diff line number Diff line change
Expand Up @@ -729,6 +729,12 @@ kbd {
background: var(--active-file-bg-color) !important;
}

/*source code mode*/
.cm-s-typora-default .CodeMirror-activeline-background,
.typora-sourceview-on #toggle-sourceview-btn {
background: var(--active-file-bg-color);
}

/*search input*/
.form-control {
border: none;
Expand Down
6 changes: 6 additions & 0 deletions drake-vue3.css
Original file line number Diff line number Diff line change
Expand Up @@ -760,6 +760,12 @@ kbd {
background: var(--active-file-bg-color) !important;
}

/*source code mode*/
.cm-s-typora-default .CodeMirror-activeline-background,
.typora-sourceview-on #toggle-sourceview-btn {
background: var(--active-file-bg-color);
}

/*search input*/
.form-control {
border: none;
Expand Down
6 changes: 6 additions & 0 deletions drake.css
Original file line number Diff line number Diff line change
Expand Up @@ -737,6 +737,12 @@ kbd {
background: var(--active-file-bg-color) !important;
}

/*source code mode*/
.cm-s-typora-default .CodeMirror-activeline-background,
.typora-sourceview-on #toggle-sourceview-btn {
background: var(--active-file-bg-color);
}

/*search input*/
.form-control {
border: none;
Expand Down

0 comments on commit 93187ff

Please sign in to comment.