scss: fix code color

This commit is contained in:
axolotle 2022-10-21 13:43:28 +02:00
parent 7c7ab64e15
commit afe01820e5
2 changed files with 12 additions and 0 deletions

View file

@ -66,6 +66,8 @@ $alert-color-level: 5;
$list-group-item-bg-level: -11;
$list-group-item-color-level: 6;
$code-color: var(--code-color);
// Replace font-weight 300 with 200
$font-weight-light: 200;
$display1-weight: 200;

View file

@ -85,6 +85,8 @@
@include hsl-color('gray-800', 210, 10%, 23%);
@include hsl-color('gray-900', 210, 11%, 15%);
--code-color: var(--pink);
// Overwrite list-group-item variants to lighter ones (used in diagnosis for example)
@each $color, $value in $theme-colors {
@include list-group-item-variant($color, theme-color-level($color, $list-group-item-bg-level), theme-color-level($color, $list-group-item-color-level));
@ -114,6 +116,8 @@
@include hsl-color('gray-200', 210, 10%, 23%);
@include hsl-color('gray-100', 210, 11%, 15%);
--code-color: var(--gray-800);
// Overwrite list-group-item variants to lighter ones (used in diagnosis for example)
@each $color, $value in $theme-colors {
@include list-group-item-variant($color, theme-color-level($color, -6), theme-color-level($color, 2));
@ -287,6 +291,12 @@ h3.card-title {
code {
background: $light;
padding: .15rem .25rem;
border-radius: $border-radius;
}
pre code {
padding: 0;
}
.log {