Switch blue to code block orange in sanic docs. Add sanic highlight override. Add darker sanic background (111) as option but in the comments so we can switch back if need be.

This commit is contained in:
SML 2023-02-09 16:49:16 +08:00
parent 8f305047c0
commit 26e999dec0
2 changed files with 8 additions and 7 deletions

View File

@ -19,18 +19,19 @@
@media (prefers-color-scheme: dark) {
:root {
--sanic: #ff0d68;
--sanic-blue: #38bdf8;
--sanic-blue: #f08d49;
--sanic-yellow: #ffde41;
--sanic-purple: #b19bf8;
--sanic-green: #37d971;
--sanic-background: #222;
--sanic-purple: #cc99cd;
--sanic-green: #7ec699;
--sanic-background: #2d2d2d;
/*--sanic-background: #111;*/
--sanic-text: #e7e7e7;
--sanic-tab-background: #484848;
--sanic-tab-text: #e1e1e1;
--sanic-tab-shadow: #000;
--sanic-highlight-background: var(--sanic-yellow);
--sanic-highlight-text: #000;
--sanic-header-background: var(--sanic);
--sanic-header-background: #000;
}
}

View File

@ -51,8 +51,8 @@ summary {
}
.tracerite .traceback-details mark span {
background: var(--sanic-highlight-background);
color: var(--sanic-highlight-text);
background: var(--sanic-highlight-background) !important;
color: var(--sanic-highlight-text) !important;
}
header {