Skip to content

Commit

Permalink
Merge pull request #68 from terwer/dev
Browse files Browse the repository at this point in the history
fix: 适配 Dark+
  • Loading branch information
terwer committed Nov 3, 2023
2 parents 27302db + 6af0880 commit de5b379
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions scripts/package.py
Expand Up @@ -14,9 +14,9 @@
v = data["version"]

src_folder = dist_folder
tmp_folder_name = "./siyuan-importer"
tmp_folder_name = "./siyuan-plugin-code-block"
build_zip_path = "./build"
build_zip_name = "siyuan-plugin-custom-slug-" + v + ".zip"
build_zip_name = "siyuan-plugin-code-block-" + v + ".zip"

try:
# 压缩dist为zip
Expand Down
4 changes: 2 additions & 2 deletions src/code-block/code-block-dark-plus-plus.styl
Expand Up @@ -23,7 +23,7 @@ html[data-theme-mode="light"][data-light-theme="Dark+"]
margin 0 !important

.protyle-wysiwyg [data-node-id].code-block > .protyle-linenumber__rows
padding-top 8 !important
padding-top 0 !important
margin-top 0 !important

// ===================================================================
Expand Down Expand Up @@ -51,5 +51,5 @@ html[data-theme-mode="dark"][data-dark-theme="Dark+"]
margin 0 !important

.protyle-wysiwyg [data-node-id].code-block > .protyle-linenumber__rows
padding-top 8 !important
padding-top 0 !important
margin-top 0 !important

0 comments on commit de5b379

Please sign in to comment.