2023-09-03 15:03:51 +03:00
|
|
|
/*
|
|
|
|
* The syntax light mode code snippet colors.
|
|
|
|
*/
|
|
|
|
|
|
|
|
@mixin light-syntax {
|
|
|
|
/* --- custom light colors --- */
|
|
|
|
--language-border-color: #ececec;
|
|
|
|
--highlight-bg-color: #f6f8fa;
|
|
|
|
--highlighter-rouge-color: #3f596f;
|
|
|
|
--highlight-lineno-color: #9e9e9e;
|
|
|
|
--inline-code-bg: #f6f6f7;
|
|
|
|
--code-color: #3a3a3a;
|
|
|
|
--code-header-text-color: #a3a3a3;
|
|
|
|
--code-header-muted-color: #e5e5e5;
|
|
|
|
--code-header-icon-color: #c9c8c8;
|
|
|
|
--clipboard-checked-color: #43c743;
|
|
|
|
|
|
|
|
[class^='prompt-'] {
|
|
|
|
--inline-code-bg: #fbfafa;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* --- Syntax highlight theme from `rougify style github` --- */
|
|
|
|
|
|
|
|
.highlight table td {
|
|
|
|
padding: 5px;
|
|
|
|
}
|
2023-09-27 20:21:30 +03:00
|
|
|
|
2023-09-03 15:03:51 +03:00
|
|
|
.highlight table pre {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2023-09-27 20:21:30 +03:00
|
|
|
|
2023-09-03 15:03:51 +03:00
|
|
|
.highlight,
|
|
|
|
.highlight .w {
|
|
|
|
color: #24292f;
|
|
|
|
background-color: #f6f8fa;
|
|
|
|
}
|
2023-09-27 20:21:30 +03:00
|
|
|
|
2023-09-03 15:03:51 +03:00
|
|
|
.highlight .k,
|
|
|
|
.highlight .kd,
|
|
|
|
.highlight .kn,
|
|
|
|
.highlight .kp,
|
|
|
|
.highlight .kr,
|
|
|
|
.highlight .kt,
|
|
|
|
.highlight .kv {
|
|
|
|
color: #cf222e;
|
|
|
|
}
|
2023-09-27 20:21:30 +03:00
|
|
|
|
2023-09-03 15:03:51 +03:00
|
|
|
.highlight .gr {
|
|
|
|
color: #f6f8fa;
|
|
|
|
}
|
2023-09-27 20:21:30 +03:00
|
|
|
|
2023-09-03 15:03:51 +03:00
|
|
|
.highlight .gd {
|
|
|
|
color: #82071e;
|
|
|
|
background-color: #ffebe9;
|
|
|
|
}
|
2023-09-27 20:21:30 +03:00
|
|
|
|
2023-09-03 15:03:51 +03:00
|
|
|
.highlight .nb {
|
|
|
|
color: #953800;
|
|
|
|
}
|
2023-09-27 20:21:30 +03:00
|
|
|
|
2023-09-03 15:03:51 +03:00
|
|
|
.highlight .nc {
|
|
|
|
color: #953800;
|
|
|
|
}
|
2023-09-27 20:21:30 +03:00
|
|
|
|
2023-09-03 15:03:51 +03:00
|
|
|
.highlight .no {
|
|
|
|
color: #953800;
|
|
|
|
}
|
2023-09-27 20:21:30 +03:00
|
|
|
|
2023-09-03 15:03:51 +03:00
|
|
|
.highlight .nn {
|
|
|
|
color: #953800;
|
|
|
|
}
|
2023-09-27 20:21:30 +03:00
|
|
|
|
2023-09-03 15:03:51 +03:00
|
|
|
.highlight .sr {
|
|
|
|
color: #116329;
|
|
|
|
}
|
2023-09-27 20:21:30 +03:00
|
|
|
|
2023-09-03 15:03:51 +03:00
|
|
|
.highlight .na {
|
|
|
|
color: #116329;
|
|
|
|
}
|
2023-09-27 20:21:30 +03:00
|
|
|
|
2023-09-03 15:03:51 +03:00
|
|
|
.highlight .nt {
|
|
|
|
color: #116329;
|
|
|
|
}
|
2023-09-27 20:21:30 +03:00
|
|
|
|
2023-09-03 15:03:51 +03:00
|
|
|
.highlight .gi {
|
|
|
|
color: #116329;
|
|
|
|
background-color: #dafbe1;
|
|
|
|
}
|
2023-09-27 20:21:30 +03:00
|
|
|
|
2023-09-03 15:03:51 +03:00
|
|
|
.highlight .kc {
|
|
|
|
color: #0550ae;
|
|
|
|
}
|
2023-09-27 20:21:30 +03:00
|
|
|
|
2023-09-03 15:03:51 +03:00
|
|
|
.highlight .l,
|
|
|
|
.highlight .ld,
|
|
|
|
.highlight .m,
|
|
|
|
.highlight .mb,
|
|
|
|
.highlight .mf,
|
|
|
|
.highlight .mh,
|
|
|
|
.highlight .mi,
|
|
|
|
.highlight .il,
|
|
|
|
.highlight .mo,
|
|
|
|
.highlight .mx {
|
|
|
|
color: #0550ae;
|
|
|
|
}
|
2023-09-27 20:21:30 +03:00
|
|
|
|
2023-09-03 15:03:51 +03:00
|
|
|
.highlight .sb {
|
|
|
|
color: #0550ae;
|
|
|
|
}
|
2023-09-27 20:21:30 +03:00
|
|
|
|
2023-09-03 15:03:51 +03:00
|
|
|
.highlight .bp {
|
|
|
|
color: #0550ae;
|
|
|
|
}
|
2023-09-27 20:21:30 +03:00
|
|
|
|
2023-09-03 15:03:51 +03:00
|
|
|
.highlight .ne {
|
|
|
|
color: #0550ae;
|
|
|
|
}
|
2023-09-27 20:21:30 +03:00
|
|
|
|
2023-09-03 15:03:51 +03:00
|
|
|
.highlight .nl {
|
|
|
|
color: #0550ae;
|
|
|
|
}
|
2023-09-27 20:21:30 +03:00
|
|
|
|
2023-09-03 15:03:51 +03:00
|
|
|
.highlight .py {
|
|
|
|
color: #0550ae;
|
|
|
|
}
|
2023-09-27 20:21:30 +03:00
|
|
|
|
2023-09-03 15:03:51 +03:00
|
|
|
.highlight .nv,
|
|
|
|
.highlight .vc,
|
|
|
|
.highlight .vg,
|
|
|
|
.highlight .vi,
|
|
|
|
.highlight .vm {
|
|
|
|
color: #0550ae;
|
|
|
|
}
|
2023-09-27 20:21:30 +03:00
|
|
|
|
2023-09-03 15:03:51 +03:00
|
|
|
.highlight .o,
|
|
|
|
.highlight .ow {
|
|
|
|
color: #0550ae;
|
|
|
|
}
|
2023-09-27 20:21:30 +03:00
|
|
|
|
2023-09-03 15:03:51 +03:00
|
|
|
.highlight .gh {
|
|
|
|
color: #0550ae;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2023-09-27 20:21:30 +03:00
|
|
|
|
2023-09-03 15:03:51 +03:00
|
|
|
.highlight .gu {
|
|
|
|
color: #0550ae;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2023-09-27 20:21:30 +03:00
|
|
|
|
2023-09-03 15:03:51 +03:00
|
|
|
.highlight .s,
|
|
|
|
.highlight .sa,
|
|
|
|
.highlight .sc,
|
|
|
|
.highlight .dl,
|
|
|
|
.highlight .sd,
|
|
|
|
.highlight .s2,
|
|
|
|
.highlight .se,
|
|
|
|
.highlight .sh,
|
|
|
|
.highlight .sx,
|
|
|
|
.highlight .s1,
|
|
|
|
.highlight .ss {
|
|
|
|
color: #0a3069;
|
|
|
|
}
|
2023-09-27 20:21:30 +03:00
|
|
|
|
2023-09-03 15:03:51 +03:00
|
|
|
.highlight .nd {
|
|
|
|
color: #8250df;
|
|
|
|
}
|
2023-09-27 20:21:30 +03:00
|
|
|
|
2023-09-03 15:03:51 +03:00
|
|
|
.highlight .nf,
|
|
|
|
.highlight .fm {
|
|
|
|
color: #8250df;
|
|
|
|
}
|
2023-09-27 20:21:30 +03:00
|
|
|
|
2023-09-03 15:03:51 +03:00
|
|
|
.highlight .err {
|
|
|
|
color: #f6f8fa;
|
|
|
|
background-color: #82071e;
|
|
|
|
}
|
2023-09-27 20:21:30 +03:00
|
|
|
|
2023-09-03 15:03:51 +03:00
|
|
|
.highlight .c,
|
|
|
|
.highlight .ch,
|
|
|
|
.highlight .cd,
|
|
|
|
.highlight .cm,
|
|
|
|
.highlight .cp,
|
|
|
|
.highlight .cpf,
|
|
|
|
.highlight .c1,
|
|
|
|
.highlight .cs {
|
|
|
|
color: #68717a;
|
|
|
|
}
|
2023-09-27 20:21:30 +03:00
|
|
|
|
2023-09-03 15:03:51 +03:00
|
|
|
.highlight .gl {
|
|
|
|
color: #68717a;
|
|
|
|
}
|
2023-09-27 20:21:30 +03:00
|
|
|
|
2023-09-03 15:03:51 +03:00
|
|
|
.highlight .gt {
|
|
|
|
color: #68717a;
|
|
|
|
}
|
2023-09-27 20:21:30 +03:00
|
|
|
|
2023-09-03 15:03:51 +03:00
|
|
|
.highlight .ni {
|
|
|
|
color: #24292f;
|
|
|
|
}
|
2023-09-27 20:21:30 +03:00
|
|
|
|
2023-09-03 15:03:51 +03:00
|
|
|
.highlight .si {
|
|
|
|
color: #24292f;
|
|
|
|
}
|
2023-09-27 20:21:30 +03:00
|
|
|
|
2023-09-03 15:03:51 +03:00
|
|
|
.highlight .ge {
|
|
|
|
color: #24292f;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
2023-09-27 20:21:30 +03:00
|
|
|
|
2023-09-03 15:03:51 +03:00
|
|
|
.highlight .gs {
|
|
|
|
color: #24292f;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
} /* light-syntax */
|