Skip to content

Commit ce23f3d

Browse files
committed
Tweak error colors
1 parent be7ddbb commit ce23f3d

File tree

4 files changed

+16
-0
lines changed

4 files changed

+16
-0
lines changed

src/syntax/ui/page/problems.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,8 @@
1111
.page-problems .error {
1212
color: #d00;
1313
}
14+
.discovery-root-darkmode .page-problems .missed .view-link,
15+
.discovery-root-darkmode .page-problems .error {
16+
color: #cb6969;
17+
text-decoration-color: #985858;
18+
}

src/syntax/ui/sidebar.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@
3131
background-color: #ff4444;
3232
text-shadow: none;
3333
}
34+
.discovery-root-darkmode .discovery-sidebar .danger-badge {
35+
background-color: #ba3636c2;
36+
}
3437
.discovery-sidebar .view-list-item > .danger-badge {
3538
font-size: 10px;
3639
vertical-align: text-bottom;

src/syntax/ui/view/syntax-tree.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,7 @@
2222
display: inline;
2323
color: #d00;
2424
}
25+
.discovery-root-darkmode .view-syntax-tree .error {
26+
color: #cb6969;
27+
text-decoration-color: #985858;
28+
}

src/syntax/ui/view/syntax.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
.view-syntax .error {
1414
color: #d00 !important;
1515
}
16+
.discovery-root-darkmode .view-syntax .error {
17+
color: #cb6969 !important;
18+
text-decoration-color: #985858;
19+
}
1620
.view-syntax .match {
1721
background: #ffdd1136;
1822
box-shadow: 0 0 0 2px #ffdd1136;

0 commit comments

Comments
 (0)