From b8936c92dc5e4a0fd8c11df6462c157dd737a26b Mon Sep 17 00:00:00 2001 From: tianxin Date: Fri, 5 Jul 2024 15:04:48 -0700 Subject: [PATCH 1/2] =?UTF-8?q?tiny-engine=E4=B8=BB=E9=A2=98icon=E5=9B=BE?= =?UTF-8?q?=E6=A0=87=E6=9B=B4=E5=A5=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/design-core/assets/add-folder.svg | 24 ++++++------- packages/design-core/assets/datepick.svg | 23 ++++--------- packages/design-core/assets/desktop-large.svg | 27 ++++++--------- packages/design-core/assets/dragger.svg | 11 ++++-- packages/design-core/assets/fixed.svg | 19 +++++++---- .../design-core/assets/laptop-cut-corner.svg | 27 ++++++--------- packages/design-core/assets/link.svg | 22 ++++-------- .../design-core/assets/mobile-landscape.svg | 30 ++++------------ .../design-core/assets/mobile-portrai.svg | 25 ++++++-------- packages/design-core/assets/new-page.svg | 25 +++++++------- packages/design-core/assets/numeric.svg | 9 ++++- .../design-core/assets/plugin-icon-data.svg | 21 ++++-------- .../design-core/assets/plugin-icon-i18n.svg | 12 +++++++ .../design-core/assets/plugin-icon-js.svg | 22 ++++-------- .../assets/plugin-icon-materials.svg | 22 ++++-------- .../assets/plugin-icon-page-schema.svg | 20 ++++------- .../design-core/assets/plugin-icon-page.svg | 25 ++++++-------- .../assets/plugin-icon-plugin-help.svg | 26 ++++++-------- .../assets/plugin-icon-sresources.svg | 23 ++++++------- .../design-core/assets/plugin-icon-symbol.svg | 23 ++++++------- .../design-core/assets/plugin-icon-tree.svg | 18 ++++------ .../design-core/assets/plugin-icon-var.svg | 34 ++++++------------- packages/design-core/assets/switch.svg | 18 ++++------ .../design-core/assets/tablet-portrait.svg | 24 ++++--------- packages/design-core/assets/text.svg | 15 ++++---- packages/layout/src/DesignPlugins.vue | 16 ++++----- packages/plugins/i18n/meta.js | 4 +-- packages/plugins/robot/assets/AI.svg | 13 +++++++ packages/plugins/robot/src/Main.vue | 6 ++-- packages/toolbars/media/src/Main.vue | 10 +++--- 30 files changed, 257 insertions(+), 337 deletions(-) create mode 100644 packages/design-core/assets/plugin-icon-i18n.svg create mode 100644 packages/plugins/robot/assets/AI.svg diff --git a/packages/design-core/assets/add-folder.svg b/packages/design-core/assets/add-folder.svg index a357eb3773..b28e6b31f4 100644 --- a/packages/design-core/assets/add-folder.svg +++ b/packages/design-core/assets/add-folder.svg @@ -1,12 +1,12 @@ - - - 类型/新建文件夹 - - - - - - - - - \ No newline at end of file + + + Created with Pixso. + + + + + + + + + diff --git a/packages/design-core/assets/datepick.svg b/packages/design-core/assets/datepick.svg index 677b860d15..886ef82df7 100644 --- a/packages/design-core/assets/datepick.svg +++ b/packages/design-core/assets/datepick.svg @@ -1,17 +1,8 @@ - - - - - - - + + + Created with Pixso. + + + + diff --git a/packages/design-core/assets/desktop-large.svg b/packages/design-core/assets/desktop-large.svg index 51690b61ad..f3d0099008 100644 --- a/packages/design-core/assets/desktop-large.svg +++ b/packages/design-core/assets/desktop-large.svg @@ -1,19 +1,12 @@ - - - - - - - - + + + Created with Pixso. + + + + + + + - diff --git a/packages/design-core/assets/dragger.svg b/packages/design-core/assets/dragger.svg index ed906cae43..287ced4828 100644 --- a/packages/design-core/assets/dragger.svg +++ b/packages/design-core/assets/dragger.svg @@ -1,3 +1,8 @@ - \ No newline at end of file + + + Created with Pixso. + + + + + diff --git a/packages/design-core/assets/fixed.svg b/packages/design-core/assets/fixed.svg index d7c8ce65a4..7690bab3b4 100644 --- a/packages/design-core/assets/fixed.svg +++ b/packages/design-core/assets/fixed.svg @@ -1,7 +1,12 @@ - - - 操作/未固定 - - - - \ No newline at end of file + + + Created with Pixso. + + + + + + + + + diff --git a/packages/design-core/assets/laptop-cut-corner.svg b/packages/design-core/assets/laptop-cut-corner.svg index 3b49fe0034..2bb845690a 100644 --- a/packages/design-core/assets/laptop-cut-corner.svg +++ b/packages/design-core/assets/laptop-cut-corner.svg @@ -1,17 +1,12 @@ - - - - - - - - - - + + + Created with Pixso. + + + + + + + + diff --git a/packages/design-core/assets/link.svg b/packages/design-core/assets/link.svg index 85f8219ab1..2021e607b6 100644 --- a/packages/design-core/assets/link.svg +++ b/packages/design-core/assets/link.svg @@ -1,16 +1,8 @@ - - - - - - + + + Created with Pixso. + + + + diff --git a/packages/design-core/assets/mobile-landscape.svg b/packages/design-core/assets/mobile-landscape.svg index 50786bdae3..438c610d85 100644 --- a/packages/design-core/assets/mobile-landscape.svg +++ b/packages/design-core/assets/mobile-landscape.svg @@ -1,24 +1,8 @@ - - - - - - - - - - + + + Created with Pixso. + + + + diff --git a/packages/design-core/assets/mobile-portrai.svg b/packages/design-core/assets/mobile-portrai.svg index 7b0a1dd2a8..44af9991e1 100644 --- a/packages/design-core/assets/mobile-portrai.svg +++ b/packages/design-core/assets/mobile-portrai.svg @@ -1,15 +1,12 @@ - - - - - - - - - + + + Created with Pixso. + + + + + + + + diff --git a/packages/design-core/assets/new-page.svg b/packages/design-core/assets/new-page.svg index ef15cddb9a..f698db36e3 100644 --- a/packages/design-core/assets/new-page.svg +++ b/packages/design-core/assets/new-page.svg @@ -1,13 +1,12 @@ - - - 操作/定位到面板 - - - - - - - - - - \ No newline at end of file + + + Created with Pixso. + + + + + + + + + diff --git a/packages/design-core/assets/numeric.svg b/packages/design-core/assets/numeric.svg index 4fc04e75e5..a87f0669b8 100644 --- a/packages/design-core/assets/numeric.svg +++ b/packages/design-core/assets/numeric.svg @@ -1 +1,8 @@ - \ No newline at end of file + + + Created with Pixso. + + + + + diff --git a/packages/design-core/assets/plugin-icon-data.svg b/packages/design-core/assets/plugin-icon-data.svg index f0f7a87157..b4db18a598 100644 --- a/packages/design-core/assets/plugin-icon-data.svg +++ b/packages/design-core/assets/plugin-icon-data.svg @@ -1,15 +1,8 @@ - - - - - + + + Created with Pixso. + + + + diff --git a/packages/design-core/assets/plugin-icon-i18n.svg b/packages/design-core/assets/plugin-icon-i18n.svg new file mode 100644 index 0000000000..91b2733000 --- /dev/null +++ b/packages/design-core/assets/plugin-icon-i18n.svg @@ -0,0 +1,12 @@ + + + Created with Pixso. + + + + + + + + + diff --git a/packages/design-core/assets/plugin-icon-js.svg b/packages/design-core/assets/plugin-icon-js.svg index f912d107a6..568ff176ff 100644 --- a/packages/design-core/assets/plugin-icon-js.svg +++ b/packages/design-core/assets/plugin-icon-js.svg @@ -1,16 +1,8 @@ - - - - - - - + + + Created with Pixso. + + + + diff --git a/packages/design-core/assets/plugin-icon-materials.svg b/packages/design-core/assets/plugin-icon-materials.svg index 31240724bb..2a7c39b1a3 100644 --- a/packages/design-core/assets/plugin-icon-materials.svg +++ b/packages/design-core/assets/plugin-icon-materials.svg @@ -1,16 +1,8 @@ - - - - - - - - + + + Created with Pixso. + + + + diff --git a/packages/design-core/assets/plugin-icon-page-schema.svg b/packages/design-core/assets/plugin-icon-page-schema.svg index f64793b0ee..f0f1f67f17 100644 --- a/packages/design-core/assets/plugin-icon-page-schema.svg +++ b/packages/design-core/assets/plugin-icon-page-schema.svg @@ -1,14 +1,8 @@ - - - - - + + + Created with Pixso. + + + + diff --git a/packages/design-core/assets/plugin-icon-page.svg b/packages/design-core/assets/plugin-icon-page.svg index 41aaeccc22..4540bec785 100644 --- a/packages/design-core/assets/plugin-icon-page.svg +++ b/packages/design-core/assets/plugin-icon-page.svg @@ -1,15 +1,12 @@ - - - - - - - - + + + Created with Pixso. + + + + + + + + diff --git a/packages/design-core/assets/plugin-icon-plugin-help.svg b/packages/design-core/assets/plugin-icon-plugin-help.svg index d5a5e9c667..cde2412772 100644 --- a/packages/design-core/assets/plugin-icon-plugin-help.svg +++ b/packages/design-core/assets/plugin-icon-plugin-help.svg @@ -1,16 +1,12 @@ - - - - - - - - - + + + Created with Pixso. + + + + + + + + diff --git a/packages/design-core/assets/plugin-icon-sresources.svg b/packages/design-core/assets/plugin-icon-sresources.svg index 94786d6364..d968b89a26 100644 --- a/packages/design-core/assets/plugin-icon-sresources.svg +++ b/packages/design-core/assets/plugin-icon-sresources.svg @@ -1,13 +1,12 @@ - - - - - - - + + + Created with Pixso. + + + + + + + + diff --git a/packages/design-core/assets/plugin-icon-symbol.svg b/packages/design-core/assets/plugin-icon-symbol.svg index 495d60df13..c5227a73aa 100644 --- a/packages/design-core/assets/plugin-icon-symbol.svg +++ b/packages/design-core/assets/plugin-icon-symbol.svg @@ -1,13 +1,12 @@ - - - - - + + + Created with Pixso. + + + + + + + + diff --git a/packages/design-core/assets/plugin-icon-tree.svg b/packages/design-core/assets/plugin-icon-tree.svg index b37d62cb66..14125e6544 100644 --- a/packages/design-core/assets/plugin-icon-tree.svg +++ b/packages/design-core/assets/plugin-icon-tree.svg @@ -1,12 +1,8 @@ - - - - + + + Created with Pixso. + + + + diff --git a/packages/design-core/assets/plugin-icon-var.svg b/packages/design-core/assets/plugin-icon-var.svg index 18c15a6207..2a1bd2dd71 100644 --- a/packages/design-core/assets/plugin-icon-var.svg +++ b/packages/design-core/assets/plugin-icon-var.svg @@ -1,25 +1,11 @@ - - - - - - - - - - + + + Created with Pixso. + + + + + + + diff --git a/packages/design-core/assets/switch.svg b/packages/design-core/assets/switch.svg index d976f58742..fe3c3002c3 100644 --- a/packages/design-core/assets/switch.svg +++ b/packages/design-core/assets/switch.svg @@ -1,12 +1,8 @@ - - - - - - + + + Created with Pixso. + + + + diff --git a/packages/design-core/assets/tablet-portrait.svg b/packages/design-core/assets/tablet-portrait.svg index 52fafc312d..2d843f7654 100644 --- a/packages/design-core/assets/tablet-portrait.svg +++ b/packages/design-core/assets/tablet-portrait.svg @@ -1,18 +1,8 @@ - - - - - - - - - - + + + Created with Pixso. + + + + diff --git a/packages/design-core/assets/text.svg b/packages/design-core/assets/text.svg index 2ded44c827..11c81c627b 100644 --- a/packages/design-core/assets/text.svg +++ b/packages/design-core/assets/text.svg @@ -1,9 +1,8 @@ - - - + + + Created with Pixso. + + + + diff --git a/packages/layout/src/DesignPlugins.vue b/packages/layout/src/DesignPlugins.vue index 70a6c08d00..a43bf403c1 100644 --- a/packages/layout/src/DesignPlugins.vue +++ b/packages/layout/src/DesignPlugins.vue @@ -241,7 +241,7 @@ export default { &.bottom { flex: 1; - padding-bottom: 36px; + padding-bottom: 20px; } .list-item { @@ -249,7 +249,7 @@ export default { padding: 3px 0; &:first-child { - padding-top: 16px; + padding-top: 12px; } cursor: pointer; @@ -261,7 +261,7 @@ export default { &.active { .item-icon { background: var(--ti-lowcode-left-panel-active-bg); - border-radius: 6px; + border-radius: 4px; } } @@ -284,21 +284,21 @@ export default { align-items: center; color: var(--ti-lowcode-design-plugin-color); font-size: 22px; - width: 32px; - height: 32px; + width: 26px; + height: 26px; svg { - font-size: 22px; + font-size: 18px; } } } } :deep(.panel-svg) { - font-size: 22px; + font-size: 18px; } :deep(.svg-icon.icon-plugin-icon-plugin-help) { - font-size: 22px; + font-size: 18px; } diff --git a/packages/plugins/i18n/meta.js b/packages/plugins/i18n/meta.js index 77137109f9..48221b3312 100644 --- a/packages/plugins/i18n/meta.js +++ b/packages/plugins/i18n/meta.js @@ -1,9 +1,7 @@ -import { iconLanguage } from '@opentiny/vue-icon' - export default { id: 'engine.plugins.i18n', title: '国际化', type: 'plugins', align: 'top', - icon: iconLanguage() + icon: 'plugin-icon-i18n' } diff --git a/packages/plugins/robot/assets/AI.svg b/packages/plugins/robot/assets/AI.svg new file mode 100644 index 0000000000..7aa81dc9c8 --- /dev/null +++ b/packages/plugins/robot/assets/AI.svg @@ -0,0 +1,13 @@ + + + Created with Pixso. + + + + + + + + + + diff --git a/packages/plugins/robot/src/Main.vue b/packages/plugins/robot/src/Main.vue index fdd3a51504..e65f65a866 100644 --- a/packages/plugins/robot/src/Main.vue +++ b/packages/plugins/robot/src/Main.vue @@ -1,7 +1,7 @@
- +
@@ -388,8 +388,8 @@ export default { display: flex; justify-content: center; align-items: center; - width: 32px; - height: 32px; + width: 26px; + height: 26px; .chatgpt-icon { width: 18px; height: 18px; diff --git a/packages/toolbars/media/src/Main.vue b/packages/toolbars/media/src/Main.vue index bda04b5daf..94fc1850f3 100644 --- a/packages/toolbars/media/src/Main.vue +++ b/packages/toolbars/media/src/Main.vue @@ -442,19 +442,19 @@ export default { gap: 6px; .icon { - width: 32px; - height: 32px; + width: 24px; + height: 24px; display: inline-flex; justify-content: center; align-items: center; - border-radius: 6px; + border-radius: 4px; svg { cursor: pointer; color: var(--ti-lowcode-toolbar-title-color); outline: none; - width: 22px; - height: 22px; + width: 18px; + height: 18px; margin-top: -0.5px; } From 47f4e021777befd958c48952dc527e176a6f17fb Mon Sep 17 00:00:00 2001 From: tianxin Date: Fri, 5 Jul 2024 16:50:36 -0700 Subject: [PATCH 2/2] =?UTF-8?q?tiny-engine=E4=B8=BB=E9=A2=98icon=E5=9B=BE?= =?UTF-8?q?=E6=A0=87=E6=9B=B4=E5=A5=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/design-core/assets/add-folder.svg | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/design-core/assets/add-folder.svg b/packages/design-core/assets/add-folder.svg index b28e6b31f4..87a99124fd 100644 --- a/packages/design-core/assets/add-folder.svg +++ b/packages/design-core/assets/add-folder.svg @@ -1,10 +1,7 @@ - - Created with Pixso. - - +