Skip to content

Commit 0c738e2

Browse files
committed
Improve the handling of backgrounds and foregrounds, and fix ordered list styles
1 parent cc3008d commit 0c738e2

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

src/overrides.css

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,14 @@
77
-apple-system, blinkmacsystemfont, "Segoe UI", roboto, oxygen, ubuntu,
88
cantarell, "Open Sans", "Helvetica Neue", sans-serif;
99
margin: 0 !important;
10+
11+
color: var(--body-fg);
12+
background: var(--body-bg);
1013
}
1114

1215
.ProseMirror * {
13-
color: var(--body-fg);
16+
color: inherit;
17+
background: inherit;
1418
}
1519

1620
.ProseMirror p {
@@ -78,19 +82,19 @@
7882
list-style-type: decimal !important;
7983
}
8084

81-
.ProseMirror ol[type="a"] {
85+
.ProseMirror ol[type="a" s] {
8286
list-style-type: lower-alpha !important;
8387
}
8488

85-
.ProseMirror ol[type="A"] {
89+
.ProseMirror ol[type="A" s] {
8690
list-style-type: upper-alpha !important;
8791
}
8892

89-
.ProseMirror ol[type="i"] {
93+
.ProseMirror ol[type="i" s] {
9094
list-style-type: lower-roman !important;
9195
}
9296

93-
.ProseMirror ol[type="I"] {
97+
.ProseMirror ol[type="I" s] {
9498
list-style-type: upper-roman !important;
9599
}
96100

0 commit comments

Comments
 (0)