浏览代码

chore: update icon font

Konstantinos Kaloutas 3 年之前
父节点
当前提交
debf0e8054
共有 3 个文件被更改,包括 29 次插入30 次删除
  1. 27 28
      resources/css/tabler-extension.css
  2. 二进制
      resources/fonts/tabler-icons-extension.woff2
  3. 2 2
      src/main/frontend/components/search.cljs

+ 27 - 28
resources/css/tabler-extension.css

@@ -6,7 +6,7 @@
  *  - update the tie-xxx css rules
  */
 
-@font-face {
+ @font-face {
   font-family: 'tabler-icons-extension';
   src: url('../fonts/tabler-icons-extension.woff2?6rsxel') format('woff2');
   font-style: normal;
@@ -29,57 +29,56 @@
 }
 
 .tie-app-feature::before {
-  content: '\ea01';
+  content: "\ea01";
 }
-
 .tie-block::before {
-  content: '\ea02';
+  content: "\ea02";
 }
-
 .tie-block-search::before {
-  content: '\ea03';
+  content: "\ea03";
 }
-
 .tie-connector::before {
-  content: '\ea04';
+  content: "\ea04";
+}
+.tie-new-block::before {
+  content: "\ea05";
+}
+.tie-new-page::before {
+  content: "\ea06";
+}
+.tie-new-whiteboard::before {
+  content: "\ea07";
+}
+.tie-new-whiteboard-element::before {
+  content: "\ea08";
 }
-
 .tie-object-compact::before {
-  content: '\ea05';
+  content: "\ea09";
 }
-
 .tie-object-expanded::before {
-  content: '\ea06';
+  content: "\ea0a";
 }
-
 .tie-page::before {
-  content: '\ea07';
+  content: "\ea0b";
 }
-
 .tie-page-search::before {
-  content: '\ea08';
+  content: "\ea0c";
 }
-
 .tie-references-hide::before {
-  content: '\ea09';
+  content: "\ea0d";
 }
-
 .tie-references-show::before {
-  content: '\ea0a';
+  content: "\ea0e";
 }
-
 .tie-select-cursor::before {
-  content: '\ea0b';
+  content: "\ea0f";
 }
-
 .tie-text::before {
-  content: '\ea0c';
+  content: "\ea10";
 }
-
 .tie-whiteboard::before {
-  content: '\ea0d';
+  content: "\ea11";
 }
-
 .tie-whiteboard-element::before {
-  content: '\ea0e';
+  content: "\ea12";
 }

二进制
resources/fonts/tabler-icons-extension.woff2


+ 2 - 2
src/main/frontend/components/search.cljs

@@ -192,9 +192,9 @@
   (state/close-modal!))
 
 (defn- create-item-render
-  [type label name]
+  [icon label name]
   (search-result-item
-   {:icon type
+   {:icon icon
     :class "highlight"
     :content [:div.text.font-bold (str label ": ")
               [:span.ml-1 name]]}))