Toolkit: support dark in codeblock
This commit is contained in:
parent
f2552c794d
commit
c4638cbf63
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue