Skip to content

Commit 3cb23d0

Browse files
committed
[IMP] force colors of configurations page to ensure visibility
Integrate background color to configuration pages as some html rendering (pycharm) do not include fixed color by default, so the text can be unreadable
1 parent b7ffe44 commit 3cb23d0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

server/src/core/config.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,10 @@ impl ConfigFile {
285285

286286
let mut html = String::from(
287287
r#"<style>
288+
body {
289+
background: #1F1F1F;
290+
color: #d6d6d6ff;
291+
}
288292
.toml-table {
289293
font-family: monospace;
290294
width: 100%;
@@ -321,6 +325,9 @@ impl ConfigFile {
321325
text-decoration: none;
322326
font-weight: bold;
323327
}
328+
a:visited {
329+
color: #2d5fa4 !important; /* visited links same as normal */
330+
}
324331
</style>
325332
<a class="config-wiki-link" href=""#);
326333
html.push_str(CONFIG_WIKI_URL);

0 commit comments

Comments
 (0)