Skip to content

Commit a6ec019

Browse files
GuillaumeGomezJoshua Nelson
authored and
Joshua Nelson
committed
Improve warnings display
1 parent 7109f40 commit a6ec019

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

templates/style/_themes.scss

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ html {
2020
--color-type: #e57300;
2121
--color-url: #4d76ae;
2222
--color-warn-background: #ffe5cc;
23+
--color-warn-msg: #e57300;
2324
--color-warn-hover: #b25900;
2425
--color-warn: #e57300;
2526
--color-background-input: #fff;
@@ -53,7 +54,8 @@ html[data-theme="dark"] {
5354
--color-struct: #df3600;
5455
--color-type: #e57300;
5556
--color-url: #d2991d;
56-
--color-warn-background: #ffe5cc;
57+
--color-warn-background: #6b3603;
58+
--color-warn-msg: #d8d8d8;
5759
--color-warn-hover: #b25900;
5860
--color-warn: #e57300;
5961
--color-background-input: #f0f0f0;
@@ -84,7 +86,8 @@ html[data-theme="ayu"] {
8486
--color-struct: #df3600;
8587
--color-type: #e57300;
8688
--color-url: #39afd7;
87-
--color-warn-background: #ffe5cc;
89+
--color-warn-background: #804207;
90+
--color-warn-msg: #d8c9b9;
8891
--color-warn-hover: #b25900;
8992
--color-warn: #e57300;
9093
--color-background-input: #141920;

templates/style/_utils.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ div {
2121
@extend .info;
2222

2323
background-color: var(--color-warn-background);
24-
color: var(--color-warn);
24+
color: var(--color-warn-msg);
2525
}
2626
}

0 commit comments

Comments
 (0)