Toolkit: support dark in codeblock

This commit is contained in:
asonix 2021-02-01 18:03:59 -06:00
parent f2552c794d
commit c4638cbf63

View file

@ -595,6 +595,7 @@ img {
border: 1px solid $border-light;
border-radius: 3px;
padding-left: 16px;
overflow: hidden;
.toolkit-code--pre {
background-color: $lighter-background;
@ -606,6 +607,16 @@ img {
overflow-x: auto;
}
}
.toolkit-dark .toolkit-code {
background-color: $dark-heading;
color: $dark-text;
border-color: $dark-border;
.toolkit-code--pre {
background-color: $dark-body;
border-left-color: $dark-border;
}
}
.toolkit-indicator {
position: absolute;