feat: merge $admonition-color-map and $admonition-background-color-map

This commit is contained in:
Dillon
2022-05-16 21:57:03 +08:00
parent b79ebc8141
commit 464a602f11
8 changed files with 253 additions and 267 deletions

View File

@@ -88,10 +88,10 @@ code, pre, .highlight table, .highlight tr, .highlight td {
.code-title::after {
padding-left: .2rem;
content: 'Code';
content: "Code";
}
@each $type, $text in $code-type-map {
@each $type, $text in $code-type-list {
&.#{$type} .code-title::after {
content: $text;
}
@@ -171,7 +171,7 @@ code, pre, .highlight table, .highlight tr, .highlight td {
}
.table-wrapper {
max-height: $MAX_LENGTH;
max-height: 10000px;
@include details-transition-close;
}