Skip to content

Commit 225add9

Browse files
committed
fix code mirror style
Signed-off-by: zhangtianli2006 <49156174+zhangtianli2006@users.noreply.github.com>
1 parent 0cf5784 commit 225add9

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/assets/code_mirror/ayu-mirage.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
11
.cm-s-ayu-mirage span.cm-comment {
22
color: #5c6773 !important;
3+
font-style: normal !important;
34
}
45

56
.cm-s-ayu-mirage span.cm-atom {
67
color: #ffd580 !important;
78
}
89

10+
.cm-s-ayu-mirage span.cm-string {
11+
color: #bae67e !important;
12+
}
13+
914
.cm-s-ayu-mirage .cm-matchhighlight {
1015
background-color: #323a4c !important;
1116
}

src/assets/code_mirror/tomorrow.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ span.cm-tag {
3232
}
3333

3434
.cm-s-3024-day span.cm-string {
35-
color: #718c00;
35+
color: #718c00 !important;
3636
}
3737

3838
.cm-s-3024-day span.cm-operator {

0 commit comments

Comments
 (0)