css: define new slightly-lighter color for code/pre elements

This commit is contained in:
John Bowdre 2024-01-15 15:14:08 -06:00
parent c11b975fba
commit 39ff4c2b66
2 changed files with 14 additions and 1 deletions

View file

@ -1,3 +1,8 @@
/* color overrides */
:root {
--code: var(--base06);
}
/* override page max-width */
.page {
max-width: 72rem;
@ -203,4 +208,12 @@ ul.pagination li {
small[style^="opacity: .5"] {
opacity: 1 !important;
}
/* code overrides */
pre,
code,
kbd,
samp {
color: var(--code);
}

View file

@ -8,7 +8,7 @@
--base03: #585858; /* muted */
--base04: #abaaaa; /* off-fg */
--base05: #d8d8d8; /* fg */
--base06: #e8e8e8;
--base06: #cfcfcf; /* code */
--base07: #5f8700; /* user prompt */
--base08: #ab4642; /* root prompt */
--base09: #dc9656;