Skip to content

Commit

Permalink
Merge pull request #406 from qishibo/key_list
Browse files Browse the repository at this point in the history
key count color
  • Loading branch information
qishibo authored Dec 30, 2020
2 parents 7f5f14e + 0ae0668 commit 9ee5b0d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/components/KeyListTree.vue
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export default {

// show key count
if (treeNode.children) {
icoObj.after(`<span>(${treeNode.keyCount}) </span>`)
icoObj.after(`<span class='key-list-count'>(${treeNode.keyCount}) </span>`)
}

// folder indent
Expand Down Expand Up @@ -175,4 +175,11 @@ export default {
.dark-mode .ztree li span.button::before {
color: #9ea4a9;
}

.ztree .key-list-count {
color: #848a90;
}
.dark-mode .ztree .key-list-count {
color: #a3a6ad;
}
</style>

0 comments on commit 9ee5b0d

Please sign in to comment.