浏览代码

enhance(ui): add more tabler extension icons

charlie 1 年之前
父节点
当前提交
fdf7a2cf50
共有 3 个文件被更改,包括 6 次插入2 次删除
  1. 0 0
      resources/js/tabler.ext.js
  2. 2 2
      src/main/frontend/commands.cljs
  3. 4 0
      src/main/frontend/components/editor.css

文件差异内容过多而无法显示
+ 0 - 0
resources/js/tabler.ext.js


+ 2 - 2
src/main/frontend/commands.cljs

@@ -280,11 +280,11 @@
         "Create a backlink to a page"
         "Create a backlink to a page"
         :icon/pageRef
         :icon/pageRef
         "BASIC"]
         "BASIC"]
-       ["Page embed" (embed-page) "Embed a page here" :icon/xEmbed]
+       ["Page embed" (embed-page) "Embed a page here" :icon/pageEmbed]
        ["Block reference" [[:editor/input block-ref/left-and-right-parens {:backward-pos 2}]
        ["Block reference" [[:editor/input block-ref/left-and-right-parens {:backward-pos 2}]
                            [:editor/search-block :reference]]
                            [:editor/search-block :reference]]
         "Create a backlink to a block" :icon/blockRef]
         "Create a backlink to a block" :icon/blockRef]
-       ["Block embed" (embed-block) "Embed a block here" :icon/xEmbed]]
+       ["Block embed" (embed-block) "Embed a block here" :icon/blockEmbed]]
 
 
         ;; format
         ;; format
       [["Link" (link-steps) "Create a HTTP link" :icon/link "FORMAT"]
       [["Link" (link-steps) "Create a HTTP link" :icon/link "FORMAT"]

+ 4 - 0
src/main/frontend/components/editor.css

@@ -117,6 +117,10 @@ pre {
 .cp__commands-slash {
 .cp__commands-slash {
   .ui__icon {
   .ui__icon {
     @apply opacity-80;
     @apply opacity-80;
+
+    &.ls-icon-queryCode {
+      @apply relative left-[1px];
+    }
   }
   }
 
 
   .menu-link {
   .menu-link {

部分文件因为文件数量过多而无法显示